Fix gnome-shell switches style

This commit is contained in:
EliverLara
2019-05-19 20:38:35 -05:00
parent a4d99c606e
commit bf51b53576
2 changed files with 9 additions and 4 deletions

View File

@@ -154,6 +154,9 @@ StScrollBar {
width: 65px;
height: 22px;
background-size: contain;
//Gnome 3.32//
background-image: url("assets/toggle-off.svg");
&:checked { background-image: url("assets/toggle-on.svg"); }
}
@each $v in us, intl {
@@ -1537,8 +1540,7 @@ StScrollBar {
background-image: none;
background-color: rgba(255, 255, 255, 0.7);
}
&:checked .page-indicator-icon,
&:checked:active {
&:checked .page-indicator-icon{
background-image: none;
background-color: #FFFFFF;
transition-duration: 0s;

View File

@@ -182,7 +182,10 @@ StScrollBar {
.toggle-switch {
width: 65px;
height: 22px;
background-size: contain; }
background-size: contain;
background-image: url("assets/toggle-off.svg"); }
.toggle-switch:checked {
background-image: url("assets/toggle-on.svg"); }
.toggle-switch-us {
background-image: url("assets/toggle-off.svg"); }
@@ -1430,7 +1433,7 @@ StScrollBar {
.page-indicator:active .page-indicator-icon {
background-image: none;
background-color: rgba(255, 255, 255, 0.7); }
.page-indicator:checked .page-indicator-icon, .page-indicator:checked:active {
.page-indicator:checked .page-indicator-icon {
background-image: none;
background-color: #FFFFFF;
transition-duration: 0s; }