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

91 lines
1.3 KiB
CSS
Raw Normal View History

/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
2020-12-26 01:01:32 +00:00
html {
background-color: var(--bg);
color: var(--fg);
}
2021-03-05 04:51:22 +00:00
#splash {
2020-12-26 01:01:32 +00:00
position: fixed;
2021-03-05 04:51:22 +00:00
z-index: 10000;
2020-12-26 01:01:32 +00:00
top: 0;
left: 0;
2021-03-05 14:23:00 +00:00
width: 100vw;
height: 100vh;
2020-12-26 01:01:32 +00:00
cursor: wait;
2021-03-05 04:51:22 +00:00
background-color: var(--bg);
opacity: 1;
transition: opacity 0.5s ease;
2020-12-26 01:01:32 +00:00
}
#splashIcon {
2020-12-26 01:01:32 +00:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 64px;
height: 64px;
2021-03-05 04:51:22 +00:00
pointer-events: none;
2020-12-26 01:01:32 +00:00
}
#splashSpinner {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
display: inline-block;
width: 28px;
height: 28px;
transform: translateY(80px);
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);
}
}
#splashText {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
display: inline-block;
width: 70%;
height: 0;
text-align: center;
transform: translateY(40px);
}