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.

dropdown_widget: Show blue line next to sticky bottom when active.

Shubham Padia319de4497c8a
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 2c1c97df938..0d049efd8ae 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1257,6 +1257,7 @@ div.overlay .flex.overlay-content > .overlay-container,
.sticky-bottom-option-button {
width: 100%;
display: flex;
+ position: relative;
padding: 7px 14px;
background-color: var(--color-background-zulip-button);
justify-content: flex-start;
@@ -1276,9 +1277,23 @@ div.overlay .flex.overlay-content > .overlay-container,
&:focus,
&.current_selection {
- background-color: var(--background-color-active-dropdown-item);
+ background-color: var(
+ --background-color-current-selection-dropdown-item
+ );
outline: none;
}
+
+ &:focus::before,
+ &.current_selection::before {
+ content: "";
+ position: absolute;
+ left: 0;
+ top: 1px;
+ bottom: 2px;
+ width: 3px;
+ background-color: var(--color-outline-focus);
+ border-radius: 4px;
+ }
}
/* Styling for invalid inputs */