Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

alerts: Remove unused .alert-msg elements.

Karl Stolleyd73ae26e4bc7
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 85f3e9b7a8c..9675d5df918 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -409,10 +409,6 @@
color: inherit !important;
}
- .private-message .alert-msg {
- background-color: hsl(208deg 17% 29%);
- }
-
.active_private_messages_section {
#private_messages_section,
#private_messages_list,
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index bfaf3c8db56..ce8598c95c7 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -243,12 +243,6 @@ $time_column_min_width: 50px; /* + padding */
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 {
grid-area: more;
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 0430f088394..df4dca8b46e 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1161,16 +1161,6 @@ td.pointer {
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 {
top: 8px !important;
}
@@ -1583,10 +1573,6 @@ td.pointer {
.message_row.private-message {
background-color: var(--color-background-private-message-content);
- .alert-msg {
- background-color: hsl(192deg 20% 95%);
- }
-
.date_row {
background-color: var(--color-background-private-message-content);
}
diff --git a/web/templates/message_body.hbs b/web/templates/message_body.hbs
index ba7c64af35c..1ecfd736359 100644
--- a/web/templates/message_body.hbs
+++ b/web/templates/message_body.hbs
@@ -26,8 +26,6 @@
{{/if}}
</span>
-<span class="alert-msg"></span>
-
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message_time{{#if status_message}} status-time{{/if}}">
{{#unless include_sender}}
<span class="copy-paste-text">&nbsp;</span>