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/gtk.css | |
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/gtk.css')
-rw-r--r-- | common/gtk-3.0/3.20/gtk.css | 16 |
1 files changed, 7 insertions, 9 deletions
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")); } |