Adwaita: Leave .circular .osd buttons alone!
.osd suggests a particular color/background/hover style, while .circular only suggests roundness. So for buttons that use both classes, make sure the former takes precedence with regard to background/hover.
This commit is contained in:
parent
369fd7734b
commit
dc6ba8d688
@ -920,14 +920,14 @@ button {
|
||||
|
||||
$_border_bg: linear-gradient(to top, $alt-borders-color 25%, $borders-color 50%);
|
||||
|
||||
&:not(.flat):not(:checked):not(:active):not(:disabled):not(:backdrop) {
|
||||
&:not(.flat):not(.osd):not(:checked):not(:active):not(:disabled):not(:backdrop) {
|
||||
@include button(normal);
|
||||
|
||||
background-image: $button_fill, $_border_bg;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&:hover:not(:checked):not(:active):not(:disabled):not(:backdrop) {
|
||||
&:hover:not(.osd):not(:checked):not(:active):not(:disabled):not(:backdrop) {
|
||||
@include button(hover);
|
||||
|
||||
background-image: $button_fill, $_border_bg;
|
||||
|
Loading…
Reference in New Issue
Block a user