You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
2.0 KiB
SCSS
120 lines
2.0 KiB
SCSS
@import "src/colors";
|
|
|
|
:host {
|
|
display: block;
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.busy-indicator-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
display: block;
|
|
z-index: 998;
|
|
|
|
mat-progress-spinner {
|
|
z-index: 999;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.busy-indicator-overlay.blur {
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.busy-indicator-overlay.darken {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
hidden {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.loading-indicator-pulse-outer {
|
|
display: flex;
|
|
background-color: $primary;
|
|
animation-name: pulse-outer;
|
|
animation-duration: 2.5s;
|
|
border-radius: 1em;
|
|
width: 2em;
|
|
height: 2em;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
.loading-indicator-pulse-inner {
|
|
display: block;
|
|
margin: auto;
|
|
background-color: $primary-lighter-10;
|
|
animation-name: pulse-inner;
|
|
animation-duration: 2.5s;
|
|
border-radius: 0.5em;
|
|
width: 1em;
|
|
height: 1em;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
@keyframes pulse-outer {
|
|
2% {
|
|
border-radius: 1em;
|
|
width: 2em;
|
|
height: 2em;
|
|
}
|
|
|
|
48% {
|
|
border-radius: 2em;
|
|
width: 4em;
|
|
height: 4em;
|
|
}
|
|
|
|
52% {
|
|
border-radius: 2em;
|
|
width: 4em;
|
|
height: 4em;
|
|
}
|
|
|
|
98% {
|
|
border-radius: 1em;
|
|
width: 2em;
|
|
height: 2em;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse-inner {
|
|
15% {
|
|
border-radius: 0.5em;
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|
|
|
|
55% {
|
|
border-radius: 1.75em;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
}
|
|
|
|
65% {
|
|
border-radius: 1.75em;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
}
|
|
|
|
100% {
|
|
border-radius: 0.5em;
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|
|
}
|