forked from AuroraMiddleware/gtk
Adwaita: colorswatch on selected elements style fix
This commit is contained in:
parent
01e6811776
commit
298974b9da
@ -2902,7 +2902,6 @@ GtkColorSwatch {
|
|||||||
}
|
}
|
||||||
// nth-child works just on the custom colors row
|
// nth-child works just on the custom colors row
|
||||||
|
|
||||||
|
|
||||||
// hover effect
|
// hover effect
|
||||||
&:hover {
|
&:hover {
|
||||||
background-image: linear-gradient(135deg, transparentize(white, 0.3),
|
background-image: linear-gradient(135deg, transparentize(white, 0.3),
|
||||||
@ -2952,6 +2951,15 @@ GtkColorSwatch {
|
|||||||
&:backdrop { @include button(backdrop); }
|
&:backdrop { @include button(backdrop); }
|
||||||
.overlay { @include button(undecorated); } // reset the overlay to not cover the button style underneat
|
.overlay { @include button(undecorated); } // reset the overlay to not cover the button style underneat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// take care of colorswatches on selected elements
|
||||||
|
:selected & {
|
||||||
|
box-shadow: none;
|
||||||
|
&.overlay {
|
||||||
|
border-color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4312,6 +4312,10 @@ GtkColorSwatch {
|
|||||||
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0);
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0);
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
icon-shadow: none; }
|
icon-shadow: none; }
|
||||||
|
:selected GtkColorSwatch {
|
||||||
|
box-shadow: none; }
|
||||||
|
:selected GtkColorSwatch.overlay {
|
||||||
|
border-color: #ffffff; }
|
||||||
|
|
||||||
/********
|
/********
|
||||||
* Misc *
|
* Misc *
|
||||||
|
@ -4473,6 +4473,10 @@ GtkColorSwatch {
|
|||||||
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
|
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
icon-shadow: none; }
|
icon-shadow: none; }
|
||||||
|
:selected GtkColorSwatch {
|
||||||
|
box-shadow: none; }
|
||||||
|
:selected GtkColorSwatch.overlay {
|
||||||
|
border-color: #ffffff; }
|
||||||
|
|
||||||
/********
|
/********
|
||||||
* Misc *
|
* Misc *
|
||||||
|
Loading…
Reference in New Issue
Block a user