diff options
author | Horst3180 | 2016-03-30 03:58:15 +0200 |
---|---|---|
committer | Horst3180 | 2016-03-30 14:32:13 +0200 |
commit | 51bd8454df0adb52aced7bb87293eaae6e3a7f4b (patch) | |
tree | 2ffd65a98f113fe2efb191258aafb344416398e6 /common/gtk-3.0/3.20 | |
parent | 22bb0ca20a85adee5ed7077bc87f7befc412a419 (diff) | |
download | solarc-theme-51bd8454df0adb52aced7bb87293eaae6e3a7f4b.tar.gz solarc-theme-51bd8454df0adb52aced7bb87293eaae6e3a7f4b.tar.xz solarc-theme-51bd8454df0adb52aced7bb87293eaae6e3a7f4b.zip |
fix switch size
Diffstat (limited to 'common/gtk-3.0/3.20')
-rw-r--r-- | common/gtk-3.0/3.20/gtk-dark.css | 16 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/gtk-darker.css | 16 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/gtk-solid-dark.css | 16 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/gtk-solid-darker.css | 16 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/gtk-solid.css | 16 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/gtk.css | 16 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 17 |
7 files changed, 50 insertions, 63 deletions
diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index 40984a8..5231970 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -1813,21 +1813,19 @@ scrollbar.horizontal trough { switch { 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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")); } diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index de35d40..85895c6 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -1812,21 +1812,19 @@ scrollbar.horizontal trough { switch { 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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")); } diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index 5c5945a..cda6197 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -1813,21 +1813,19 @@ scrollbar.horizontal trough { switch { 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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")); } diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index e8f0d1a..689c9fc 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -1812,21 +1812,19 @@ scrollbar.horizontal trough { switch { 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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")); } diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index 3afe4a4..402e915 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -1816,21 +1816,19 @@ scrollbar.horizontal trough { switch { 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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")); } diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index ac370ad..30872fb 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -1816,21 +1816,19 @@ scrollbar.horizontal trough { switch { 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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")); } diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 7a66400..74789f6 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -1942,21 +1942,20 @@ switch { font: 1; 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 { - background-size: 52px 24px; - background-repeat: no-repeat; - background-position: right center; 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; } } |