diff options
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; } } |