aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.0/widgets/spinbutton.css
blob: c41847f4939d1fb1fb08e8057f1b0c8d59aec2d3 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/**************
 * spinbutton *
 **************/
.spinbutton .button {

    color: mix(@theme_text_color, @theme_base_color, 0.4);
    padding: 2px 4px;
    border-width: 0;
    border-radius: 0;
    border-style: none;
    background-color: transparent;
    background-image: none;
}

.spinbutton .button:insensitive {
    color: mix(@theme_text_color, @theme_base_color, 0.55);
}

.spinbutton .button:active,
.spinbutton .button:hover {
    color: @theme_fg_color;
}

.spinbutton .button:first-child {
    border-radius: 0;
    box-shadow: none;
}

.spinbutton .button:last-child {
    border-radius: 0;
}

.spinbutton .button:dir(rtl) {

}

.spinbutton.vertical .button {

    border-width: 1px;
    border-style: none;
    border-radius: 0;
    background-color: @theme_base_color;
    color: mix(@theme_text_color, @theme_base_color, 0.4);
    background-image: none;
    box-shadow: none;
}

.spinbutton.vertical .button:hover {
    color: @theme_fg_color;
    background-image: none;
}

.spinbutton.vertical .button:active {
    color: @theme_fg_color;
    background-image: none;
}

.spinbutton.vertical .button:active:hover {

}

.spinbutton.vertical .button:focus,
.spinbutton.vertical .button:hover:focus,
.spinbutton.vertical .button:active:focus,
.spinbutton.vertical .button:active:hover:focus {

}

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

.spinbutton.vertical .button:first-child {
    border-width: 1px 1px 0 1px;
    border-bottom-width: 0;
    border-radius: 0;
}

.spinbutton.vertical .button:last-child {
    border-width: 0 1px 1px 1px;
    border-top-width: 0;
    border-radius: 0;
}

.spinbutton.vertical.entry {
    border-width: 0;
    border-style: none;
    border-top-color: @theme_base_color;
    border-bottom-color: @theme_base_color;
    border-radius: 0;
}
.spinbutton.vertical.entry:insensitive {
    border-top-color:  shade(@theme_bg_color, 1.04);
    border-bottom-color: shade(@theme_bg_color, 1.04);
}
.spinbutton.vertical.entry:active,
.spinbutton.vertical.entry:focus {
    box-shadow: inset 4px 0 @theme_selected_bg_color;
}