2020-02-24 17:31:51 +01:00
|
|
|
|
/* FIXME: This ‘negative’ variant of a GtkSwitch should probably be
|
|
|
|
|
* upstreamed to GTK. See https://gitlab.gnome.org/GNOME/gtk/issues/2470 */
|
|
|
|
|
switch:checked.restricts {
|
2022-07-16 00:42:30 +02:00
|
|
|
|
background-color: @yellow_5;
|
2020-02-24 17:31:51 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch:checked.restricts, switch:checked.restricts slider {
|
2022-07-16 00:42:30 +02:00
|
|
|
|
border-color: @yellow_3;
|
2020-02-24 17:31:51 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch:disabled.restricts {
|
|
|
|
|
border-color: @borders;
|
|
|
|
|
background-color: @insensitive_bg_color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch:disabled.restricts slider {
|
2022-07-16 00:42:30 +02:00
|
|
|
|
filter: grayscale(100%);
|
2020-02-24 17:31:51 +01:00
|
|
|
|
}
|