forked from G-dH/vertical-workspaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
454 lines (384 loc) · 9.09 KB
/
stylesheet.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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
/*
* V-Shell (Vertical Workspaces)
* stylesheet.css
*/
/* General dash */
#dash.vertical {
margin: 0px;
padding: 0px;
}
#dash.vertical .app-well-app,
#dash.vertical .show-apps {
/* left/right padding exceeds dash bg by 6px
to cover the spacing between dash and the edge of the screen
so the icons will be selectable even at the edge
this spacing must be accounted for in overview allocate() */
padding-right: 24px;
padding-left: 24px;
/*spacing between icons*/
padding-top: 1px;
padding-bottom: 1px;
margin: 0px;
}
#dash.vertical .dash-separator {
height: 1px;
margin-right: 2px;
margin-left: 2px;
margin-top: 4px;
margin-bottom: 4px;
}
#dash.vertical .overview-icon {
padding: 5px 0;
}
#dash.vertical .app-well-app-running-dot {
margin: 4px 0px;
}
#dash.vertical .app-grid-running-dot-custom {
margin: 4px 0px;
width: 2px;
height: 16px;
}
#dash.vertical .dash-background {
margin: 0px;
}
#dash.vertical-gs3-left .dash-background {
border-radius: 0 18px 18px 0;
border-left: 0px;
padding: 8px 12px 8px 4px;
margin-left: 0;
}
#dash.vertical-gs3-right .dash-background {
border-radius: 18px 0 0 18px;
border-right: 0px;
padding: 8px 4px 8px 12px;
margin-right: 0;
}
#dash.vertical-gs3-left {
margin-right: 12px;
margin-left: 0px;
padding: 0px;
}
#dash.vertical-gs3-right {
margin-right: 0px;
margin-left: 12px;
padding: 0px;
}
#dash.vertical-gs3-left .app-well-app,
#dash.vertical-gs3-left .show-apps,
#dash.vertical-gs3-right .app-well-app,
#dash.vertical-gs3-right .show-apps {
/* left/right padding exceeds dash bg by 6px to
cover spacing between dash icons and the edge of the screen
so the icons will be selectable even at the edge
this spacing must be accounted for in overview allocate() */
padding: 0;
padding-right: 9px;
padding-left: 9px;
}
.dash-background-light {
background-color: rgb(200, 200, 200);
border-color: rgba(150, 150, 150, 0.4);
}
.app-grid-running-dot-custom {
width: 16px;
height: 2px;
}
.dash-label {
border-radius: 14px;
}
/* add shadow to the app grid app label to be readable if it overlaps light icon below */
.overview-icon-with-label, .folder-name-label {
text-shadow: 1px 1px 3px rgba(33, 33, 33, 0.5);
}
/* adjustment for the vertical ws switcher indicator popup */
.ws-switcher-indicator {
padding: 3px;
margin: 5px;
}
.ws-switcher-indicator:active {
padding: 5px;
margin: 3px;
}
/* ws thumbnails captions */
.ws-tmb-label {
padding: 2px;
color: rgb(255, 255, 255);
background-color: rgba(40,40,40,0.8);
text-align: center;
}
.workspace-thumbnail-indicator {
border-radius: 6px;
}
.ws-tmb-labeled {
border: 0px;
}
.ws-tmb-transparent {
border: 0px;
background-color: rgba(200, 200, 200, 0.16);
}
/* app grid page indicators */
.page-indicator-icon {
margin: 0px;
}
.page-indicator {
padding: 0px;
}
.page-indicators {
spacing: 20px;
margin: 0;
}
.page-indicators-horizontal {
margin-top: 0px;
margin-bottom: 10px;
}
.page-indicators-vertical {
margin-left: 0px;
margin-right: 10px;
}
.search-entry{
margin: 0;
margin-top: 12px;
margin-bottom: 6px;
background-color: rgba(200, 200, 200, 0.1);
color: white;
border-color: rgba(160, 160, 160, 0.4);
}
.search-entry StLabel.hint-text {
color: rgba(200, 200, 200, 0.5);
}
.search-entry:hover,
.search-entry:focus {
background-color: rgba(200, 200, 200, 0.1);
}
.search-entry-om2 {
color: white;
background-color: rgba(40, 40, 40, 1);
}
.search-entry-om2:hover,
.search-entry-om2:focus {
background-color: rgba(50, 50, 50, 1);
}
/* for static ws mode */
/*.search-section-content-bg,*/
.search-section-content-bg-om2 {
border-radius: 26px;
border: 1px, rgb(60, 60, 60);
padding-top: 15px;
background-color: rgb(40, 40, 40);
}
/* Reduce edge fading of search results scroll view */
.vfade { -st-vfade-offset: 34px; }
.hfade { -st-hfade-offset: 34px; }
StButton#vhandle,
.search-section-content {
background-color: rgba(200, 200, 200, 0.08);
border: solid 1px rgba(150, 150, 150, 0.3);
}
.search-section {
spacing: 12px;
}
/* "no results" / "searching..." text*/
.search-statustext, .search-statustext-om2 {
background-color: rgba(200, 200, 200, 0.08);
color: white;
margin-top: 50px;
padding: 30px;
border-radius: 20px;
text-shadow: 0px 0px 5px rgb(23, 23, 23);
}
.search-statustext-om2 {
background-color: rgb(40, 40, 40);
border: 1px rgba(200, 200, 200, 0.1);
}
#panel:overview, .transparent-panel {
background-color: transparent;
}
/* reduce spacing between app icons in search results */
.grid-search-results {
spacing: 8px;
margin-left: 12px;
margin-right: 12px;
}
.show-apps-icon-horizontal-hide {
width: 0;
margin: 0;
spacing: 0;
}
.show-apps-icon-vertical-hide {
height: 0;
margin: 0;
spacing: 0;
}
.workspace-close-button {
color: white;
background-color: dimgrey;
width: 18px;
height: 18px;
padding: 2px;
margin: 2px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
border: 0px;
border-radius: 35px;
}
.workspace-close-button-hover {
background-color: rgb(255, 0, 0);
}
/* ws tmb placeholder */
.placeholder-vertical {
background-size: contain;
height: 18px;
}
.prev-page-indicator {
background-gradient-start: transparent;
background-gradient-end: rgba(255, 255, 255, 0.05);
background-gradient-direction: vertical;
border-radius: 0px 0px 30px 30px;
}
.next-page-indicator {
background-gradient-start: rgba(255, 255, 255, 0.05);
background-gradient-end: transparent;
background-gradient-direction: vertical;
border-radius: 30px 30px 0px 0px;
}
/* reduce size of hot corner ripples to half */
.ripple-box {
width: 26px;
height: 26px;
}
.osd-window {
margin: 4em;
margin-bottom: 8em; /* avoid overlap with dock extension */
}
.app-folder-dialog-container {
padding: 18px;
}
.app-folder-dialog {
border-color: rgba(160, 160, 160, 0.3);
}
.folder-name-container {
spacing: 12px;
}
/* 46 changes the default bg color from transparent to the solid color blending with widget background */
#dash.dash-46 .show-apps,
#dash.dash-46 .overview-tile,
#dash.dash-46 .overview-icon,
.app-folder-45 .overview-icon, /* 45 only */
.app-folder-46 .overview-icon,
.page-navigation-arrow,
.search-provider-icon,
.list-search-result,
.grid-search-result,
.overview-tile {
background-color: transparent;
}
/* GS 47 removed the top margin that V-Shell needs */
#dash.dash-46 {
margin-top: 12px;
}
/* Needed only for 46+, but doesn't hurt 45 */
#dash.dash-46 .overview-tile:hover .overview-icon,
#dash.dash-46 .overview-tile:focus .overview-icon,
#dash.dash-46 .overview-tile:selected .overview-icon,
#dash.dash-46 .show-apps:hover .overview-icon,
#dash.dash-46 .show-apps:focus .overview-icon,
#dash.dash-46 .show-apps:selected .overview-icon,
.edit-folder-button:hover,
.page-navigation-arrow:hover,
.search-provider-icon:hover,
.search-provider-icon:focus,
.search-provider-icon:selected,
.list-search-result:hover,
.list-search-result:focus,
.list-search-result:selected,
.app-display-46 .overview-tile:hover,
.app-display-46 .overview-tile:focus,
.app-display-46 .overview-tile:selected,
.app-folder-46:hover,
.app-folder-45:hover .overview-icon,
.app-folder-45:focus .overview-icon,
#searchResults .overview-tile:hover,
#searchResults .overview-tile:focus,
#searchResults .overview-tile:selected,
.grid-search-result-46:hover,
.grid-search-result-46:focus,
.grid-search-result-46:selected,
.app-folder-dialog .overview-tile:hover,
.app-folder-dialog .overview-tile:focus,
.app-folder-dialog .overview-tile:selected,
.overview-icon:hover,
.overview-icon:focus,
.overview-icon:selected {
background-color: rgba(200, 200, 200, 0.15);
}
.overview-tile:drop, /* 46 needs to add color so the highlighting style is visible on the app folder preview */
.app-folder-dialog,
.edit-folder-button,
.folder-name-entry,
.app-folder-46,
.app-folder-46 .overview-tile,
.app-folder-45 .overview-icon,
.edit-folder-button,
.folder-name-entry {
background-color: rgba(200, 200, 200, 0.08);
}
#dash.vertical-46 {
margin: 0px;
padding: 0px;
}
#dash.vertical-46-gs3-left {
margin-left: 0px;
margin-right: 12px;
}
#dash.vertical-46-gs3-right {
margin-right: 0px;
margin-left: 12px;
}
#dash.vertical-46 .overview-tile,
#dash.vertical-46 .show-apps {
margin: 0px;
background-color: transparent;
/* this padding should keep the dash 6px from the screen edge */
padding: 0, 24px;
}
#dash.vertical-46 .dash-separator {
height: 1px;
margin-right: 2px;
margin-left: 2px;
margin-top: 4px;
margin-bottom: 4px;
}
#dash.vertical-46 .app-grid-running-dot {
margin: 0px;
offset-y: 0;
}
#dash.vertical-46 .app-grid-running-dot-custom {
margin: 0px;
width: 2px;
height: 16px;
offset-y: 0;
}
#dash.vertical-46 .dash-background {
padding: 12px;
margin: 0;
}
#dash.vertical-46-gs3-left .overview-tile,
#dash.vertical-46-gs3-left .show-apps {
/* this padding should extend the icon tile to the edge of the dash background */
padding: 0, 12px;
}
#dash.vertical-46-gs3-right .overview-tile,
#dash.vertical-46-gs3-right .show-apps {
padding: 0, 12px;
}
#dash.vertical-46-gs3-left .dash-background {
border-radius: 0 18px 18px 0;
border-left: 0px;
}
#dash.vertical-46-gs3-right .dash-background {
border-radius: 18px 0 0 18px;
border-right: 0px;
}
/* reverse padding */
.ws-switcher-vertical {
padding: 18px 12px
}