HC: tone down backdrop for gtk switches

https://bugzilla.gnome.org/show_bug.cgi?id=746925
This commit is contained in:
Jakub Steiner 2015-04-27 17:33:40 +02:00
parent 7a6aee1db4
commit 136a32112f
2 changed files with 7 additions and 7 deletions

View File

@ -1443,9 +1443,9 @@ GtkSwitch {
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
&:active { &:active {
color: $backdrop_bg_color; color: $selected_fg_color;
border-color: $selected_bg_color; border-color: $backdrop_borders_color;
background-color: $selected_bg_color; background-color: $backdrop_borders_color;
box-shadow: none; box-shadow: none;
} }
&:insensitive, &:insensitive:active { &:insensitive, &:insensitive:active {
@ -1470,7 +1470,7 @@ GtkSwitch {
&:active { border-color: $selected_borders_color; } &:active { border-color: $selected_borders_color; }
&:insensitive { @include button(insensitive, $edge: none); } &:insensitive { @include button(insensitive, $edge: none); }
&:backdrop { @include button(backdrop); &:backdrop { @include button(backdrop);
&:active{ border-color: $selected_bg_color; } &:active{ border-color: $backdrop_borders_color; }
&:insensitive { &:insensitive {
@include button(backdrop-insensitive); @include button(backdrop-insensitive);
} }

View File

@ -1647,8 +1647,8 @@ GtkSwitch {
text-shadow: none; } text-shadow: none; }
GtkSwitch.trough:backdrop:active { GtkSwitch.trough:backdrop:active {
color: #fff; color: #fff;
border-color: #000; border-color: #8b8b8b;
background-color: #000; background-color: #8b8b8b;
box-shadow: none; } box-shadow: none; }
GtkSwitch.trough:backdrop:insensitive, GtkSwitch.trough:backdrop:insensitive:active { GtkSwitch.trough:backdrop:insensitive, GtkSwitch.trough:backdrop:insensitive:active {
background-color: white; background-color: white;
@ -1692,7 +1692,7 @@ GtkSwitch {
text-shadow: none; text-shadow: none;
icon-shadow: none; } icon-shadow: none; }
GtkSwitch.slider:backdrop:active { GtkSwitch.slider:backdrop:active {
border-color: #000; } border-color: #8b8b8b; }
GtkSwitch.slider:backdrop:insensitive { GtkSwitch.slider:backdrop:insensitive {
border-width: 2px; border-width: 2px;
border-style: solid; border-style: solid;