Adwaita: Update color button styling

Adapt to the previous commit.
This commit is contained in:
Matthias Clasen 2015-10-30 01:16:26 -04:00
parent 7d18398eeb
commit e148876dd4
3 changed files with 9 additions and 7 deletions

View File

@ -730,7 +730,7 @@ modelbutton.flat,
}
GtkColorButton.button {
button.color {
padding: 5px; // Uniform padding on the GtkColorButton
GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the

View File

@ -1233,12 +1233,13 @@ modelbutton.flat,
.menuitem.button.flat:hover {
background-color: #4b5150; }
GtkColorButton.button {
button.color, headerbar button.color.titlebutton,
.titlebar button.color.titlebutton {
padding: 5px; }
GtkColorButton.button GtkColorSwatch:first-child:last-child {
button.color GtkColorSwatch:first-child:last-child {
border-radius: 0;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
GtkColorButton.button GtkColorSwatch:first-child:last-child:insensitive, GtkColorButton.button GtkColorSwatch:first-child:last-child:backdrop {
button.color GtkColorSwatch:first-child:last-child:insensitive, button.color GtkColorSwatch:first-child:last-child:backdrop {
box-shadow: none; }
/*********

View File

@ -1233,12 +1233,13 @@ modelbutton.flat,
.menuitem.button.flat:hover {
background-color: #dadbdb; }
GtkColorButton.button {
button.color, headerbar button.color.titlebutton,
.titlebar button.color.titlebutton {
padding: 5px; }
GtkColorButton.button GtkColorSwatch:first-child:last-child {
button.color GtkColorSwatch:first-child:last-child {
border-radius: 0;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
GtkColorButton.button GtkColorSwatch:first-child:last-child:insensitive, GtkColorButton.button GtkColorSwatch:first-child:last-child:backdrop {
button.color GtkColorSwatch:first-child:last-child:insensitive, button.color GtkColorSwatch:first-child:last-child:backdrop {
box-shadow: none; }
/*********