forked from AuroraMiddleware/gtk
Adwaita: flat button adjustments
- normally lighter (on bg_color) - darker for headerbar - undecorated checked buttons were never style properly (even gtk3) see page2 volume buttons Finetunes https://gitlab.gnome.org/GNOME/gtk/-/issues/3427
This commit is contained in:
parent
db08bccb11
commit
addcf57b4d
@ -536,7 +536,8 @@ button {
|
||||
transition: $button_transition;
|
||||
transition-duration: 500ms;
|
||||
}
|
||||
&:active {
|
||||
&:active,
|
||||
&:checked {
|
||||
@include button(undecorated-active);
|
||||
transition: $button_transition;
|
||||
}
|
||||
@ -1396,9 +1397,10 @@ windowcontrols {
|
||||
min-height: 0;
|
||||
&:hover {
|
||||
//special case hover colors inside a headerbar
|
||||
@include button(undecorated-hover,$c:$headerbar_bg_color);
|
||||
@include button(undecorated-hover,$c:darken($headerbar_bg_color,10%));
|
||||
}
|
||||
&:active { @include button(undecorated-active,$c:$headerbar_bg_color); }
|
||||
&:active,
|
||||
&:checked { @include button(undecorated-active,$c:darken($headerbar_bg_color,10%)); }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -419,7 +419,7 @@
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
@if $variant == 'light' {
|
||||
background-color: darken($c,26%);
|
||||
background-color: darken($c,14%);
|
||||
}
|
||||
@else {
|
||||
background-color: darken($c,10%);
|
||||
@ -431,7 +431,7 @@
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
@if $variant == 'light' {
|
||||
background-color: darken($c,40%);
|
||||
background-color: darken($c,30%);
|
||||
}
|
||||
@else {
|
||||
background-color: darken($c,14%);
|
||||
|
Loading…
Reference in New Issue
Block a user