1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

remove superfluous stuff

This commit is contained in:
Horst3180 2015-09-21 21:31:16 +02:00
parent 04b91afc84
commit 79f2324d50
21 changed files with 42 additions and 789 deletions

View File

@ -1753,46 +1753,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1756,46 +1756,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1753,46 +1753,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1756,46 +1756,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1756,46 +1756,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1756,46 +1756,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1906,33 +1906,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 ('',''), // load switch troughs from .png files in assets directory
(':active','-active'),
(':insensitive','-insensitive'),
(':active:insensitive','-active-insensitive') {
// load switch troughs from .png files in assets directory GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png"));
}
#{$i}GtkSwitch.trough#{$k} { .list-row:selected GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png")); background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png"));
} }
.list-row:selected GtkSwitch.trough#{$k} { .header-bar GtkSwitch.trough#{$k},
background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png")); .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"));
.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"));
}
// load switch sliders from .png files in assets directory
//#{$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"));
//}
} }
} }

View File

@ -1811,46 +1811,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1814,46 +1814,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1811,46 +1811,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1814,46 +1814,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1814,46 +1814,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1814,46 +1814,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -2014,33 +2014,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 ('',''), // load switch troughs from .png files in assets directory
(':active','-active'),
(':insensitive','-insensitive'),
(':active:insensitive','-active-insensitive') {
// load switch troughs from .png files in assets directory GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png"));
}
#{$i}GtkSwitch.trough#{$k} { .list-row:selected GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png")); background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png"));
} }
.list-row:selected GtkSwitch.trough#{$k} { .header-bar GtkSwitch.trough#{$k},
background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png")); .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"));
.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"));
}
// load switch sliders from .png files in assets directory
//#{$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"));
//}
} }
} }

View File

@ -1942,46 +1942,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1945,46 +1945,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1942,46 +1942,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1945,46 +1945,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1949,46 +1949,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -1949,46 +1949,6 @@ GtkSwitch.trough:active:insensitive {
.primary-toolbar 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")); } 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 * * Check and Radio items *
*************************/ *************************/

View File

@ -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 ('',''), // load switch troughs from .png files in assets directory
(':active','-active'),
(':insensitive','-insensitive'),
(':active:insensitive','-active-insensitive') {
// load switch troughs from .png files in assets directory GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png"));
}
#{$i}GtkSwitch.trough#{$k} { .list-row:selected GtkSwitch.trough#{$k} {
background-image: -gtk-scaled(url("assets/switch#{$l}#{$asset_suffix}.png"),url("assets/switch#{$l}#{$asset_suffix}@2.png")); background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png"));
} }
.list-row:selected GtkSwitch.trough#{$k} { .header-bar GtkSwitch.trough#{$k},
background-image: -gtk-scaled(url("assets/switch#{$l}-selected.png"),url("assets/switch#{$l}-selected@2.png")); .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"));
.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"));
}
// load switch sliders from .png files in assets directory
//#{$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"));
//}
} }
} }