forked from ddrilling/asb_cloud_front
Обновлены стили загрузки
This commit is contained in:
parent
b7ceee2fca
commit
5b4ba6c6f2
@ -1,21 +1,26 @@
|
||||
/* original from https://loading.io/css/ */
|
||||
|
||||
@loader-bg: rgba(255, 255, 255, 0.1);
|
||||
@loader-color: rgb(226, 29, 29);
|
||||
|
||||
.lds-ripple {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
.lds-ripple div {
|
||||
|
||||
& div {
|
||||
position: absolute;
|
||||
border: 4px solid rgb(226, 29, 29);
|
||||
border: 4px solid @loader-color;
|
||||
opacity: 1;
|
||||
border-radius: 50%;
|
||||
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
||||
}
|
||||
.lds-ripple div:nth-child(2) {
|
||||
|
||||
& div:nth-child(2) {
|
||||
animation-delay: -0.5s;
|
||||
}
|
||||
}
|
||||
@keyframes lds-ripple {
|
||||
0% {
|
||||
top: 36px;
|
||||
@ -46,12 +51,12 @@
|
||||
grid-column-start: 1;
|
||||
grid-column-end: span 3;
|
||||
grid-row-start: 1;
|
||||
}
|
||||
|
||||
.loader-content.loader-content-fill {
|
||||
&.loader-content-fill {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.loader-overlay {
|
||||
grid-column-start: 1;
|
||||
@ -70,9 +75,9 @@
|
||||
grid-column-start: 1;
|
||||
grid-column-end: span 3;
|
||||
grid-row-start: 1;
|
||||
background-color: rgba(255, 255, 255, 0.4);
|
||||
background-color: @loader-bg;
|
||||
align-self: stretch;
|
||||
justify-self: stretch;
|
||||
z-index: 1;
|
||||
box-shadow: 0px 0px 6px 5px rgba(255, 254, 254, 0.4);
|
||||
box-shadow: 0px 0px 6px 5px @loader-bg;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
@import '../components/loader.css';
|
||||
@import '../components/loader.less';
|
||||
|
||||
#root, .app{
|
||||
min-height:100%;
|
||||
|
Loading…
Reference in New Issue
Block a user