summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/style.css
blob: 9c4cd4b9bff52f3e06a1764122ea26e2fd03abf3 (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
69
70
71
72
73
74
html {
	background-color: var(--bg);
	color: var(--fg);
}

#splash {
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	cursor: wait;
	background-color: var(--bg);
	opacity: 1;
	transition: opacity 0.5s ease;
}

#splashIcon {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 64px;
	height: 64px;
	pointer-events: none;
}

#splashSpinner {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	display: inline-block;
	width: 28px;
	height: 28px;
	transform: translateY(70px);
}

#splashSpinner:before,
#splashSpinner:after {
	content: " ";
	display: block;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: solid 4px;
}

#splashSpinner:before {
	border-color: currentColor;
	opacity: 0.3;
}

#splashSpinner:after {
	position: absolute;
	top: 0;
	border-color: currentColor transparent transparent transparent;
	animation: splashSpinner 0.5s linear infinite;
}

@keyframes splashSpinner {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}