alerts: Remove unused .alert-msg elements.

This commit is contained in:
Karl Stolley
2023-08-01 13:02:31 -05:00
committed by Tim Abbott
parent 0c9aec24fd
commit d73ae26e4b
4 changed files with 0 additions and 26 deletions

View File

@@ -409,10 +409,6 @@
color: inherit !important; color: inherit !important;
} }
.private-message .alert-msg {
background-color: hsl(208deg 17% 29%);
}
.active_private_messages_section { .active_private_messages_section {
#private_messages_section, #private_messages_section,
#private_messages_list, #private_messages_list,

View File

@@ -243,12 +243,6 @@ $time_column_min_width: 50px; /* + padding */
margin-top: $distance_of_non_text_elements_from_message_box; margin-top: $distance_of_non_text_elements_from_message_box;
} }
.alert-msg {
/* Span both the controls and time columns */
grid-row: controls-start;
grid-column: controls-start / time-end;
}
.message_length_controller { .message_length_controller {
grid-area: more; grid-area: more;
} }

View File

@@ -1161,16 +1161,6 @@ td.pointer {
animation: rotate 1s infinite linear; animation: rotate 1s infinite linear;
} }
/* The way this overrides the menus with a background-color and a high
z-index is kinda hacky, and requires some annoying color-matching,
but it works. */
.alert-msg {
color: hsl(170deg 48% 54%);
z-index: 999;
font-weight: 400;
display: none;
}
.status-time { .status-time {
top: 8px !important; top: 8px !important;
} }
@@ -1583,10 +1573,6 @@ td.pointer {
.message_row.private-message { .message_row.private-message {
background-color: var(--color-background-private-message-content); background-color: var(--color-background-private-message-content);
.alert-msg {
background-color: hsl(192deg 20% 95%);
}
.date_row { .date_row {
background-color: var(--color-background-private-message-content); background-color: var(--color-background-private-message-content);
} }

View File

@@ -26,8 +26,6 @@
{{/if}} {{/if}}
</span> </span>
<span class="alert-msg"></span>
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message_time{{#if status_message}} status-time{{/if}}"> <a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message_time{{#if status_message}} status-time{{/if}}">
{{#unless include_sender}} {{#unless include_sender}}
<span class="copy-paste-text">&nbsp;</span> <span class="copy-paste-text">&nbsp;</span>