mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 19:00:12 +00:00
Adwaita: Update color button styling
Adapt to the previous commit.
This commit is contained in:
parent
7d18398eeb
commit
e148876dd4
@ -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
|
||||
|
@ -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; }
|
||||
|
||||
/*********
|
||||
|
@ -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; }
|
||||
|
||||
/*********
|
||||
|
Loading…
Reference in New Issue
Block a user