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 {
|
2020-02-25 13:49:29 +01:00
|
|
|
|
background-color: #fffd33;
|
2020-02-24 17:31:51 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch:checked.restricts, switch:checked.restricts slider {
|
2020-02-25 13:49:29 +01:00
|
|
|
|
border-color: #ffd52b;
|
2020-02-24 17:31:51 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch:disabled.restricts {
|
|
|
|
|
border-color: @borders;
|
|
|
|
|
background-color: @insensitive_bg_color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch:disabled.restricts slider {
|
|
|
|
|
border-color: #bfb8b1;
|
|
|
|
|
}
|