Repository navigation
Expand file tree
/
Copy pathstylesheet-dark.css
More file actions
182 lines (150 loc) · 4.08 KB
/
Copy pathstylesheet-dark.css
File metadata and controls
182 lines (150 loc) · 4.08 KB
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
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Colours and shapes. Sizes that follow the settings are set from
appearance.js. Tints use an inset box-shadow inside a transparent border,
as the shell's panel buttons do, so the click area reaches the screen
edge while the tint stays clear of it. */
#panel .appbar-panel-button {
border: 0;
padding: 0;
background-color: transparent;
box-shadow: none;
-natural-hpadding: 0;
-minimum-hpadding: 0;
}
.appbar-box {
spacing: 0;
padding: 0 4px;
}
.appbar-app-button {
border: 3px solid transparent;
border-left-width: 0;
border-right-width: 0;
border-radius: 999px;
background-color: transparent;
box-shadow: inset 0 0 0 100px transparent;
transition-duration: 150ms;
/* Moves the running indicator down into the bottom border, where it
sat before the border. Read by appButton.js. */
-appbar-indicator-offset: 3px;
}
/* The same tints as the shell's own panel buttons. */
.appbar-app-button:hover {
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.17);
}
.appbar-app-button:active,
.appbar-app-button.menu-open {
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.28);
}
/* The focus ring of the shell's overview tiles. */
.appbar-app-button:focus {
box-shadow: inset 0 0 0 2px st-transparentize(st-mix(-st-accent-color, #ffffff, 60%), 0.2);
}
.appbar-indicator {
background-color: transparent;
transition-duration: 200ms;
}
.appbar-indicator.running {
background-color: rgba(255, 255, 255, 0.45);
}
.appbar-indicator.running.focused {
background-color: -st-accent-color;
}
.appbar-indicator.running.attention {
background-color: #f6d32d;
}
/* The shell's own dash label, in both colour schemes. */
.appbar-tooltip {
background-color: rgba(0, 0, 0, 0.9);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
border-radius: 999px;
padding: 6px 12px;
text-align: center;
}
.appbar-window-count {
background-color: -st-accent-color;
color: #ffffff;
border-radius: 99px;
font-size: 7pt;
font-weight: bold;
padding: 0 3px;
min-width: 8px;
text-align: center;
}
.appbar-preview {
background-color: rgba(0, 0, 0, 0.85);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
padding: 6px;
spacing: 4px;
}
.appbar-preview-item {
border-radius: 8px;
padding: 6px;
background-color: transparent;
transition-duration: 150ms;
}
.appbar-preview-item.focused {
background-color: rgba(255, 255, 255, 0.07);
}
.appbar-preview-item:hover,
.appbar-preview-item:focus {
background-color: rgba(255, 255, 255, 0.12);
}
.appbar-preview-item-box {
spacing: 6px;
}
.appbar-preview-header {
spacing: 4px;
}
.appbar-preview-title {
color: #ffffff;
font-size: 8.5pt;
}
.appbar-preview-close {
color: #ffffff;
border-radius: 999px;
padding: 3px;
background-color: transparent;
transition-duration: 150ms;
}
.appbar-preview-close:hover,
.appbar-preview-close:focus {
background-color: rgba(255, 255, 255, 0.17);
}
.appbar-preview-close:active {
background-color: rgba(255, 255, 255, 0.28);
}
.appbar-preview-close-icon {
icon-size: 12px;
}
.appbar-drag-placeholder {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 6px;
margin: 4px 0;
}
/* Bottom panel layout. Same colour as the top panel. */
.appbar-bottom-panel {
background-color: #000000;
}
/* Rounded tiles. The border keeps them off the panel edges and apart from
each other, and still takes clicks. */
/* The indicator stays inside the tile. */
.appbar-bottom-panel .appbar-app-button {
border-width: 4px 2px;
border-radius: 12px;
-appbar-indicator-offset: 0;
}
.appbar-bottom-panel .appbar-app-button.focused {
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.08);
}
.appbar-bottom-panel .appbar-app-button:hover {
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.14);
}
.appbar-bottom-panel .appbar-app-button:active,
.appbar-bottom-panel .appbar-app-button.menu-open {
box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.2);
}
.appbar-bottom-panel .appbar-app-button:focus {
box-shadow: inset 0 0 0 2px st-transparentize(st-mix(-st-accent-color, #ffffff, 60%), 0.2);
}