Commit 7a1eabaf authored by Lapo Calamandrei's avatar Lapo Calamandrei

Adwaita: fix for the previous colorswatch fix...

Make the selected colorswatch inhert on backdrop.
parent 43a2676c
......@@ -2969,7 +2969,8 @@ GtkColorSwatch {
box-shadow: inset 0 1px transparentize(white, 0.6),
inset 0 -1px if($variant == 'light', transparentize(black, 0.9), transparentize(black, 0.6));
}
&:backdrop {
&:backdrop,
&:backdrop:selected {
background-image: none;
box-shadow: none;
}
......
......@@ -4377,7 +4377,7 @@ GtkColorSwatch {
GtkColorSwatch:hover, GtkColorSwatch:hover:selected {
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.4); }
GtkColorSwatch:backdrop {
GtkColorSwatch:backdrop, GtkColorSwatch:backdrop:selected {
background-image: none;
box-shadow: none; }
GtkColorEditor GtkColorSwatch {
......
......@@ -4538,7 +4538,7 @@ GtkColorSwatch {
GtkColorSwatch:hover, GtkColorSwatch:hover:selected {
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.1); }
GtkColorSwatch:backdrop {
GtkColorSwatch:backdrop, GtkColorSwatch:backdrop:selected {
background-image: none;
box-shadow: none; }
GtkColorEditor GtkColorSwatch {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment