fork-reap-design
Version:
A high quality UI components Library with Vue.js
141 lines (126 loc) • 3.04 kB
text/less
.aui-layout-home-skeleton {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #eee;
}
.aui-spin {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
position: absolute;
display: none;
color: #1890ff;
text-align: center;
vertical-align: middle;
opacity: 0;
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86),
-webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.aui-spin-spinning {
position: static;
display: inline-block;
opacity: 1;
}
.aui-spin-dot {
position: relative;
display: inline-block;
font-size: 32px;
width: 32px;
height: 32px;
}
.aui-spin-dot-item {
position: absolute;
display: block;
width: 16px;
height: 16px;
background-color: @primary-color;
border-radius: 100%;
-webkit-transform: scale(0.75);
-ms-transform: scale(0.75);
transform: scale(0.75);
-webkit-transform-origin: 50% 50%;
-ms-transform-origin: 50% 50%;
transform-origin: 50% 50%;
opacity: 0.3;
-webkit-animation: auiSpinMove 1s infinite linear alternate;
animation: auiSpinMove 1s infinite linear alternate;
}
.aui-spin-dot-item:nth-child(1) {
top: 0;
left: 0;
}
.aui-spin-dot-item:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.aui-spin-dot-item:nth-child(3) {
right: 0;
bottom: 0;
-webkit-animation-delay: 0.8s;
animation-delay: 0.8s;
}
.aui-spin-dot-item:nth-child(4) {
bottom: 0;
left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s;
}
.aui-spin-dot-spin {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: auiRotate 1.2s infinite linear;
animation: auiRotate 1.2s infinite linear;
}
.aui-spin-lg .aui-spin-dot {
font-size: 32px;
width: 32px;
height: 32px;
}
.aui-spin-lg .aui-spin-dot i {
width: 14px;
height: 14px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.aui-spin-blur {
background: #fff;
opacity: 0.5;
}
}
@-webkit-keyframes auiSpinMove {
to {
opacity: 1;
}
}
@keyframes auiSpinMove {
to {
opacity: 1;
}
}
@-webkit-keyframes auiRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}
@keyframes auiRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
}