This commit is contained in:
Freeplay 2023-05-31 16:41:31 -04:00
parent 3443e5d649
commit 0663a67b86

View file

@ -229,6 +229,7 @@ hr {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
border-radius: 5px; border-radius: 5px;
outline: none;
&::before { &::before {
content: ""; content: "";
@ -239,12 +240,13 @@ hr {
transition: background 0.2s; transition: background 0.2s;
} }
&:hover:before { &:hover:before, &:focus::before, &.highlighted::before {
// background: rgba(0, 0, 0, 0.05);
background: var(--buttonBg); background: var(--buttonBg);
} }
&:focus-visible::before {
&.highlighted::before { outline: auto;
}
&.highlighted {
color: var(--accent); color: var(--accent);
} }
} }