Adwaita: make focus visible in GtkColorSwatch

- use the same fg color as the selection icon
- both dark & light to use the same opacity
This commit is contained in:
Jakub Steiner 2015-08-31 13:59:12 +02:00
parent e50c37c8a3
commit c21a16e2bc
3 changed files with 6 additions and 6 deletions

View File

@ -3157,12 +3157,12 @@ GtkColorSwatch {
// indicator and keynav outline colors
&.color-dark {
color: white;
outline-color: transparentize(black, 0.7);
outline-color: transparentize(white, 0.5);
&:backdrop { color: transparentize(white, 0.7); }
}
&.color-light {
color: black;
outline-color: transparentize(white, 0.5);
outline-color: transparentize(black, 0.5);
&:backdrop { color: transparentize(black, 0.7); }
}

View File

@ -4205,12 +4205,12 @@ GtkColorSwatch {
box-shadow: none; }
GtkColorSwatch.color-dark {
color: white;
outline-color: rgba(0, 0, 0, 0.3); }
outline-color: rgba(255, 255, 255, 0.5); }
GtkColorSwatch.color-dark:backdrop {
color: rgba(255, 255, 255, 0.3); }
GtkColorSwatch.color-light {
color: black;
outline-color: rgba(255, 255, 255, 0.5); }
outline-color: rgba(0, 0, 0, 0.5); }
GtkColorSwatch.color-light:backdrop {
color: rgba(0, 0, 0, 0.3); }
GtkColorSwatch.overlay, GtkColorSwatch.overlay:selected {

View File

@ -4377,12 +4377,12 @@ GtkColorSwatch {
box-shadow: none; }
GtkColorSwatch.color-dark {
color: white;
outline-color: rgba(0, 0, 0, 0.3); }
outline-color: rgba(255, 255, 255, 0.5); }
GtkColorSwatch.color-dark:backdrop {
color: rgba(255, 255, 255, 0.3); }
GtkColorSwatch.color-light {
color: black;
outline-color: rgba(255, 255, 255, 0.5); }
outline-color: rgba(0, 0, 0, 0.5); }
GtkColorSwatch.color-light:backdrop {
color: rgba(0, 0, 0, 0.3); }
GtkColorSwatch.overlay, GtkColorSwatch.overlay:selected {