mirror of https://github.com/zulip/zulip.git
css: Assign a variable to focus underline color of recent view.
This commit is contained in:
parent
f12fe219d9
commit
58c5701e5e
|
@ -1007,7 +1007,7 @@ div.overlay {
|
|||
margin-bottom: 10px;
|
||||
|
||||
&.active {
|
||||
outline: 2px solid hsl(215deg 47% 50%);
|
||||
outline: 2px solid var(--color-outline-focus);
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
border-radius: 50%;
|
||||
position: absolute;
|
||||
background-color: hsl(196deg 100% 82% / 30%);
|
||||
border: 2px solid hsl(215deg 47% 50%);
|
||||
border: 2px solid var(--color-outline-focus);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@
|
|||
left: -5px;
|
||||
bottom: 3px;
|
||||
transform: rotate(7deg);
|
||||
color: hsl(215deg 47% 50%);
|
||||
color: var(--color-outline-focus);
|
||||
font-size: 2.75em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
|
@ -839,7 +839,7 @@ ul {
|
|||
|
||||
&:focus {
|
||||
.fa-remove {
|
||||
outline: 2px solid hsl(215deg 47% 50%);
|
||||
outline: 2px solid var(--color-outline-focus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
&:focus-within {
|
||||
/* Use the same color as the message feed pointer */
|
||||
box-shadow: 0 3px 0 hsl(215deg 47% 50%);
|
||||
box-shadow: 0 3px 0 var(--color-outline-focus);
|
||||
}
|
||||
|
||||
.change_visibility_policy i {
|
||||
|
|
|
@ -164,6 +164,7 @@ body {
|
|||
--color-failed-message-send-icon: hsl(3.88deg 98.84% 66.27%);
|
||||
--color-background-modal: hsl(0deg 0% 98%);
|
||||
--color-unmuted-or-followed-topic-list-item: hsl(0deg 0% 20%);
|
||||
--color-outline-focus: hsl(215deg 47% 50%);
|
||||
|
||||
/* Text colors */
|
||||
--color-text-default: hsl(0deg 0% 20%);
|
||||
|
@ -831,7 +832,7 @@ i.fa:focus,
|
|||
i.zulip-icon:focus-visible,
|
||||
.auto-select:focus,
|
||||
[role="button"]:focus {
|
||||
outline: 2px solid hsl(215deg 47% 50%);
|
||||
outline: 2px solid var(--color-outline-focus);
|
||||
/* TODO: change solid to auto once the Chromium bug #1105822 is fixed */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue