Adwaita: Add focus outlines back to scale troughs

Fixes #189
This commit is contained in:
Timm Bäder 2020-02-15 10:45:33 +01:00
parent bf839dbb88
commit 28482e52be

View File

@ -15,7 +15,6 @@ button:focus(visible),
checkbutton:focus(visible),
radiobutton:focus(visible),
switch:focus(visible),
scale:focus(visible),
label:focus(visible),
row:focus(visible),
flowboxchild:focus(visible) {
@ -29,6 +28,14 @@ flowboxchild:focus(visible) {
outline-width: 1px;
}
// Widgets that draw their focus indicator outset and not inset
scale:focus(visible) > trough {
outline-color: gtkalpha(currentColor, 0.3);
outline-style: dashed;
outline-offset: 2px;
outline-width: 1px;
}
/***************
* Base States *
@ -2584,8 +2591,6 @@ scale {
}
}
&:focus { outline: none; }
// click-and-hold the slider to activate
&.fine-tune {
&.horizontal {