SillyTavern/public/css/loader.css

32 lines
748 B
CSS
Raw Permalink Normal View History

#preloader {
2023-10-31 21:16:33 +01:00
position: fixed;
margin: 0;
padding: 0;
top: 0;
left: 0;
z-index: 999999;
width: 100vw;
height: 100vh;
2024-07-14 23:42:16 +02:00
width: 100dvw;
height: 100dvh;
2023-10-31 21:16:33 +01:00
background-color: var(--SmartThemeBlurTintColor);
2023-11-01 04:40:21 +01:00
color: var(--SmartThemeBodyColor);
2024-07-04 00:46:02 +02:00
/*for some reason the full screen blur does not work on iOS*/
backdrop-filter: blur(30px);
2023-11-01 04:40:21 +01:00
opacity: 1;
2023-10-31 21:16:33 +01:00
}
2023-11-01 04:40:21 +01:00
#load-spinner {
2024-04-14 14:16:59 +02:00
--spinner-size: 2em;
2023-11-01 04:40:21 +01:00
transition: all 300ms ease-out;
opacity: 1;
2024-04-14 14:16:59 +02:00
top: calc(50% - var(--spinner-size) / 2);
left: calc(50% - var(--spinner-size) / 2);
position: absolute;
width: var(--spinner-size);
height: var(--spinner-size);
display: flex;
align-items: center;
justify-content: center;
}