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

active switches are now :checked (fix #441)

This commit is contained in:
Horst3180 2016-03-28 10:06:21 +02:00
parent 10e49cb553
commit 14f7d68760
7 changed files with 62 additions and 62 deletions

View File

@ -1813,15 +1813,15 @@ headerbar switch,
.primary-toolbar switch {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
switch:active {
switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
row:selected switch:active,
infobar switch:active {
row:selected switch:checked,
infobar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
headerbar switch:active,
.primary-toolbar switch:active {
headerbar switch:checked,
.primary-toolbar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
switch:disabled {
@ -1835,15 +1835,15 @@ headerbar switch:disabled,
.primary-toolbar switch:disabled {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
switch:active:disabled {
switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
row:selected switch:active:disabled,
infobar switch:active:disabled {
row:selected switch:checked:disabled,
infobar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
headerbar switch:active:disabled,
.primary-toolbar switch:active:disabled {
headerbar switch:checked:disabled,
.primary-toolbar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
check,

View File

@ -1812,15 +1812,15 @@ headerbar switch,
.primary-toolbar switch {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
switch:active {
switch:checked {
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
row:selected switch:active,
infobar switch:active {
row:selected switch:checked,
infobar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
headerbar switch:active,
.primary-toolbar switch:active {
headerbar switch:checked,
.primary-toolbar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
switch:disabled {
@ -1834,15 +1834,15 @@ headerbar switch:disabled,
.primary-toolbar switch:disabled {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
switch:active:disabled {
switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
row:selected switch:active:disabled,
infobar switch:active:disabled {
row:selected switch:checked:disabled,
infobar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
headerbar switch:active:disabled,
.primary-toolbar switch:active:disabled {
headerbar switch:checked:disabled,
.primary-toolbar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
check,

View File

@ -1813,15 +1813,15 @@ headerbar switch,
.primary-toolbar switch {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
switch:active {
switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
row:selected switch:active,
infobar switch:active {
row:selected switch:checked,
infobar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
headerbar switch:active,
.primary-toolbar switch:active {
headerbar switch:checked,
.primary-toolbar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
switch:disabled {
@ -1835,15 +1835,15 @@ headerbar switch:disabled,
.primary-toolbar switch:disabled {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
switch:active:disabled {
switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
row:selected switch:active:disabled,
infobar switch:active:disabled {
row:selected switch:checked:disabled,
infobar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
headerbar switch:active:disabled,
.primary-toolbar switch:active:disabled {
headerbar switch:checked:disabled,
.primary-toolbar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
check,

View File

@ -1812,15 +1812,15 @@ headerbar switch,
.primary-toolbar switch {
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
switch:active {
switch:checked {
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
row:selected switch:active,
infobar switch:active {
row:selected switch:checked,
infobar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
headerbar switch:active,
.primary-toolbar switch:active {
headerbar switch:checked,
.primary-toolbar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
switch:disabled {
@ -1834,15 +1834,15 @@ headerbar switch:disabled,
.primary-toolbar switch:disabled {
background-image: -gtk-scaled(url("assets/switch-insensitive-header-dark.png"), url("assets/switch-insensitive-header-dark@2.png")); }
switch:active:disabled {
switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
row:selected switch:active:disabled,
infobar switch:active:disabled {
row:selected switch:checked:disabled,
infobar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
headerbar switch:active:disabled,
.primary-toolbar switch:active:disabled {
headerbar switch:checked:disabled,
.primary-toolbar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
check,

View File

@ -1816,15 +1816,15 @@ headerbar switch,
.primary-toolbar switch {
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
switch:active {
switch:checked {
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
row:selected switch:active,
infobar switch:active {
row:selected switch:checked,
infobar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
headerbar switch:active,
.primary-toolbar switch:active {
headerbar switch:checked,
.primary-toolbar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
switch:disabled {
@ -1838,15 +1838,15 @@ headerbar switch:disabled,
.primary-toolbar switch:disabled {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
switch:active:disabled {
switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
row:selected switch:active:disabled,
infobar switch:active:disabled {
row:selected switch:checked:disabled,
infobar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
headerbar switch:active:disabled,
.primary-toolbar switch:active:disabled {
headerbar switch:checked:disabled,
.primary-toolbar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
check,

View File

@ -1816,15 +1816,15 @@ headerbar switch,
.primary-toolbar switch {
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
switch:active {
switch:checked {
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
row:selected switch:active,
infobar switch:active {
row:selected switch:checked,
infobar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
headerbar switch:active,
.primary-toolbar switch:active {
headerbar switch:checked,
.primary-toolbar switch:checked {
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
switch:disabled {
@ -1838,15 +1838,15 @@ headerbar switch:disabled,
.primary-toolbar switch:disabled {
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
switch:active:disabled {
switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
row:selected switch:active:disabled,
infobar switch:active:disabled {
row:selected switch:checked:disabled,
infobar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
headerbar switch:active:disabled,
.primary-toolbar switch:active:disabled {
headerbar switch:checked:disabled,
.primary-toolbar switch:checked:disabled {
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
check,

View File

@ -1957,9 +1957,9 @@ switch {
}
@each $k,$l in ('',''),
(':active','-active'),
(':checked','-active'),
(':disabled','-insensitive'),
(':active:disabled','-active-insensitive') {
(':checked:disabled','-active-insensitive') {
// load switch troughs from .png files in assets directory