aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.0/widgets/csd.css
blob: 61138aee57062141420bd07aaf89f0d135477f75 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/*******
 * CSD *
 *******/
.titlebar {
    border-width: 0;
    border-style: none;
    border-color: transparent;
/*    border-image: linear-gradient(to left,
		shade(@theme_selected_bg_color, 1.20) 25%,
		shade(@theme_selected_bg_color, 1.05) 25%,
		shade(@theme_selected_bg_color, 1.05) 50%,
		shade(@theme_selected_bg_color, 0.90) 50%,
		shade(@theme_selected_bg_color, 0.90) 75%,
		shade(@theme_selected_bg_color, 0.75) 75%) 5 0 0 0/ 5px 0 0 0;*/
    background-image: none;
    background-color: @theme_bg_color;
    color: @theme_fg_color;
    text-shadow: none;
}

/* this is the default titlebar that is added by GTK
 * when client-side decorations are in use and the application
 * did not set a custom titlebar.
 */
.titlebar.default-decoration {
    border: none;
    box-shadow: none;
}

.titlebar .title {
    font: bold;
}

.titlebar:backdrop {
    background-image: none;
    background-color: @theme_bg_color;
    color: mix(@theme_fg_color, @theme_bg_color, 0.4);
    text-shadow: none;
}

.titlebar .titlebutton {
    padding: 4px;
    border-style: none;
    background: none;
    color: mix(@theme_fg_color, @theme_bg_color, 0.1);
    icon-shadow: none;
}

.titlebar .titlebutton:hover,
.titlebar .titlebutton:hover:focus {
    background: none;
    color: @theme_selected_bg_color;
    icon-shadow: none;
}

.titlebar .titlebutton:active,
.titlebar .titlebutton:active:hover {
    background: none;
    color: shade(@theme_selected_bg_color, 0.9);
    icon-shadow: none;
    box-shadow: none;
}

/*
.titlebar .right .titlebutton:first-child {
    border-left: 1px solid shade(@toolbar_bg_color, 0.9);
}

.titlebar .right .titlebutton:last-child {
}

.titlebar .left .titlebutton:last-child {
    border-right: 1px solid shade(@toolbar_bg_color, 0.9);
}

.titlebar .left .titlebutton:first-child {
}
*/

.titlebar .titlebutton:backdrop {
    background-image: none;
    color: mix(@theme_fg_color, @theme_bg_color, 0.4);
    icon-shadow: none;
}

.window-frame {
    background-image: none;
    border-width: 2px;
    border-style: solid;
    border-color: @theme_bg_color;
    border-image: none;
    border-radius: 0;
    box-shadow: 0 3px 12px 2px alpha(black, 0.5);

    /* this is used for the resize cursor area */
    margin: 10px;
}

.window-frame:backdrop {
    border-width: 2px;
    border-color: @theme_bg_color;
    border-image: none;
    box-shadow: 0 2px 7px 1px alpha(black, 0.5);
}

GtkWindow {
    color: @fg_color;
    background-color: @bg_color;
}

GtkPaned {
    background-color: @bg_color;
}

GtkEventBox {
    background-color: @bg_color;
}