Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
right_sidebar: Extend focus styles to users/subscribers links.
Karl Stolleyaf3bf8a1037a
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.cssindex 88f2f991b98..b6e3209a660 100644--- a/web/styles/right_sidebar.css+++ b/web/styles/right_sidebar.css@@ -610,6 +610,18 @@margin-top: calc(25px - (var(--legacy-body-line-height-unitless) * 1em));margin-bottom: var(--sidebar-bottom-spacing);+ .invite-user-link {+ /* TODO: We should eventually change the grid to use the correct+ --right-sidebar-presence-circle-width with left spacing, and+ share that left spacing value here. */+ padding-left: calc(var(--right-sidebar-toggle-width-offset) + 0.3em);+ text-decoration: none;+ }+}++.invite-user-shortcut,+.view-all-users-link,+.view-all-subscribers-link {&:has(:focus-visible) {/* Apply focus and active styles to the parent container so theentire invite-user row receives keyboard focus indication,@@ -621,16 +633,9 @@background-color: var(--color-background-hover-narrow-filter);}- .invite-user-link {- /* TODO: We should eventually change the grid to use the correct- --right-sidebar-presence-circle-width with left spacing, and- share that left spacing value here. */- padding-left: calc(var(--right-sidebar-toggle-width-offset) + 0.3em);+ & a:focus {+ outline: none;text-decoration: none;-- &:focus {- outline: none;- }}}