mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-05 13:18:48 +08:00
106 lines
1.8 KiB
CSS
106 lines
1.8 KiB
CSS
* {
|
|
margin: 0;
|
|
}
|
|
.first-loading-wrp {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
background-color: #17171a;
|
|
}
|
|
.first-loading-wrp > h1 {
|
|
font-size: 128px;
|
|
}
|
|
.first-loading-wrp .loading-wrp {
|
|
padding: 98px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.dot {
|
|
animation: antRotate 1.2s infinite linear;
|
|
transform: rotate(45deg);
|
|
position: relative;
|
|
display: inline-block;
|
|
font-size: 32px;
|
|
width: 32px;
|
|
height: 32px;
|
|
box-sizing: border-box;
|
|
}
|
|
.dot i {
|
|
width: 14px;
|
|
height: 14px;
|
|
position: absolute;
|
|
display: block;
|
|
background-color: #1890ff;
|
|
border-radius: 100%;
|
|
transform: scale(0.75);
|
|
transform-origin: 50% 50%;
|
|
opacity: 0.3;
|
|
animation: antSpinMove 1s infinite linear alternate;
|
|
}
|
|
.dot i:nth-child(1) {
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.dot i:nth-child(2) {
|
|
top: 0;
|
|
right: 0;
|
|
-webkit-animation-delay: 0.4s;
|
|
animation-delay: 0.4s;
|
|
}
|
|
.dot i:nth-child(3) {
|
|
right: 0;
|
|
bottom: 0;
|
|
-webkit-animation-delay: 0.8s;
|
|
animation-delay: 0.8s;
|
|
}
|
|
.dot i:nth-child(4) {
|
|
bottom: 0;
|
|
left: 0;
|
|
-webkit-animation-delay: 1.2s;
|
|
animation-delay: 1.2s;
|
|
}
|
|
@keyframes antRotate {
|
|
to {
|
|
-webkit-transform: rotate(405deg);
|
|
transform: rotate(405deg);
|
|
}
|
|
}
|
|
@-webkit-keyframes antRotate {
|
|
to {
|
|
-webkit-transform: rotate(405deg);
|
|
transform: rotate(405deg);
|
|
}
|
|
}
|
|
@keyframes antSpinMove {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@-webkit-keyframes antSpinMove {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* 小屏处理 0~1000*/
|
|
.mobile-terminal {
|
|
display: none;
|
|
}
|
|
@media (max-width: 1000px) {
|
|
#app {
|
|
display: none;
|
|
}
|
|
.mobile-terminal {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
font-weight: 200;
|
|
background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
|
|
}
|
|
} |