mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
Adwaita: special case flat headerbar buttons
- make sure the hovers and pushed states are legible on a tintend headerbar Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3427
This commit is contained in:
parent
6a33bed353
commit
f6f6241627
@ -1389,11 +1389,17 @@ windowcontrols {
|
||||
|
||||
@extend %button_basic_flat;
|
||||
|
||||
|
||||
border-radius: 9999px;
|
||||
padding: 6px;
|
||||
margin: 0 2px;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
&:hover {
|
||||
//special case hover colors inside a headerbar
|
||||
@include button(undecorated-hover,$c:$headerbar_bg_color);
|
||||
}
|
||||
&:active { @include button(undecorated-active,$c:$headerbar_bg_color); }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user