-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgtk-csd.css
164 lines (121 loc) · 3.62 KB
/
gtk-csd.css
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/* Titlebar colors and headerbar styling for GTK CSD */
/* Window borders */
decoration {
padding: 3px;
background-color: @bg_color;
border: 1px solid @bg_color;
border-right: 1px solid @borders;
border-bottom: 1px solid @borders;
box-shadow: 1px 1px @light_shadow inset, -1px -1px @dark_shadow inset;
border-radius: 0; }
/* Override previous menu settings if CSD is used */
.csd menu {
border: none;
padding: 0px;
margin: 0;
box-shadow: none; }
.csd menuitem {
margin: 0; }
.mate-panel-menu-bar menubar > menuitem:first-child menu .csd menu {
border: none;
padding: 0;
margin: 0;
box-shadow: none; }
/* Titlebar colors, label text and button and styling */
.titlebar {
margin-bottom: 0px; }
headerbar {
border-bottom: 1px solid @dark_shadow;
border-right: 1px solid @dark_shadow;
margin: 0;
padding-top: 1px;
padding-bottom: 0;
padding-left: 3px;
padding-right: 2px;
background-image: linear-gradient(to right, @active_title_color1, @active_title_color); }
headerbar:backdrop {
border-color: transparent;
background-image: linear-gradient(to right, @inactive_title_color, @inactive_title_color1) }
headerbar:first-child {
margin-left: 6px; }
.title, .subtitle {
color: @selected_fg_color;
font-weight: bold;
font-size: 9pt;
margin: 0;
padding: 0; }
.subtitle {
font-size: 8pt;
padding-bottom: 2px;
margin-bottom: 4px; }
.title:backdrop, .subtitle:backdrop {
color: @inactive_title_text; }
headerbar > widget > * label {
color: @active_title_text; }
headerbar:backdrop > widget > * label {
color: @inactive_title_text; }
headerbar entry {
margin-top: 2px;
margin-bottom: 2px;
border: 1px solid @dark_shadow;
box-shadow: none; }
.toolbar-cover-frame {
margin: 2px;
border-color: transparent;
background-color: transparent; }
headerbar button, headerbar:focus button {
min-height: 1px;
margin-right: 2px;
font-weight: bold;
font-size: 9pt;
background-color: transparent;
box-shadow: none;
border: 1px solid transparent;
color: @active_title_text;
padding: 2px; }
headerbar:backdrop button {
color: @inactive_title_text; }
headerbar button:hover {
color: @fg_color;
background-color: @bg_color;
border: 1px solid @borders;
border-top: 1px solid @light_shadow;
border-left: 1px solid @light_shadow;
box-shadow: -1px -1px @dark_shadow inset; }
/* Close, minimize and maximize buttons */
.titlebutton, .titlebutton:active, .titlebutton:hover, .titlebutton:backdrop {
border: none;
margin-right: 0px;
box-shadow: none;
-gtk-icon-source: none;
background-image: none;
background-color: transparent;
background-repeat: no-repeat;
color: transparent; }
.minimize, .minimize:hover, .minimize:backdrop {
background-image: url("assets/minimize_normal.png");
margin-top: 4px;
margin-right: -4px; }
.minimize:active {
background-image: url("assets/minimize_pressed.png"); }
.maximize, .maximize:hover, .maximize:backdrop {
background-image: url("assets/maximize_normal.png");
margin-top: 4px;
margin-left: -5px;
margin-right: -5px; }
.maximize:active {
background-image: url("assets/maximize_pressed.png"); }
.restore, .restore:hover, .restore:backdrop {
background-image: url("assets/restore_normal.png");
margin-top: 4px;
margin-left: -5px;
margin-right: -5px; }
.close, .close:hover, .close:backdrop {
margin-left: -4px;
margin-top: 4px;
background-image: url("assets/close_normal.png"); }
.close:active {
background-image: url("assets/close_pressed.png"); }
/* Restore close button background for info bar */
.error .close, .warning .close, .info .cose, .question .close {
background-image: none; }