forked from AuroraMiddleware/gtk
HC: tone down backdrop for gtk switches
https://bugzilla.gnome.org/show_bug.cgi?id=746925
This commit is contained in:
parent
7a6aee1db4
commit
136a32112f
@ -1443,9 +1443,9 @@ GtkSwitch {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
&:active {
|
||||
color: $backdrop_bg_color;
|
||||
border-color: $selected_bg_color;
|
||||
background-color: $selected_bg_color;
|
||||
color: $selected_fg_color;
|
||||
border-color: $backdrop_borders_color;
|
||||
background-color: $backdrop_borders_color;
|
||||
box-shadow: none;
|
||||
}
|
||||
&:insensitive, &:insensitive:active {
|
||||
@ -1470,7 +1470,7 @@ GtkSwitch {
|
||||
&:active { border-color: $selected_borders_color; }
|
||||
&:insensitive { @include button(insensitive, $edge: none); }
|
||||
&:backdrop { @include button(backdrop);
|
||||
&:active{ border-color: $selected_bg_color; }
|
||||
&:active{ border-color: $backdrop_borders_color; }
|
||||
&:insensitive {
|
||||
@include button(backdrop-insensitive);
|
||||
}
|
||||
|
@ -1647,8 +1647,8 @@ GtkSwitch {
|
||||
text-shadow: none; }
|
||||
GtkSwitch.trough:backdrop:active {
|
||||
color: #fff;
|
||||
border-color: #000;
|
||||
background-color: #000;
|
||||
border-color: #8b8b8b;
|
||||
background-color: #8b8b8b;
|
||||
box-shadow: none; }
|
||||
GtkSwitch.trough:backdrop:insensitive, GtkSwitch.trough:backdrop:insensitive:active {
|
||||
background-color: white;
|
||||
@ -1692,7 +1692,7 @@ GtkSwitch {
|
||||
text-shadow: none;
|
||||
icon-shadow: none; }
|
||||
GtkSwitch.slider:backdrop:active {
|
||||
border-color: #000; }
|
||||
border-color: #8b8b8b; }
|
||||
GtkSwitch.slider:backdrop:insensitive {
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
|
Loading…
Reference in New Issue
Block a user