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:
parent
10e49cb553
commit
14f7d68760
@ -1813,15 +1813,15 @@ headerbar switch,
|
|||||||
.primary-toolbar switch {
|
.primary-toolbar switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active,
|
row:selected switch:checked,
|
||||||
infobar switch:active {
|
infobar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active,
|
headerbar switch:checked,
|
||||||
.primary-toolbar switch:active {
|
.primary-toolbar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
||||||
|
|
||||||
switch:disabled {
|
switch:disabled {
|
||||||
@ -1835,15 +1835,15 @@ headerbar switch:disabled,
|
|||||||
.primary-toolbar 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")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active:disabled,
|
row:selected switch:checked:disabled,
|
||||||
infobar switch:active:disabled {
|
infobar switch:checked:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active:disabled,
|
headerbar switch:checked:disabled,
|
||||||
.primary-toolbar switch:active: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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
|
||||||
|
|
||||||
check,
|
check,
|
||||||
|
@ -1812,15 +1812,15 @@ headerbar switch,
|
|||||||
.primary-toolbar switch {
|
.primary-toolbar switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active,
|
row:selected switch:checked,
|
||||||
infobar switch:active {
|
infobar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active,
|
headerbar switch:checked,
|
||||||
.primary-toolbar switch:active {
|
.primary-toolbar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
||||||
|
|
||||||
switch:disabled {
|
switch:disabled {
|
||||||
@ -1834,15 +1834,15 @@ headerbar switch:disabled,
|
|||||||
.primary-toolbar 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")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active:disabled,
|
row:selected switch:checked:disabled,
|
||||||
infobar switch:active:disabled {
|
infobar switch:checked:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active:disabled,
|
headerbar switch:checked:disabled,
|
||||||
.primary-toolbar switch:active: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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
|
||||||
|
|
||||||
check,
|
check,
|
||||||
|
@ -1813,15 +1813,15 @@ headerbar switch,
|
|||||||
.primary-toolbar switch {
|
.primary-toolbar switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-dark.png"), url("assets/switch-active-dark@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active,
|
row:selected switch:checked,
|
||||||
infobar switch:active {
|
infobar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active,
|
headerbar switch:checked,
|
||||||
.primary-toolbar switch:active {
|
.primary-toolbar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
||||||
|
|
||||||
switch:disabled {
|
switch:disabled {
|
||||||
@ -1835,15 +1835,15 @@ headerbar switch:disabled,
|
|||||||
.primary-toolbar 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")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-dark.png"), url("assets/switch-active-insensitive-dark@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active:disabled,
|
row:selected switch:checked:disabled,
|
||||||
infobar switch:active:disabled {
|
infobar switch:checked:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active:disabled,
|
headerbar switch:checked:disabled,
|
||||||
.primary-toolbar switch:active: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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
|
||||||
|
|
||||||
check,
|
check,
|
||||||
|
@ -1812,15 +1812,15 @@ headerbar switch,
|
|||||||
.primary-toolbar switch {
|
.primary-toolbar switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-header-dark.png"), url("assets/switch-header-dark@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active,
|
row:selected switch:checked,
|
||||||
infobar switch:active {
|
infobar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active,
|
headerbar switch:checked,
|
||||||
.primary-toolbar switch:active {
|
.primary-toolbar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-header-dark.png"), url("assets/switch-active-header-dark@2.png")); }
|
||||||
|
|
||||||
switch:disabled {
|
switch:disabled {
|
||||||
@ -1834,15 +1834,15 @@ headerbar switch:disabled,
|
|||||||
.primary-toolbar 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")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active:disabled,
|
row:selected switch:checked:disabled,
|
||||||
infobar switch:active:disabled {
|
infobar switch:checked:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active:disabled,
|
headerbar switch:checked:disabled,
|
||||||
.primary-toolbar switch:active: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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header-dark.png"), url("assets/switch-active-insensitive-header-dark@2.png")); }
|
||||||
|
|
||||||
check,
|
check,
|
||||||
|
@ -1816,15 +1816,15 @@ headerbar switch,
|
|||||||
.primary-toolbar switch {
|
.primary-toolbar switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active,
|
row:selected switch:checked,
|
||||||
infobar switch:active {
|
infobar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active,
|
headerbar switch:checked,
|
||||||
.primary-toolbar switch:active {
|
.primary-toolbar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
|
||||||
|
|
||||||
switch:disabled {
|
switch:disabled {
|
||||||
@ -1838,15 +1838,15 @@ headerbar switch:disabled,
|
|||||||
.primary-toolbar switch:disabled {
|
.primary-toolbar switch:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active:disabled,
|
row:selected switch:checked:disabled,
|
||||||
infobar switch:active:disabled {
|
infobar switch:checked:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active:disabled,
|
headerbar switch:checked:disabled,
|
||||||
.primary-toolbar switch:active: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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
|
||||||
|
|
||||||
check,
|
check,
|
||||||
|
@ -1816,15 +1816,15 @@ headerbar switch,
|
|||||||
.primary-toolbar switch {
|
.primary-toolbar switch {
|
||||||
background-image: -gtk-scaled(url("assets/switch-header.png"), url("assets/switch-header@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active.png"), url("assets/switch-active@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active,
|
row:selected switch:checked,
|
||||||
infobar switch:active {
|
infobar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-selected.png"), url("assets/switch-active-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active,
|
headerbar switch:checked,
|
||||||
.primary-toolbar switch:active {
|
.primary-toolbar switch:checked {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-header.png"), url("assets/switch-active-header@2.png")); }
|
||||||
|
|
||||||
switch:disabled {
|
switch:disabled {
|
||||||
@ -1838,15 +1838,15 @@ headerbar switch:disabled,
|
|||||||
.primary-toolbar switch:disabled {
|
.primary-toolbar switch:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-insensitive-header.png"), url("assets/switch-insensitive-header@2.png")); }
|
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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive.png"), url("assets/switch-active-insensitive@2.png")); }
|
||||||
|
|
||||||
row:selected switch:active:disabled,
|
row:selected switch:checked:disabled,
|
||||||
infobar switch:active:disabled {
|
infobar switch:checked:disabled {
|
||||||
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-selected.png"), url("assets/switch-active-insensitive-selected@2.png")); }
|
||||||
|
|
||||||
headerbar switch:active:disabled,
|
headerbar switch:checked:disabled,
|
||||||
.primary-toolbar switch:active: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")); }
|
background-image: -gtk-scaled(url("assets/switch-active-insensitive-header.png"), url("assets/switch-active-insensitive-header@2.png")); }
|
||||||
|
|
||||||
check,
|
check,
|
||||||
|
@ -1957,9 +1957,9 @@ switch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@each $k,$l in ('',''),
|
@each $k,$l in ('',''),
|
||||||
(':active','-active'),
|
(':checked','-active'),
|
||||||
(':disabled','-insensitive'),
|
(':disabled','-insensitive'),
|
||||||
(':active:disabled','-active-insensitive') {
|
(':checked:disabled','-active-insensitive') {
|
||||||
|
|
||||||
// load switch troughs from .png files in assets directory
|
// load switch troughs from .png files in assets directory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user