forked from AuroraMiddleware/gtk
Adwaita: colorbutton colorswatch shadow fix
reset colorswatch box-shadow on active and checked state as well following latest style changes.
This commit is contained in:
parent
a763bd7df1
commit
86ba132ded
@ -963,12 +963,14 @@ button.color {
|
|||||||
colorswatch:only-child {
|
colorswatch:only-child {
|
||||||
&, overlay { border-radius: 0; }
|
&, overlay { border-radius: 0; }
|
||||||
|
|
||||||
@if $variant == 'light' {
|
@if $variant == 'light' { box-shadow: 0 1px _text_shadow_color(); }
|
||||||
box-shadow: 0 1px _text_shadow_color();
|
}
|
||||||
|
|
||||||
&:disabled,
|
@if $variant == 'light' {
|
||||||
&:backdrop { box-shadow: none; }
|
&:disabled,
|
||||||
}
|
&:backdrop,
|
||||||
|
&:active,
|
||||||
|
&:checked { colorswatch:only-child { box-shadow: none; }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1368,8 +1368,8 @@ button.color {
|
|||||||
box-shadow: 0 1px rgba(255, 255, 255, 0.76923); }
|
box-shadow: 0 1px rgba(255, 255, 255, 0.76923); }
|
||||||
button.color colorswatch:only-child, button.color colorswatch:only-child overlay {
|
button.color colorswatch:only-child, button.color colorswatch:only-child overlay {
|
||||||
border-radius: 0; }
|
border-radius: 0; }
|
||||||
button.color colorswatch:only-child:disabled, button.color colorswatch:only-child:backdrop {
|
button.color:disabled colorswatch:only-child, button.color:backdrop colorswatch:only-child, button.color:active colorswatch:only-child, button.color:checked colorswatch:only-child {
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
|
|
||||||
/*********
|
/*********
|
||||||
* Links *
|
* Links *
|
||||||
|
Loading…
Reference in New Issue
Block a user