-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.css
200 lines (158 loc) · 3.56 KB
/
default.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/*
* GTK doesn't support CSS vars, so use their syntax
*/
@define-color Highlight rgba(107, 82, 166, 1.0);
@define-color Indicator rgba(240, 240, 240, 0.5);
@define-color PanelBackground rgba(16, 16, 16, 0.8);
@define-color ModuleBackground rgba(0, 0, 0, 0.0);
@define-color NotificationBackground rgba(32, 32, 32, 1.0);
@define-color Border rgba(64, 64, 64, 0.4);
flowbox,
flowboxchild {
padding: 0;
}
#panel {
background-color: @PanelBackground;
}
#panel.top {
border-bottom: @Border 1px solid;
}
#panel.right {
border-left: @Border 1px solid;
}
#panel.bottom {
border-top: @Border 1px solid;
}
#panel.left {
border-right: @Border 1px solid;
}
.module {
background-color: @ModuleBackground;
}
.top .module {
border-radius: 0 0 8px 8px;
}
.right .module {
border-radius: 8px 0 0 8px;
}
.bottom .module {
border-radius: 8px 8px 0 0;
}
.left .module {
border-radius: 0 8px 8px 0;
}
#pager .workspace {
background-color: alpha(@ModuleBackground, 0.3);
border: @Border 1px solid;
border-radius: 4px;
}
#pager .workspace.live {
background-color: alpha(@Highlight, 0.2);
}
#pager .workspace.active {
border: alpha(@Highlight, 0.8) 1px solid;
}
#pager .workspace .workspaceLabel {
background-color: alpha(@ModuleBackground, 0.8);
font-size: 10px;
}
#pager .workspace .client {
border: alpha(@Highlight, 0.4) 1px solid;
background-color: alpha(@Highlight, 0.3);
border-radius: 4px;
}
#pager .workspace .client.active {
border: alpha(@Highlight, 0.9) 1px solid;
background-color: alpha(@Highlight, 0.7);
}
#taskbar .client {
border: rgba(0, 0, 0, 0) 1px solid;
border-radius: 4px;
}
#taskbar .client.hover {
border: alpha(@Highlight, 0.3) 1px solid;
background-color: alpha(@Highlight, 0.3);
}
#taskbar .client.active {
border: alpha(@Highlight, 0.6) 1px solid;
background-color: alpha(@Highlight, 0.6);
}
/* Text sizing in GTK sucks, let the user deal with it */
#clock #clockTime {
font-size: 1.2rem;
font-weight: 500;
}
#clock #clockDate {
font-size: 0.6rem;
}
#sessionOverlay {
background-color: alpha(@PanelBackground, 0.7);
font-size: 2rem;
}
#sessionOverlay button {
border-radius: 20px;
}
#spacer {
background-color: rgba(0, 0, 0, 0);
}
#taskbar .indicator {
border: lighter(alpha(@Indicator, 0.9)) 1px solid;
border-radius: 2px;
background-color: @Indicator;
}
#notificationsOverlay {
background-color: rgba(0, 0, 0, 0);
}
.notification {
border: @Border 1px solid;
border-width: 2px;
background-color: alpha(@NotificationBackground, 0.7);
border-radius: 16px;
transition: background-color 300ms ease-in-out;
}
.notification.hover {
background-color: @NotificationBackground;
transition: background-color 300ms ease-in-out;
}
.notification .notificationIcon {
margin: 8px 0px 8px 8px;
}
.notification .notificationSummary {
margin: 8px 12px 0px 12px;
}
.notification .notificationBody {
margin: 8px 12px 12px 12px;
}
.notification button {
border-radius: 0;
border: 0;
}
.notification .notificationActions button:first-child {
border-bottom-left-radius: 16px;
}
.notification .notificationActions button:last-child {
border-bottom-right-radius: 16px;
}
#hudOverlay {
background-color: rgba(0, 0, 0, 0);
}
.hudNotification {
border: @Border 1px solid;
border-width: 2px;
background-color: alpha(@NotificationBackground, 0.7);
border-radius: 16px;
transition: background-color 300ms ease-in-out;
}
.hudNotification .hudIcon {
margin: 16px;
}
.hudNotification .hudTitle {
margin: 0px 12px 0px 12px;
}
.hudNotification .hudBody {
margin: 8px 12px 16px 12px;
}
.hudNotification .hudPercent {
margin: 0px 12px 16px 12px;
font-size: 2rem;
}