2019-11-01 17:16:40 +08:00
|
|
|
.loading {
|
2020-06-25 17:20:37 +08:00
|
|
|
text-align: center;
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 99999;
|
|
|
|
background-color: #f2f2f2;
|
2019-11-01 17:16:40 +08:00
|
|
|
}
|
|
|
|
|
2020-05-17 16:53:21 +08:00
|
|
|
.loading_night {
|
2020-06-25 17:20:37 +08:00
|
|
|
background-color: #303133;
|
2020-05-17 16:53:21 +08:00
|
|
|
}
|
|
|
|
|
2019-11-01 17:16:40 +08:00
|
|
|
.loading-wrapper {
|
2020-06-25 17:20:37 +08:00
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
-webkit-transform: translateX(-50%) translateY(-50%);
|
|
|
|
-moz-transform: translateX(-50%) translateY(-50%);
|
|
|
|
-ms-transform: translateX(-50%) translateY(-50%);
|
|
|
|
transform: translateX(-50%) translateY(-50%);
|
2019-11-01 17:16:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.loading-text {
|
2020-06-25 17:20:37 +08:00
|
|
|
line-height: 1.4;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 1rem;
|
2019-11-01 17:16:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.loading-anim {
|
2020-06-25 17:20:37 +08:00
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
border: 5px solid rgba(189, 189, 189, 0.25);
|
|
|
|
border-left-color: rgba(66, 185, 131, 0.9);
|
|
|
|
border-top-color: rgba(66, 185, 131, 0.9);
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
animation: rotate 600ms infinite linear;
|
2019-11-01 17:16:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotate {
|
2020-06-25 17:20:37 +08:00
|
|
|
to {
|
|
|
|
transform: rotate(1turn)
|
|
|
|
}
|
|
|
|
}
|