mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
left_sidebar: Fix focus styles for back to channels link in DM list.
This commit is contained in:
@@ -221,6 +221,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
margin-right: var(--left-sidebar-right-margin);
|
margin-right: var(--left-sidebar-right-margin);
|
||||||
line-height: var(--line-height-sidebar-row);
|
line-height: var(--line-height-sidebar-row);
|
||||||
|
border-radius: 4px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
||||||
@@ -236,7 +237,10 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--color-background-sidebar-action-heading-hover);
|
background-color: var(--color-background-sidebar-action-heading-hover);
|
||||||
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
|
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
|
||||||
border-radius: 4px;
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -476,7 +480,8 @@
|
|||||||
.topic-list
|
.topic-list
|
||||||
.bottom_left_row:has(a.topic-box:focus-visible),
|
.bottom_left_row:has(a.topic-box:focus-visible),
|
||||||
#direct-messages-list .dm-list .bottom_left_row:has(a.dm-box:focus-visible),
|
#direct-messages-list .dm-list .bottom_left_row:has(a.dm-box:focus-visible),
|
||||||
#show-more-direct-messages:has(a.dm-name:focus-visible) {
|
#show-more-direct-messages:has(a.dm-name:focus-visible),
|
||||||
|
#hide-more-direct-messages:focus-visible {
|
||||||
outline: 2px solid var(--color-outline-focus);
|
outline: 2px solid var(--color-outline-focus);
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
background-color: var(--color-background-hover-narrow-filter);
|
background-color: var(--color-background-hover-narrow-filter);
|
||||||
|
|||||||
Reference in New Issue
Block a user