mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-15 21:08:39 -07:00
update
This commit is contained in:
@@ -3342,6 +3342,7 @@ switch {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
background-clip: padding-box;
|
||||
font-size: 0;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
switch:checked {
|
||||
@@ -3352,21 +3353,17 @@ switch:disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
switch image {
|
||||
margin: -8px;
|
||||
-gtk-icon-transform: scale(0);
|
||||
}
|
||||
|
||||
switch slider {
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
min-width: 20px;
|
||||
min-height: 20px;
|
||||
margin: 1px;
|
||||
margin: 0;
|
||||
border-radius: 9999px;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
background-color: white;
|
||||
border: none;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
switch:focus slider, switch:hover slider, switch:focus:hover slider {
|
||||
|
@@ -3342,6 +3342,7 @@ switch {
|
||||
background-color: rgba(0, 0, 0, 0.38);
|
||||
background-clip: padding-box;
|
||||
font-size: 0;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
switch:checked {
|
||||
@@ -3352,11 +3353,6 @@ switch:disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
switch image {
|
||||
margin: -8px;
|
||||
-gtk-icon-transform: scale(0);
|
||||
}
|
||||
|
||||
switch slider {
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
min-width: 20px;
|
||||
@@ -3367,6 +3363,7 @@ switch slider {
|
||||
box-shadow: none;
|
||||
background-color: white;
|
||||
border: none;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
switch:focus slider, switch:hover slider, switch:focus:hover slider {
|
||||
|
@@ -3351,6 +3351,7 @@ switch {
|
||||
background-color: rgba(0, 0, 0, 0.38);
|
||||
background-clip: padding-box;
|
||||
font-size: 0;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
switch:checked {
|
||||
@@ -3361,11 +3362,6 @@ switch:disabled {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
switch image {
|
||||
margin: -8px;
|
||||
-gtk-icon-transform: scale(0);
|
||||
}
|
||||
|
||||
switch slider {
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
min-width: 20px;
|
||||
@@ -3376,6 +3372,7 @@ switch slider {
|
||||
box-shadow: none;
|
||||
background-color: white;
|
||||
border: none;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
switch:focus slider, switch:hover slider, switch:focus:hover slider {
|
||||
|
@@ -2172,6 +2172,7 @@ switch {
|
||||
background-color: $text-disabled;
|
||||
background-clip: padding-box;
|
||||
font-size: 0;
|
||||
color: transparent;
|
||||
|
||||
&:checked {
|
||||
background-color: $primary;
|
||||
@@ -2180,21 +2181,22 @@ switch {
|
||||
&:disabled { opacity: 0.5; }
|
||||
|
||||
// hide on/off icons for >=3.24.5
|
||||
image {
|
||||
margin: -8px;
|
||||
-gtk-icon-transform: scale(0);
|
||||
}
|
||||
// image {
|
||||
// margin: -8px;
|
||||
// -gtk-icon-transform: scale(0);
|
||||
// }
|
||||
|
||||
slider {
|
||||
transition: all $duration $ease-out;
|
||||
min-width: $small-size - 4px;
|
||||
min-height: $small-size - 4px;
|
||||
margin: 1px;
|
||||
margin: if($variant == 'light', 1px, 0);
|
||||
border-radius: $circular-radius;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
background-color: white;
|
||||
border: none;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
&:focus slider,
|
||||
|
Reference in New Issue
Block a user