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.

left_sidebar: Round DM and folder section header highlight outlines.

Evy Kassirer92c9c3505034
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index e5f74db6488..a50b9aa22a5 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -342,9 +342,13 @@
max-content
);
+ &:hover,
+ &.highlighted_row {
+ border-radius: 4px;
+ }
+
&:hover {
background-color: var(--color-background-hover-narrow-filter);
- border-radius: 4px;
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
.left-sidebar-title,
@@ -487,13 +491,18 @@
visibility: visible;
}
+ /* We only set the border radius on the hover/popover/highlighted states,
+ so as to prevent the background on highlighted channels
+ from bleeding through. */
+ &:hover,
+ &:has(.left_sidebar_menu_icon_visible),
+ &.highlighted_row {
+ border-radius: 4px;
+ }
+
&:hover {
background-color: var(--color-background-hover-narrow-filter);
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
- /* We only set the border radius on the hover/popover states,
- so as to prevent the background on highlighted channels
- from bleeding through. */
- border-radius: 4px;
.left-sidebar-title,
.stream-list-section-toggle {
@@ -508,7 +517,6 @@
&:has(.left_sidebar_menu_icon_visible) {
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
background-color: var(--color-background-hover-narrow-filter);
- border-radius: 4px;
.left-sidebar-title,
.stream-list-section-toggle {