libmalcontent-ui: Restyle ‘restricts’ switches in yellow

This has fewer ‘error’ connotations than red. See
https://gitlab.freedesktop.org/pwithnall/malcontent/issues/11#note_419124.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: #11
This commit is contained in:
Philip Withnall 2020-02-25 12:49:29 +00:00
parent 3db3a42e8d
commit 2d43ac38ec
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
/* FIXME: This negative variant of a GtkSwitch should probably be /* FIXME: This negative variant of a GtkSwitch should probably be
* upstreamed to GTK. See https://gitlab.gnome.org/GNOME/gtk/issues/2470 */ * upstreamed to GTK. See https://gitlab.gnome.org/GNOME/gtk/issues/2470 */
switch:checked.restricts { switch:checked.restricts {
background-color: @error_color; background-color: #fffd33;
} }
switch:checked.restricts, switch:checked.restricts slider { switch:checked.restricts, switch:checked.restricts slider {
border-color: #8b0000; border-color: #ffd52b;
} }
switch:disabled.restricts { switch:disabled.restricts {