1
0
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:
Horst3180 2016-03-30 03:58:15 +02:00
parent 22bb0ca20a
commit 51bd8454df
7 changed files with 50 additions and 63 deletions

View File

@ -1813,21 +1813,19 @@ scrollbar.horizontal trough {
switch {
font: 1;
outline-color: transparent; }
switch, switch slider {
outline-color: transparent;
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center; }
switch, switch slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none; }
switch:dir(rtl), switch slider:dir(rtl) {
background-position: left center; }
switch slider {
min-width: 52px;
min-height: 24px; }
switch {
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }

View File

@ -1812,21 +1812,19 @@ scrollbar.horizontal trough {
switch {
font: 1;
outline-color: transparent; }
switch, switch slider {
outline-color: transparent;
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center; }
switch, switch slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none; }
switch:dir(rtl), switch slider:dir(rtl) {
background-position: left center; }
switch slider {
min-width: 52px;
min-height: 24px; }
switch {
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }

View File

@ -1813,21 +1813,19 @@ scrollbar.horizontal trough {
switch {
font: 1;
outline-color: transparent; }
switch, switch slider {
outline-color: transparent;
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center; }
switch, switch slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none; }
switch:dir(rtl), switch slider:dir(rtl) {
background-position: left center; }
switch slider {
min-width: 52px;
min-height: 24px; }
switch {
background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }

View File

@ -1812,21 +1812,19 @@ scrollbar.horizontal trough {
switch {
font: 1;
outline-color: transparent; }
switch, switch slider {
outline-color: transparent;
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center; }
switch, switch slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none; }
switch:dir(rtl), switch slider:dir(rtl) {
background-position: left center; }
switch slider {
min-width: 52px;
min-height: 24px; }
switch {
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }

View File

@ -1816,21 +1816,19 @@ scrollbar.horizontal trough {
switch {
font: 1;
outline-color: transparent; }
switch, switch slider {
outline-color: transparent;
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center; }
switch, switch slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none; }
switch:dir(rtl), switch slider:dir(rtl) {
background-position: left center; }
switch slider {
min-width: 52px;
min-height: 24px; }
switch {
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }

View File

@ -1816,21 +1816,19 @@ scrollbar.horizontal trough {
switch {
font: 1;
outline-color: transparent; }
switch, switch slider {
outline-color: transparent;
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center; }
switch, switch slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none; }
switch:dir(rtl), switch slider:dir(rtl) {
background-position: left center; }
switch slider {
min-width: 52px;
min-height: 24px; }
switch {
background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }

View File

@ -1942,21 +1942,20 @@ switch {
font: 1;
outline-color: transparent;
&, slider {
min-width: 52px;
min-height: 24px;
margin: 0 -10px;
background-size: 52px 24px;
background-repeat: no-repeat;
background-position: right center;
background-position: center center;
&, slider {
color: transparent;
border-color: transparent;
border-image: none;
border-style: none;
box-shadow: none;
&:dir(rtl) { background-position: left center; }
}
slider {
min-width: 52px;
min-height: 24px;
}
}