Skip to content

Commit

Permalink
Merge pull request #126 from Fluffy-Frontier/upstream-mirror-24413
Browse files Browse the repository at this point in the history
[TG Mirror] Announcement CSS hotfix [NO GBP] [MDB IGNORE]
  • Loading branch information
AnywayFarus authored Oct 18, 2023
2 parents f14a33d + ef32de7 commit 7555c80
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions code/__HELPERS/priority_announce.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
else if(SSstation.announcer.event_sounds[sound])
sound = SSstation.announcer.event_sounds[sound]

announcement += "<br><br>"
announcement += "<br>"

if(type == "Priority")
announcement += "[span_priorityannounce("<u>Priority Announcement</u>")]"
Expand Down Expand Up @@ -69,7 +69,7 @@
else
announcement += "[span_priorityalert("<br>[text]<br>")]"

announcement += "<br><br>"
announcement += "<br>"

if(!players)
players = GLOB.player_list
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/shuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ SUBSYSTEM_DEF(shuttle)

call_reason = trim(html_encode(call_reason))

var/emergency_reason = "\nNature of emergency:\n\n[call_reason]"
var/emergency_reason = "\n\nNature of emergency:\n[call_reason]"

emergency.request(
signal_origin = signal_origin,
Expand Down
7 changes: 1 addition & 6 deletions tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -440,33 +440,28 @@ em {
color: #c51e1e;
font-weight: bold;
font-size: 185%;
margin-top: 1rem;
}

.minoralert {
color: #a4bad6;
font-size: 125%;
margin-top: 1rem;
}

.priorityannounce {
color: #a4bad6;
font-weight: bold;
font-size: 225%;
margin-top: 1rem;
}

.prioritytitle {
color: #9ab0ff;
color: #6685f5;
font-weight: bold;
font-size: 185%;
margin-top: 1rem;
}

.priorityalert {
color: #c51e1e;
font-size: 140%;
margin-top: 1rem;
}

.greenannounce {
Expand Down
8 changes: 7 additions & 1 deletion tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,13 @@ h2.alert {
.priorityannounce {
color: #000000;
font-weight: bold;
font-size: 210%;
font-size: 225%;
}

.prioritytitle {
color: #0000ff;
font-weight: bold;
font-size: 185%;
}

.priorityalert {
Expand Down

0 comments on commit 7555c80

Please sign in to comment.