aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.18
diff options
context:
space:
mode:
Diffstat (limited to 'common/gtk-3.0/3.18')
-rw-r--r--common/gtk-3.0/3.18/gtk-contained-dark.css40
-rw-r--r--common/gtk-3.0/3.18/gtk-contained-darker.css40
-rw-r--r--common/gtk-3.0/3.18/gtk-contained-solid-dark.css40
-rw-r--r--common/gtk-3.0/3.18/gtk-contained-solid-darker.css40
-rw-r--r--common/gtk-3.0/3.18/gtk-contained-solid.css40
-rw-r--r--common/gtk-3.0/3.18/gtk-contained.css40
-rw-r--r--common/gtk-3.0/3.18/sass/_common.scss37
7 files changed, 14 insertions, 263 deletions
diff --git a/common/gtk-3.0/3.18/gtk-contained-dark.css b/common/gtk-3.0/3.18/gtk-contained-dark.css
index 2f2f527..fdb4788 100644
--- a/common/gtk-3.0/3.18/gtk-contained-dark.css
+++ b/common/gtk-3.0/3.18/gtk-contained-dark.css
@@ -1942,46 +1942,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
-
-.header-bar GtkSwitch.trough,
-.primary-toolbar GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active,
-.primary-toolbar GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-dark.png"), url("assets/switch-insensitive-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:insensitive,
-.primary-toolbar GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active:insensitive,
-.primary-toolbar GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-
/*************************
* Check and Radio items *
*************************/
diff --git a/common/gtk-3.0/3.18/gtk-contained-darker.css b/common/gtk-3.0/3.18/gtk-contained-darker.css
index 45eca1a..2f18d1f 100644
--- a/common/gtk-3.0/3.18/gtk-contained-darker.css
+++ b/common/gtk-3.0/3.18/gtk-contained-darker.css
@@ -1945,46 +1945,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
-
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
-
-.header-bar GtkSwitch.trough,
-.primary-toolbar GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active,
-.primary-toolbar GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:insensitive,
-.primary-toolbar GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active:insensitive,
-.primary-toolbar GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-
/*************************
* Check and Radio items *
*************************/
diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css
index 157b5de..d7ff02b 100644
--- a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css
+++ b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css
@@ -1942,46 +1942,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-dark.png"), url("assets/switch-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
-
-.header-bar GtkSwitch.trough,
-.primary-toolbar GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active,
-.primary-toolbar GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-dark.png"), url("assets/switch-insensitive-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:insensitive,
-.primary-toolbar GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active:insensitive,
-.primary-toolbar GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-
/*************************
* Check and Radio items *
*************************/
diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css
index dccf0c4..696cab6 100644
--- a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css
+++ b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css
@@ -1945,46 +1945,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
-
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
-
-.header-bar GtkSwitch.trough,
-.primary-toolbar GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active,
-.primary-toolbar GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:insensitive,
-.primary-toolbar GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active:insensitive,
-.primary-toolbar GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
-
/*************************
* Check and Radio items *
*************************/
diff --git a/common/gtk-3.0/3.18/gtk-contained-solid.css b/common/gtk-3.0/3.18/gtk-contained-solid.css
index 899827b..3a5e675 100644
--- a/common/gtk-3.0/3.18/gtk-contained-solid.css
+++ b/common/gtk-3.0/3.18/gtk-contained-solid.css
@@ -1949,46 +1949,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
-
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
-
-.header-bar GtkSwitch.trough,
-.primary-toolbar GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active,
-.primary-toolbar GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:insensitive,
-.primary-toolbar GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active:insensitive,
-.primary-toolbar GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
-
/*************************
* Check and Radio items *
*************************/
diff --git a/common/gtk-3.0/3.18/gtk-contained.css b/common/gtk-3.0/3.18/gtk-contained.css
index 192c970..54fb236 100644
--- a/common/gtk-3.0/3.18/gtk-contained.css
+++ b/common/gtk-3.0/3.18/gtk-contained.css
@@ -1949,46 +1949,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar GtkSwitch.trough:active:insensitive {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch.png"), url("assets/switch@2.png")); }
-
-.list-row:selected GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-selected.png"), url("assets/switch-selected@2.png")); }
-
-.header-bar GtkSwitch.trough,
-.primary-toolbar GtkSwitch.trough {
- background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active,
-.primary-toolbar GtkSwitch.trough:active {
- background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive.png"), url("assets/switch-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-selected.png"), url("assets/switch-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:insensitive,
-.primary-toolbar GtkSwitch.trough:insensitive {
- background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
-
-.list-row:selected GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
-
-.header-bar GtkSwitch.trough:active:insensitive,
-.primary-toolbar GtkSwitch.trough:active:insensitive {
- background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
-
/*************************
* Check and Radio items *
*************************/
diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss
index 9dea751..0b492d5 100644
--- a/common/gtk-3.0/3.18/sass/_common.scss
+++ b/common/gtk-3.0/3.18/sass/_common.scss
@@ -2114,33 +2114,24 @@ GtkSwitch {
}
}
-@each $i,$j in ('',''), ('.list-row:selected ','-selected') {
+@each $k,$l in ('',''),
+ (':active','-active'),
+ (':insensitive','-insensitive'),
+ (':active:insensitive','-active-insensitive') {
- @each $k,$l in ('',''),
- (':active','-active'),
- (':insensitive','-insensitive'),
- (':active:insensitive','-active-insensitive') {
+ // load switch troughs from .png files in assets directory
- // load switch troughs from .png files in assets directory
-
- #{$i}GtkSwitch.trough#{$k} {
- background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png"));
- }
-
- .list-row:selected GtkSwitch.trough#{$k} {
- background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png"));
- }
-
- .header-bar GtkSwitch.trough#{$k},
- .primary-toolbar GtkSwitch.trough#{$k} {
- background-image: -gtk-scaled(url("assets/switch#{$l}-header#{$darker_asset_suffix}.png"),url("assets/switch#{$l}-header#{$darker_asset_suffix}@2.png"));
- }
+ GtkSwitch.trough#{$k} {
+ background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png"));
+ }
- // load switch sliders from .png files in assets directory
+ .list-row:selected GtkSwitch.trough#{$k} {
+ background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png"));
+ }
- //#{$i}GtkSwitch.slider#{$k} {
- // background-image: -gtk-scaled(url("assets/switch-slider#{$l}#{$j}#{$asset_suffix}.png"),url("assets/switch-slider#{$l}#{$j}#{$asset_suffix}@2.png"));
- //}
+ .header-bar GtkSwitch.trough#{$k},
+ .primary-toolbar GtkSwitch.trough#{$k} {
+ background-image: -gtk-scaled(url("assets/switch#{$l}-header#{$darker_asset_suffix}.png"),url("assets/switch#{$l}-header#{$darker_asset_suffix}@2.png"));
}
}