blob: af8b2938840f8af65f9efa24b4eb90c42fe94bd5 [file] [log] [blame]
gio1bf00802024-08-17 12:31:41 +04001:root:not([data-theme]) {
2 --pico-background-color: unset;
3 --pico-color: unset;
4}
5
6:root {
7 --bg: #d6d6d6;
8 --bodyBg: #3a3a3a;
9 --text: #3a3a3a;
10 --formText: #d6d6d6;
11 --button: #7f9f7f;
12 --logo: #d4888d;
13 --fontSize: 14px;
14}
15
16body {
17 margin: 0;
18 padding: 0;
19 font-family: Hack, monospace;
20 display: flex;
21 height: 100vh;
22 padding-left: 0 !important;
23 padding-right: 0 !important;
24 background-color: var(--bodyBg);
25 overflow-x: hidden;
26 overflow-y: hidden;
27}
28
29#left-panel {
30 width: 80px;
31 background-color: var(--bg);
32 display: flex;
33 flex-direction: column;
34 align-items: center;
35}
36
37.app-list {
38 display: flex;
39 flex-direction: column;
40 align-items: center;
41 overflow-y: auto;
42 overflow-x: hidden;
43 padding-top: 3px;
44 width: 95% !important;
45}
46
47.scrollbar-custom {
48 scrollbar-width: thin;
49 scrollbar-color: var(--bodyBg) var(--bg);
50}
51
52.scrollbar-custom::-webkit-scrollbar {
53 width: 6px;
54}
55
56.scrollbar-custom::-webkit-scrollbar-track {
57 background-color: var(--bg) !important;
58}
59
60.scrollbar-custom::-webkit-scrollbar-thumb {
61 background-color: var(--bodyBg) !important;
62 border-radius: 4px !important;
63}
64
65.scrollbar-custom::-webkit-scrollbar-thumb:hover {
66 background-color: var(--bodyBg);
67}
68
69#right-panel {
70 flex: 1;
71 background-color: none !important;
72 padding: 0 0 0 2px;
73}
74
75.appFrame {
76 border-radius: 0;
77 width: 100%;
78 height: 100%;
79 border: 0;
80}
81
82.app-icon {
83 display: flex;
84 flex-direction: column;
85 align-items: center;
86 justify-content: center;
87 width: 80px !important;
88 height: 50px !important;
89 margin-bottom: 10px !important;
90 cursor: pointer !important;
91}
92
93@keyframes pulsate {
94 from { opacity: 1; }
95 10% { opacity: 0; }
96 20% { opacity: 1; }
97 30% { opacity: 0; }
98 40% { opacity: 1; }
99 50% { opacity: 0; }
100 60% { opacity: 1; }
101 70% { opacity: 0; }
102 80% { opacity: 1; }
103 90% { opacity: 0; }
104 to { opacity: 1; }
105}
106
107@keyframes fadeout {
108 /* TODO(gio): figure out why animating from 1 does not work */
109 from { opacity: 0.999; }
110 to { opacity: 0; }
111}
112
113.pulsate {
114 animation: pulsate 5s linear;
115}
116
117.fadeout {
118 animation: fadeout 2s ease-in;
119}
120
121.tooltip {
122 position: absolute;
123 width: 200px;
124 left: 80px;
125 transform: translateY(-50%);
126 background-color: var(--bodyBg);
127 padding: 5px;
128 z-index: 1;
129 display: flex;
130 flex-direction: column;
131 align-items: center;
132 visibility: hidden;
133 opacity: 0;
134 cursor: auto;
135 font-size: 16px;
136 box-shadow: 2px 2px 5px var(--bodyBg);
137}
138
139.help-button {
140 margin-top: 5px !important;
141 padding: 0 !important;
142 border: 0 !important;
143 margin-bottom: 1px !important;
144 width: 100% !important;
145 background-color: var(--button) !important;
146 color: var(--bodyBg) !important;
147 border-radius: 0 !important;
148 cursor: pointer !important;
149 font-size: 16px !important;
150}
151
152.tooltip p {
153 color: var(--formText);
154 margin: 0;
155 cursor: auto;
156 font-size: var(--fontSize);
157}
158
159.app-icon:hover {
160 transform: scale(1.15);
161}
162
163.modal-left {
164 overflow-y: auto;
165 float: left;
166 margin-left: 0px;
167 padding-right: 10px;
168 background-color: #fbfcfc;
169 border-radius: 2px;
170}
171
172.modal-right {
173 flex: 1;
174 overflow-y: auto;
175 float: right;
176 margin-left: 2px;
177 color: var(--bg);
178 padding-left: 10px;
179 padding-right: 10px;
180 font-size: 16px !important;
181}
182
183.app-help-modal {
184 position: fixed;
185 top: 0;
186 left: 0;
187 width: 100%;
188 height: 100%;
189 display: flex;
190 align-items: center;
191 justify-content: center;
192 flex-direction: column;
193 overflow: hidden;
194}
195
196.app-help-modal-article {
197 display: flex;
198 flex-direction: row;
199 width: 100%;
200 max-width: 100%;
201 min-height: 97%;
202 max-height: 97%;
203 overflow: hidden;
204}
205
206.app-info-modal-article header {
207 flex: 0 0 auto;
208}
209
210header {
211 display: flex;
212 justify-content: space-between;
213 align-items: center;
214 position: relative;
215 margin-bottom: 2px !important;
216 background-color: var(--bodyBg) !important;
217}
218
219header h4 {
220 color: var(--formText) !important;
221 padding-left: 10px;
222}
223
224.close-button {
225 padding: 0;
226 border: none;
227 background: none;
228 cursor: pointer;
229 outline: none;
230 width: 1.5em;
231 height: 1.5em;
232 position: absolute;
233 top: 11px;
234 right: 28px;
235}
236
237.modal-article {
238 min-width: 80% !important;
239 max-width: 80% !important;
240 min-height: 90% !important;
241 max-height: 90% !important;
242 overflow: hidden;
243 padding-left: 5px !important;
244 padding-right: 5px !important;
245}
246
247.help-content {
248 display: none;
249}
250
251.circle {
252 width: 50px;
253 height: 50px;
254 border-radius: 50%;
255 background-color: var(--bodyBg);
256 display: flex;
257 justify-content: center;
258 align-items: center;
259 margin-top: 2px;
260}
261
262#user-initial {
263 font-size: 24px;
264 text-align: center;
265 line-height: 50px;
266 margin: 0;
267 position: relative;
268 display: inline-block;
269 color: var(--logo);
270}
271
272.user-circle {
273 min-width: 80px !important;
274 max-width: 80px !important;
275 cursor: pointer;
276 display: flex;
277 align-items: center;
278 justify-content: center;
279}
280
281.separator {
282 margin-top: 2px !important;
283 margin-bottom: 4px !important;
284 border-width: 2px !important;
285 border-color: var(--bodyBg) !important;
286 width: 100% !important;
287}
288
289.modal-left ul {
290 padding-inline-start: 0px !important;
291 margin-bottom: 0px;
292 list-style: none;
293 font-size: 14px;
294}
295
296.modal-left ul li {
297 list-style: none !important;
298 padding-inline-start: 10px !important;
299 margin-bottom: 0px;
300 font-size: 16px !important;
301}
302
303.modal-left ul li a {
304 --pico-text-decoration: none;
305 cursor: pointer;
306}
307.modal-left ul li a[aria-current] {
308 color: var(--pico-primary);
309}
310
311.tooltip-user {
312 position: absolute;
313 top: 38.7px;
314 left: 80px;
315 transform: translateY(-50%);
316 width: 234px;
317 background-color: var(--bodyBg);
318 padding: 5px;
319 z-index: 1;
320 display: flex;
321 flex-direction: column;
322 align-items: center;
323 visibility: hidden;
324 opacity: 0;
325 cursor: auto;
326 box-shadow: 2px 2px 5px var(--bodyBg);
327}
328
329#logout-button {
330 margin-top: 5px !important;
331 padding: 0 !important;
332 border: 0 !important;
333 margin-bottom: 5px !important;
334 width: 100% !important;
335 cursor: pointer !important;
336 font-size: 19px !important;
337 border-radius: 0;
338 background-color: var(--button);
339 color: var(--text) !important;
340}
341
342.tooltip-user p {
343 color: white;
344 margin: 0;
345 cursor: auto;
346 font-size: 19px;
347 color: var(--logo);
348}