iceshrimp/packages/backend/src/server/web/style.css

118 lines
1.7 KiB
CSS
Raw Normal View History

2020-12-26 10:01:32 +09:00
html {
background-color: var(--bg);
color: var(--fg);
}
2021-03-05 13:51:22 +09:00
#splash {
2020-12-26 10:01:32 +09:00
position: fixed;
2021-03-05 13:51:22 +09:00
z-index: 10000;
2020-12-26 10:01:32 +09:00
top: 0;
left: 0;
2021-03-05 23:23:00 +09:00
width: 100vw;
height: 100vh;
2020-12-26 10:01:32 +09:00
cursor: wait;
2021-03-05 13:51:22 +09:00
background-color: var(--bg);
opacity: 1;
2022-07-19 13:47:32 +09:00
transition: opacity 0.2s ease;
2020-12-26 10:01:32 +09:00
}
#splashIcon {
2020-12-26 10:01:32 +09:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 64px;
height: 64px;
2021-03-05 13:51:22 +09:00
pointer-events: none;
2022-07-19 13:47:32 +09:00
animation-duration: 1s;
animation-iteration-count: infinite;
animation-name: tada;
2020-12-26 10:01:32 +09:00
}
#splashSpinner {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
display: inline-block;
width: 28px;
height: 28px;
2022-07-19 13:47:32 +09:00
transform: translateY(110px);
display: none !important;
color: var(--accent);
}
#splashSpinner > .spinner {
position: absolute;
top: 0;
left: 0;
width: 28px;
height: 28px;
fill-rule: evenodd;
clip-rule: evenodd;
stroke-linecap: round;
stroke-linejoin: round;
stroke-miterlimit: 1.5;
}
#splashSpinner > .spinner.bg {
opacity: 0.275;
}
#splashSpinner > .spinner.fg {
animation: splashSpinner 0.5s linear infinite;
}
@keyframes splashSpinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
2022-07-19 13:47:32 +09:00
@keyframes tada {
0% {
transform: scale3d(1, 1, 1);
}
10%,
20% {
transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
}
30%,
50%,
70%,
90% {
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
}
40%,
60%,
80% {
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
}
100% {
transform: scale3d(1, 1, 1);
}
}
#splashText {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
display: inline-block;
width: 70%;
height: 0;
text-align: center;
padding-top: 100px;
font-family: sans-serif;
}