aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.0/widgets/switch.css
blob: 6b2170b6e611afef8d1968901eb99284ba99f00a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**********
 * switch *
 **********/
GtkSwitch {
    padding: 4px;
    border-radius: 0;
    font: bold condensed;
}

GtkSwitch.slider {
    border-width: 0;
    border-radius: 0;
    border-style: none;
    background-color: @theme_base_color;
    background-image: none;
}

GtkSwitch.slider:insensitive {
    background-color: @theme_bg_color;
    background-image: none;
}

GtkSwitch.trough {
    border-width: 1px;
    border-style: solid;
    border-color: @theme_bg_color;
    background-color: @switch_bg_color;
    background-image: none;
    color: @theme_selected_fg_color;
}

GtkSwitch.trough:active {
    background-color: @theme_selected_bg_color;
    background-image: none;
    color: @theme_selected_fg_color;
}

GtkSwitch.trough:insensitive {
    background-color: shade(@theme_bg_color, 1.04);
    background-image: none;
    color: mix(@theme_text_color, @theme_base_color, 0.4);
}