File: restricts-switch.css

package info (click to toggle)
malcontent 0.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,756 kB
  • sloc: ansic: 7,418; python: 418; xml: 377; sh: 36; makefile: 14
file content (18 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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 {
  background-color: @yellow_5;
}

switch:checked.restricts, switch:checked.restricts slider {
  border-color: @yellow_3;
}

switch:disabled.restricts {
  border-color: @borders;
  background-color: @insensitive_bg_color;
}

switch:disabled.restricts slider {
  filter: grayscale(100%);
}