Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: Add grouping border to channel and topics.
Karl Stolley2374c8a8c021
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex bdb35b0f9a8..c61bdfafc71 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -546,6 +546,7 @@--color-background-modal: hsl(0deg 0% 98%);--color-background-invitee-emails-pill-container: hsl(0deg 0% 100%);--color-unmuted-or-followed-topic-list-item: hsl(0deg 0% 20%);+ --color-topic-indent-border: hsl(0deg 0% 0% / 19%);--color-outline-focus: hsl(215deg 47% 50%);--color-background-search: hsl(0deg 0% 100%);--color-background-search-option-hover: hsl(0deg 0% 94%);@@ -952,6 +953,7 @@--color-background-invitee-emails-pill-container: hsl(0deg 0% 0% / 20%);--color-unmuted-or-followed-topic-list-item: hsl(236deg 33% 90%);--color-recipient-bar-controls-spinner: hsl(0deg 0% 100%);+ --color-topic-indent-border: hsl(0deg 0% 100% / 19%);--color-background-search: hsl(0deg 0% 20%);--color-background-search-option-hover: hsl(0deg 0% 30%);--color-search-box-hover-shadow: hsl(0deg 0% 0% / 30%);diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.cssindex dfcc42bc302..dfeb620b416 100644--- a/web/styles/left_sidebar.css+++ b/web/styles/left_sidebar.css@@ -891,7 +891,6 @@ li.top_left_scheduled_messages {.topic-box,.searching-for-more-topics {- margin-left: var(--left-sidebar-toggle-width-offset);grid-template-columns:0 var(--left-sidebar-icon-column-width) var(--left-sidebar-icon-content-gap@@ -900,6 +899,11 @@ li.top_left_scheduled_messages {30px 0;}+.searching-for-more-topics {+ margin-left: var(--left-sidebar-toggle-width-offset);+ height: var(--line-height-sidebar-row-prominent);+}+.topic_search_section {grid-template-columns:var(--left-sidebar-toggle-width-offset) 0 0 minmax(0, 1fr) minmax(@@ -1083,9 +1087,46 @@ ul.topic-list {font-weight: normal;}+ul.topic-list::before {+ content: " ";+ display: block;+ position: absolute;+ /* 12px at 16px/1em */+ top: 0.75em;+ bottom: 0.75em;+ left: 9px;+ border: 1px solid var(--color-topic-indent-border);+ border-right: 0;+ border-radius: 9px 0 0 9px;+ width: 6px;+ pointer-events: none;+}++ul.topic-list::after {+ content: " ";+ display: block;+ position: absolute;+ /* -14px at 16px/1em */+ top: -0.875em;+ /* 12px at 16px/1em */+ bottom: 0.75em;+ left: 16px;+ width: 8px;+ border-bottom: 1px solid var(--color-topic-indent-border);+ pointer-events: none;+}++/* The grouping border should not be shown+ on zoomed-in views. */+.zoom-in .topic-list::before,+.zoom-in .topic-list::after {+ border: 0;+}+li.topic-list-item {position: relative;padding-right: 5px;+ margin-left: var(--left-sidebar-toggle-width-offset);}.dm-box {