Adwaita: fix insensitive switch styling

misplaced backdrop disabled selector was overriding the disabled
one.
This commit is contained in:
Lapo Calamandrei 2016-04-19 22:08:31 +02:00
parent 51d58108f9
commit 24c3906d5f
3 changed files with 13 additions and 13 deletions

View File

@ -2483,12 +2483,12 @@ switch {
$selected_borders_color);
background-color: $selected_bg_color;
}
}
&:disabled {
color: $backdrop_insensitive_color;
border-color: $backdrop_borders_color;
background-color: $insensitive_bg_color;
&:disabled {
color: $backdrop_insensitive_color;
border-color: $backdrop_borders_color;
background-color: $insensitive_bg_color;
}
}
slider {

View File

@ -2694,10 +2694,10 @@ switch {
switch:backdrop:checked {
border-color: #0f2b48;
background-color: #215d9c; }
switch:disabled {
color: #5d6767;
border-color: #262929;
background-color: #333636; }
switch:backdrop:disabled {
color: #5d6767;
border-color: #262929;
background-color: #333636; }
switch slider {
margin: -1px;
min-width: 45px;

View File

@ -2708,10 +2708,10 @@ switch {
color: #e8e8e7;
border-color: #4a90d9;
background-color: #4a90d9; }
switch:disabled {
color: #c3c3c0;
border-color: #c0c0bd;
background-color: #f1f1f1; }
switch:backdrop:disabled {
color: #c3c3c0;
border-color: #c0c0bd;
background-color: #f1f1f1; }
switch slider {
margin: -1px;
min-width: 45px;