更换loading图
This commit is contained in:
parent
2ce0e422d4
commit
523fdf272d
@ -19,197 +19,113 @@
|
|||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chromeframe {
|
.first-loading-wrp {
|
||||||
margin: 0.2em 0;
|
display: flex;
|
||||||
background: #ccc;
|
flex-direction: column;
|
||||||
color: #000;
|
align-items: center;
|
||||||
padding: 0.2em 0;
|
justify-content: center;
|
||||||
|
height: 90vh;
|
||||||
|
min-height: 90vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader-wrapper {
|
.first-loading-wrp>h1 {
|
||||||
position: fixed;
|
font-size: 30px;
|
||||||
top: 0;
|
font-weight: bolder;
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
z-index: 999999;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader {
|
.first-loading-wrp .loading-wrp {
|
||||||
display: block;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 98px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dot {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 50%;
|
box-sizing: border-box;
|
||||||
top: 50%;
|
display: inline-block;
|
||||||
width: 150px;
|
width: 64px;
|
||||||
height: 150px;
|
height: 64px;
|
||||||
margin: -75px 0 0 -75px;
|
font-size: 64px;
|
||||||
border-radius: 50%;
|
transform: rotate(45deg);
|
||||||
border: 3px solid transparent;
|
animation: antRotate 1.2s infinite linear;
|
||||||
border-top-color: #FFF;
|
|
||||||
-webkit-animation: spin 2s linear infinite;
|
|
||||||
-ms-animation: spin 2s linear infinite;
|
|
||||||
-moz-animation: spin 2s linear infinite;
|
|
||||||
-o-animation: spin 2s linear infinite;
|
|
||||||
animation: spin 2s linear infinite;
|
|
||||||
z-index: 1001;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader:before {
|
.dot i {
|
||||||
content: "";
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
display: block;
|
||||||
left: 5px;
|
width: 28px;
|
||||||
right: 5px;
|
height: 28px;
|
||||||
bottom: 5px;
|
background-color: #1890ff;
|
||||||
border-radius: 50%;
|
border-radius: 100%;
|
||||||
border: 3px solid transparent;
|
opacity: 0.3;
|
||||||
border-top-color: #FFF;
|
transform: scale(0.75);
|
||||||
-webkit-animation: spin 3s linear infinite;
|
transform-origin: 50% 50%;
|
||||||
-moz-animation: spin 3s linear infinite;
|
animation: antSpinMove 1s infinite linear alternate;
|
||||||
-o-animation: spin 3s linear infinite;
|
|
||||||
-ms-animation: spin 3s linear infinite;
|
|
||||||
animation: spin 3s linear infinite;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader:after {
|
.dot i:nth-child(1) {
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: 15px;
|
|
||||||
left: 15px;
|
|
||||||
right: 15px;
|
|
||||||
bottom: 15px;
|
|
||||||
border-radius: 50%;
|
|
||||||
border: 3px solid transparent;
|
|
||||||
border-top-color: #FFF;
|
|
||||||
-moz-animation: spin 1.5s linear infinite;
|
|
||||||
-o-animation: spin 1.5s linear infinite;
|
|
||||||
-ms-animation: spin 1.5s linear infinite;
|
|
||||||
-webkit-animation: spin 1.5s linear infinite;
|
|
||||||
animation: spin 1.5s linear infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@-webkit-keyframes spin {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
-ms-transform: rotate(0deg);
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
-ms-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes spin {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
-ms-transform: rotate(0deg);
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
-ms-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#loader-wrapper .loader-section {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 51%;
|
|
||||||
height: 100%;
|
|
||||||
background: #7171C6;
|
|
||||||
z-index: 1000;
|
|
||||||
-webkit-transform: translateX(0);
|
|
||||||
-ms-transform: translateX(0);
|
|
||||||
transform: translateX(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader-wrapper .loader-section.section-left {
|
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loader-wrapper .loader-section.section-right {
|
.dot i:nth-child(2) {
|
||||||
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
-webkit-animation-delay: 0.4s;
|
||||||
|
animation-delay: 0.4s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dot i:nth-child(3) {
|
||||||
.loaded #loader-wrapper .loader-section.section-left {
|
right: 0;
|
||||||
-webkit-transform: translateX(-100%);
|
bottom: 0;
|
||||||
-ms-transform: translateX(-100%);
|
-webkit-animation-delay: 0.8s;
|
||||||
transform: translateX(-100%);
|
animation-delay: 0.8s;
|
||||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
||||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.loaded #loader-wrapper .loader-section.section-right {
|
.dot i:nth-child(4) {
|
||||||
-webkit-transform: translateX(100%);
|
bottom: 0;
|
||||||
-ms-transform: translateX(100%);
|
left: 0;
|
||||||
transform: translateX(100%);
|
-webkit-animation-delay: 1.2s;
|
||||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
animation-delay: 1.2s;
|
||||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.loaded #loader {
|
@keyframes antRotate {
|
||||||
opacity: 0;
|
to {
|
||||||
-webkit-transition: all 0.3s ease-out;
|
-webkit-transform: rotate(405deg);
|
||||||
transition: all 0.3s ease-out;
|
transform: rotate(405deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.loaded #loader-wrapper {
|
@-webkit-keyframes antRotate {
|
||||||
visibility: hidden;
|
to {
|
||||||
-webkit-transform: translateY(-100%);
|
-webkit-transform: rotate(405deg);
|
||||||
-ms-transform: translateY(-100%);
|
transform: rotate(405deg);
|
||||||
transform: translateY(-100%);
|
}
|
||||||
-webkit-transition: all 0.3s 1s ease-out;
|
|
||||||
transition: all 0.3s 1s ease-out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-js #loader-wrapper {
|
@keyframes antSpinMove {
|
||||||
display: none;
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-js h1 {
|
@-webkit-keyframes antSpinMove {
|
||||||
color: #222222;
|
to {
|
||||||
}
|
opacity: 1;
|
||||||
|
}
|
||||||
#loader-wrapper .load_title {
|
|
||||||
font-family: 'Open Sans';
|
|
||||||
color: #FFF;
|
|
||||||
font-size: 19px;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
z-index: 9999999999999;
|
|
||||||
position: absolute;
|
|
||||||
top: 60%;
|
|
||||||
opacity: 1;
|
|
||||||
line-height: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#loader-wrapper .load_title span {
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: italic;
|
|
||||||
font-size: 13px;
|
|
||||||
color: #FFF;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<div id="loader-wrapper">
|
<div class="first-loading-wrp">
|
||||||
<div id="loader"></div>
|
<div class="loading-wrp">
|
||||||
<div class="loader-section section-left"></div>
|
<span class="dot dot-spin"> <i></i> <i></i> <i></i> <i></i> </span>
|
||||||
<div class="loader-section section-right"></div>
|
</div>
|
||||||
<div class="load_title">Loading...</div>
|
<h2></h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user