aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.20/widgets/entry.css
blob: 110dc16a5c202fae1733b55dafde43da2eed7f86 (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
/*********
 * entry *
 *********/
entry {
    padding: 6px 8px;
    margin: 2px;
    border-width: 2px;
    border-style: solid;
    border-color: @base_color;
    border-radius: 3px;
    background-color: @base_color;
    background-image: none;
    color: @text_color;
    box-shadow: 0 2.5px 4.5px @shadow;
}

entry:active,
entry:focus {
    box-shadow: 0 1px 1px @shadow ,
        inset 0 -2px @selected_bg_color;
    transition: box-shadow 300ms cubic-bezier(0, 0, 0.2, 1);
}

entry:selected,
entry:selected:focus,
entry selection {
    background-color: @selected_bg_color;
    color: @selected_fg_color;
}

entry:disabled {
    background-color: shade(@bg_color, 1.04);
    border-color: shade(@bg_color, 1.04);
    background-image: none;
    color: @text_color_disabled
}

entry.progressbar {
    border-width: 0;
    border-radius: 0;
    background-color: @selected_bg_color;
    background-image: none;
    color: @selected_fg_color;
}