aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.20/widgets/csd.css
blob: 0d1fd617526e39212a261a34f6ec925eb021bbb1 (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
118
119
120
121
122
123
124
125
/*******
 * CSD *
 *******/
.titlebar {
    /* border-width: 5px; */
    border-style: solid;
    border-color: @tooltip_bg_color;
/*    border-image: linear-gradient(to left,
		shade(@selected_bg_color, 1.20) 25%,
		shade(@selected_bg_color, 1.05) 25%,
		shade(@selected_bg_color, 1.05) 50%,
		shade(@selected_bg_color, 0.90) 50%,
		shade(@selected_bg_color, 0.90) 75%,
		shade(@selected_bg_color, 0.75) 75%) 5 0 0 0/ 5px 0 0 0;*/
    background-image: none;
    background-color: @tooltip_bg_color;
    color: @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-weight: bold;
}

.titlebar {
	padding: 3px;
}

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

.titlebutton {
    padding: 4px;
    border-style: none;
    /*background-color: @button_normal_color;*/
    color: mix(@fg_color, @bg_color, 0.1);
    -gtk-icon-shadow: none;
}

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

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

.titlebar .right .titlebutton:first-child {
    background: none;
}
/*

.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(@fg_color, @bg_color, 0.4);
    -gtk-icon-shadow: none;
}

.window-frame {
    background-image: none;
    border-width: 2px;
    border-style: solid;
    border-color: @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: @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;
}

/*GtkSeparator separator .separator.vertical.titlebutton {
    background-color: @selected_bg_color;
}*/