mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-07 10:57:08 +08:00
style: 统一加载图标
This commit is contained in:
@@ -7,16 +7,12 @@
|
||||
<link rel="stylesheet" href="/static/css/loading.css" type="text/css" />
|
||||
<title></title>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<section class="init-box">
|
||||
<div class="init-loading">
|
||||
<div class="init-loading-rect"></div>
|
||||
<div class="init-loading-rect"></div>
|
||||
<div class="init-loading-rect"></div>
|
||||
<div class="init-loading-rect"></div>
|
||||
<div class="init-loading-rect"></div>
|
||||
<img src="/static/images/loading.svg" class="init-loading-icon" alt="loading" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
@@ -14,36 +14,14 @@ body {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.init-loading-rect {
|
||||
background-color: #007aff;
|
||||
height: 100%;
|
||||
width: 15%;
|
||||
animation: init-wave 1.2s infinite ease-in-out;
|
||||
}
|
||||
|
||||
.init-loading-rect:nth-child(1) {
|
||||
animation-delay: -1.2s;
|
||||
}
|
||||
.init-loading-rect:nth-child(2) {
|
||||
animation-delay: -1.1s;
|
||||
}
|
||||
.init-loading-rect:nth-child(3) {
|
||||
animation-delay: -1s;
|
||||
}
|
||||
.init-loading-rect:nth-child(4) {
|
||||
animation-delay: -0.9s;
|
||||
}
|
||||
.init-loading-rect:nth-child(5) {
|
||||
animation-delay: -0.8s;
|
||||
}
|
||||
|
||||
@keyframes init-wave {
|
||||
0%,
|
||||
40%,
|
||||
100% {
|
||||
transform: scaleY(0.4);
|
||||
@keyframes arco-loading-circle {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
20% {
|
||||
transform: scaleY(1);
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.init-loading-icon {
|
||||
animation: arco-loading-circle 1s infinite cubic-bezier(0,0,1,1);
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user