* Adding button.color code.

pull/423/head
Megax 2016-05-11 11:45:17 +02:00
parent 3e1701471c
commit e31a6b5ae1
1 changed files with 16 additions and 1 deletions
gtk-3.20/scss/widgets

View File

@ -139,7 +139,22 @@
}
}
button.color { padding: $spacing; }
button.color {
padding: $spacing;
colorswatch:only-child {
&, overlay { border-radius: 0; }
@if $variant == 'light' { box-shadow: 0 1px _text_shadow_color(); }
}
@if $variant == 'light' {
&:disabled,
&:backdrop,
&:active,
&:checked { colorswatch:only-child { box-shadow: none; } }
}
}
colorchooser .popover.osd { border-radius: $roundness; }
}