mirror of
https://github.com/WenPai-org/wpmind.git
synced 2025-08-04 03:29:33 +08:00
36 lines
626 B
SCSS
36 lines
626 B
SCSS
|
$move_to: 80%;
|
||
|
|
||
|
.mind-popup-loading-line {
|
||
|
position: relative;
|
||
|
margin-top: -1px;
|
||
|
height: 1px;
|
||
|
width: 100%;
|
||
|
// background-color: #fff;
|
||
|
|
||
|
span {
|
||
|
position: absolute;
|
||
|
display: block;
|
||
|
width: 60%;
|
||
|
left: 20%;
|
||
|
height: 1px;
|
||
|
background: linear-gradient(to right, rgba(0, 0, 0, 0%) 0%, rgba(0, 0, 0, 70%) 35%, rgba(0, 0, 0, 70%) 65%, rgba(0, 0, 0, 0%) 100%);
|
||
|
opacity: 0;
|
||
|
animation: mind-popup-loading 1.2s infinite ease-in-out;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@keyframes mind-popup-loading {
|
||
|
0% {
|
||
|
transform: scaleX(0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
50% {
|
||
|
transform: scaleX(1.3);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
transform: scaleX(2.6);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|