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

75 lines
1.1 KiB
CSS
Raw Normal View History

2020-12-26 02:01:32 +01:00
html {
background-color: var(--bg);
color: var(--fg);
}
2021-03-05 05:51:22 +01:00
#splash {
2020-12-26 02:01:32 +01:00
position: fixed;
2021-03-05 05:51:22 +01:00
z-index: 10000;
2020-12-26 02:01:32 +01:00
top: 0;
left: 0;
2021-03-05 15:23:00 +01:00
width: 100vw;
height: 100vh;
2020-12-26 02:01:32 +01:00
cursor: wait;
2021-03-05 05:51:22 +01:00
background-color: var(--bg);
opacity: 1;
transition: opacity 0.5s ease;
2020-12-26 02:01:32 +01:00
}
#splashIcon {
2020-12-26 02:01:32 +01:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 64px;
height: 64px;
2021-03-05 05:51:22 +01:00
pointer-events: none;
2020-12-26 02:01:32 +01:00
}
#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);
}
}