mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
fix switch size
This commit is contained in:
parent
22bb0ca20a
commit
51bd8454df
@ -1813,21 +1813,19 @@ scrollbar.horizontal trough {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent; }
|
outline-color: transparent;
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center; }
|
||||||
switch, switch slider {
|
switch, switch slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
switch:dir(rtl), switch slider:dir(rtl) {
|
|
||||||
background-position: left center; }
|
|
||||||
switch slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px; }
|
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
|
||||||
|
@ -1812,21 +1812,19 @@ scrollbar.horizontal trough {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent; }
|
outline-color: transparent;
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center; }
|
||||||
switch, switch slider {
|
switch, switch slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
switch:dir(rtl), switch slider:dir(rtl) {
|
|
||||||
background-position: left center; }
|
|
||||||
switch slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px; }
|
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
||||||
|
@ -1813,21 +1813,19 @@ scrollbar.horizontal trough {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent; }
|
outline-color: transparent;
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center; }
|
||||||
switch, switch slider {
|
switch, switch slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
switch:dir(rtl), switch slider:dir(rtl) {
|
|
||||||
background-position: left center; }
|
|
||||||
switch slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px; }
|
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
|
||||||
|
@ -1812,21 +1812,19 @@ scrollbar.horizontal trough {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent; }
|
outline-color: transparent;
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center; }
|
||||||
switch, switch slider {
|
switch, switch slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
switch:dir(rtl), switch slider:dir(rtl) {
|
|
||||||
background-position: left center; }
|
|
||||||
switch slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px; }
|
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
||||||
|
@ -1816,21 +1816,19 @@ scrollbar.horizontal trough {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent; }
|
outline-color: transparent;
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center; }
|
||||||
switch, switch slider {
|
switch, switch slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
switch:dir(rtl), switch slider:dir(rtl) {
|
|
||||||
background-position: left center; }
|
|
||||||
switch slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px; }
|
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
||||||
|
@ -1816,21 +1816,19 @@ scrollbar.horizontal trough {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent; }
|
outline-color: transparent;
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center; }
|
||||||
switch, switch slider {
|
switch, switch slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none; }
|
box-shadow: none; }
|
||||||
switch:dir(rtl), switch slider:dir(rtl) {
|
|
||||||
background-position: left center; }
|
|
||||||
switch slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px; }
|
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
|
||||||
|
@ -1942,21 +1942,20 @@ switch {
|
|||||||
font: 1;
|
font: 1;
|
||||||
outline-color: transparent;
|
outline-color: transparent;
|
||||||
|
|
||||||
|
min-width: 52px;
|
||||||
|
min-height: 24px;
|
||||||
|
margin: 0 -10px;
|
||||||
|
|
||||||
|
background-size: 52px 24px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center center;
|
||||||
|
|
||||||
&, slider {
|
&, slider {
|
||||||
background-size: 52px 24px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right center;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
border-image: none;
|
border-image: none;
|
||||||
border-style: none;
|
border-style: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
||||||
&:dir(rtl) { background-position: left center; }
|
|
||||||
}
|
|
||||||
slider {
|
|
||||||
min-width: 52px;
|
|
||||||
min-height: 24px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user