blob: 067fefce41325d93bfe2b093857b3101c81a1b23 (
plain)
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
|
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2024 metamuffin <metamuffin.org>
*/
@keyframes jst-fadein {
from {
background-color: transparent;
}
to {
background-color: var(--c-fade);
}
}
@keyframes jst-fadeout {
from {
background-color: var(--c-fade);
}
to {
background-color: transparent;
}
}
@keyframes jst-spin {
from {
transform: rotate(0turn);
}
from {
transform: rotate(-1turn);
}
}
.jst-fade {
position: fixed;
left: 0px;
top: 0px;
width: 100vw;
height: 100vh;
z-index: 10;
}
.jst-message {
position: fixed;
top: 50vh;
left: 50vw;
transform: translate(-50%, -50%);
font-size: large;
z-index: 11;
}
.jst-message.error {
color: var(--c-error);
}
.jst-message.success {
color: var(--c-success);
}
.jst-spinner {
position: fixed;
top: 50vh;
left: 50vw;
translate: -50% -50%;
color: var(--c-warn);
font-size: large;
z-index: 11;
animation-name: jst-spin;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
nav {
z-index: 11;
}
|