forked from AuroraMiddleware/gtk
Some minimal theme fixes for focus drawing
We don't want focus rectangles everywhere, so set them up explicitly for the widgets where we want them, and only if focus(visible) is set.
This commit is contained in:
parent
46d4deeb1e
commit
f8e74e8f04
@ -13,7 +13,12 @@ $button_transition: all 200ms $ease-out-quad;
|
||||
-gtk-secondary-caret-color: $selected_bg_color
|
||||
}
|
||||
|
||||
*:focus {
|
||||
button:focus(visible),
|
||||
checkbutton:focus(visible),
|
||||
radiobutton:focus(visible),
|
||||
switch:focus(visible),
|
||||
scale:focus(visible),
|
||||
label:focus(visible) {
|
||||
// We use the outline properties to signal the focus properties
|
||||
// to the adwaita engine: using real CSS properties is faster,
|
||||
// and we don't use any outlines for now.
|
||||
|
Loading…
Reference in New Issue
Block a user