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.

message_row: Combine bookend related CSS in zulip.css.

Sayam Samal377cc2a9d943
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index efcbd412963..fbc726f6b31 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1418,6 +1418,24 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
.bookend {
padding-bottom: 10px;
text-align: center;
+
+ .stream-status {
+ opacity: 0.6;
+
+ & i {
+ font-size: 0.7143em; /* 10px at 14px / em */
+ /* TODO: Don't use relative positioning here. */
+ position: relative;
+ top: 0.1em; /* 1px at 10px / em */
+ margin-left: 0.2em; /* 2px at 10px / em */
+ }
+
+ .zulip-icon.zulip-icon-lock {
+ font-size: 0.8571em; /* 12px at 14px / em */
+ top: 0.0833em; /* 1px at 12px / em */
+ margin-left: 0.1667em; /* 2px at 12px / em */
+ }
+ }
}
.bookend-label {
@@ -1425,23 +1443,15 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
display: block;
padding: 4px;
overflow: hidden;
-}
-
-.bookend .stream-status {
- opacity: 0.6;
- & i {
- font-size: 0.7143em; /* 10px at 14px / em */
- /* TODO: Don't use relative positioning here. */
- position: relative;
- top: 0.1em; /* 1px at 10px / em */
- margin-left: 0.2em; /* 2px at 10px / em */
+ &::before,
+ &::after {
+ width: 50%;
}
- .zulip-icon.zulip-icon-lock {
- font-size: 0.8571em; /* 12px at 14px / em */
- top: 0.0833em; /* 1px at 12px / em */
- margin-left: 0.1667em; /* 2px at 12px / em */
+ &::after {
+ left: 0.25em;
+ margin-right: -50%;
}
}
@@ -1458,11 +1468,6 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
border-bottom: 1px solid hsl(0deg 0% 0%);
}
-.bookend-label::before,
-.bookend-label::after {
- width: 50%;
-}
-
.date_row .timerender-content::before {
width: 100%;
}
@@ -1480,11 +1485,6 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {
margin-left: -50%;
}
-.bookend-label::after {
- left: 0.25em;
- margin-right: -50%;
-}
-
.screen {
position: absolute;
left: 0;