mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
UX: Differentiate focus state from hover state (#22985)
When a button gets a focused state via keyboard, it is highlighted a bit more than the hover or selected state.
This commit is contained in:
parent
2485f5d5f6
commit
9e9aa8f653
@ -68,6 +68,10 @@
|
||||
color: Highlight;
|
||||
}
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
@include darken-background($hover-bg-color, 0.1);
|
||||
}
|
||||
}
|
||||
&[href] {
|
||||
color: $text-color;
|
||||
|
@ -84,7 +84,8 @@ html {
|
||||
}
|
||||
}
|
||||
|
||||
.menu-panel .panel-body-bottom .btn:hover {
|
||||
.menu-panel .panel-body-bottom .btn:hover,
|
||||
.menu-panel .panel-body-bottom .btn:focus {
|
||||
.d-icon {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user