ok-admin/lib/loading/okLoading.css

371 lines
8.0 KiB
CSS
Raw Normal View History

2019-11-08 07:26:54 +00:00
.ok-loading {
2019-11-07 16:58:19 +00:00
background: #fbfbfb;
2019-11-08 15:54:40 +00:00
color: #333333;
font-size: 100%;
margin: 0;
padding: 0;
2019-11-07 16:58:19 +00:00
position: fixed;
2019-11-08 15:54:40 +00:00
top: 0;
2019-11-07 16:58:19 +00:00
left: 0;
right: 0;
bottom: 0;
z-index: 999;
}
2019-11-08 15:54:40 +00:00
.ok-loading.close {
animation: close 1s;
-webkit-animation: close 1s;
animation-fill-mode: forwards;
}
2019-11-07 16:58:19 +00:00
.loader {
2019-11-08 15:54:40 +00:00
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-mos-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
text-align: center;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default
2019-11-07 16:58:19 +00:00
}
.text {
2019-11-08 15:54:40 +00:00
position: absolute;
left: -1.3em;
top: -1.7em;
2019-11-07 16:58:19 +00:00
white-space: nowrap;
2019-11-08 15:54:40 +00:00
-webkit-animation: text 2s infinite;
-moz-animation: text 2s infinite;
-moz-animation: text 2s infinite;
-ms-animation: text 2s infinite;
-o-animation: text 2s infinite;
animation: text 2s infinite
2019-11-07 16:58:19 +00:00
}
.vertical {
2019-11-08 15:54:40 +00:00
position: absolute;
top: -1.84em;
left: -.4em;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg)
2019-11-07 16:58:19 +00:00
}
.horizontal {
2019-11-08 15:54:40 +00:00
position: absolute;
top: 0;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg)
2019-11-07 16:58:19 +00:00
}
.circlesup {
2019-11-08 15:54:40 +00:00
position: absolute;
top: -4.7em;
right: 12.1em
2019-11-07 16:58:19 +00:00
}
.circlesdwn {
2019-11-08 15:54:40 +00:00
position: absolute;
top: 2.5em;
right: -13.5em;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg)
2019-11-07 16:58:19 +00:00
}
.circle {
2019-11-08 15:54:40 +00:00
position: absolute;
width: 15em;
height: 15em;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: orbit 2s infinite;
-moz-animation: orbit 2s infinite;
-moz-animation: orbit 2s infinite;
-ms-animation: orbit 2s infinite;
-o-animation: orbit 2s infinite;
animation: orbit 2s infinite;
z-index: 5
2019-11-07 16:58:19 +00:00
}
.circle:after {
2019-11-08 15:54:40 +00:00
content: '';
position: absolute;
width: 2em;
height: 2em;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
-ms-border-radius: 100%;
-o-border-radius: 100%;
border-radius: 100%;
background: #13a3a5
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(2) {
2019-11-08 15:54:40 +00:00
-webkit-animation-delay: 100ms;
-moz-animation-delay: 100ms;
-ms-animation-delay: 100ms;
-o-animation-delay: 100ms;
animation-delay: 100ms;
z-index: 4
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(2):after {
2019-11-08 15:54:40 +00:00
background: #56bebf;
-webkit-transform: scale(.8, .8);
-moz-transform: scale(.8, .8);
-ms-transform: scale(.8, .8);
-o-transform: scale(.8, .8);
transform: scale(.8, .8)
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(3) {
2019-11-08 15:54:40 +00:00
-webkit-animation-delay: 225ms;
-moz-animation-delay: 225ms;
-ms-animation-delay: 225ms;
-o-animation-delay: 225ms;
animation-delay: 225ms;
z-index: 3
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(3):after {
2019-11-08 15:54:40 +00:00
background: #ffa489;
-webkit-transform: scale(.6, .6);
-moz-transform: scale(.6, .6);
-ms-transform: scale(.6, .6);
-o-transform: scale(.6, .6);
transform: scale(.6, .6)
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(4) {
2019-11-08 15:54:40 +00:00
-webkit-animation-delay: 350ms;
-moz-animation-delay: 350ms;
-ms-animation-delay: 350ms;
-o-animation-delay: 350ms;
animation-delay: 350ms;
z-index: 2
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(4):after {
2019-11-08 15:54:40 +00:00
background: #ff6d37;
-webkit-transform: scale(.4, .4);
-moz-transform: scale(.4, .4);
-ms-transform: scale(.4, .4);
-o-transform: scale(.4, .4);
transform: scale(.4, .4)
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(5) {
2019-11-08 15:54:40 +00:00
-webkit-animation-delay: 475ms;
-moz-animation-delay: 475ms;
-ms-animation-delay: 475ms;
-o-animation-delay: 475ms;
animation-delay: 475ms;
z-index: 1
2019-11-07 16:58:19 +00:00
}
.circle:nth-child(5):after {
2019-11-08 15:54:40 +00:00
background: #db2f00;
-webkit-transform: scale(.2, .2);
-moz-transform: scale(.2, .2);
-ms-transform: scale(.2, .2);
-o-transform: scale(.2, .2);
transform: scale(.2, .2)
2019-11-07 16:58:19 +00:00
}
@-webkit-keyframes orbit {
0% {
2019-11-08 15:54:40 +00:00
-webkit-transform: rotate(45deg)
2019-11-07 16:58:19 +00:00
}
5% {
2019-11-08 15:54:40 +00:00
-webkit-transform: rotate(45deg);
-webkit-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
70% {
2019-11-08 15:54:40 +00:00
-webkit-transform: rotate(405deg);
-webkit-animation-timing-function: ease-in
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
-webkit-transform: rotate(405deg)
2019-11-07 16:58:19 +00:00
}
}
@-moz-keyframes orbit {
0% {
2019-11-08 15:54:40 +00:00
-moz-transform: rotate(45deg)
2019-11-07 16:58:19 +00:00
}
5% {
2019-11-08 15:54:40 +00:00
-moz-transform: rotate(45deg);
-moz-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
70% {
2019-11-08 15:54:40 +00:00
-moz-transform: rotate(405deg);
-moz-animation-timing-function: ease-in
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
-moz-transform: rotate(405deg)
2019-11-07 16:58:19 +00:00
}
}
@-ms-keyframes orbit {
0% {
2019-11-08 15:54:40 +00:00
-ms-transform: rotate(45deg)
2019-11-07 16:58:19 +00:00
}
5% {
2019-11-08 15:54:40 +00:00
-ms-transform: rotate(45deg);
-ms-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
70% {
2019-11-08 15:54:40 +00:00
-ms-transform: rotate(405deg);
-ms-animation-timing-function: ease-in
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
-ms-transform: rotate(405deg)
2019-11-07 16:58:19 +00:00
}
}
@-o-keyframes orbit {
0% {
2019-11-08 15:54:40 +00:00
-o-transform: rotate(45deg)
2019-11-07 16:58:19 +00:00
}
5% {
2019-11-08 15:54:40 +00:00
-o-transform: rotate(45deg);
-o-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
70% {
2019-11-08 15:54:40 +00:00
-o-transform: rotate(405deg);
-o-animation-timing-function: ease-in
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
-o-transform: rotate(405deg)
2019-11-07 16:58:19 +00:00
}
}
@keyframes orbit {
0% {
2019-11-08 15:54:40 +00:00
transform: rotate(45deg)
2019-11-07 16:58:19 +00:00
}
5% {
2019-11-08 15:54:40 +00:00
transform: rotate(45deg);
animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
70% {
2019-11-08 15:54:40 +00:00
transform: rotate(405deg);
animation-timing-function: ease-in
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
transform: rotate(405deg)
2019-11-07 16:58:19 +00:00
}
}
@-webkit-keyframes text {
0% {
2019-11-08 15:54:40 +00:00
-webkit-transform: scale(.2, .2);
-webkit-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
40%, 60% {
2019-11-08 15:54:40 +00:00
-webkit-transform: scale(1, 1);
-webkit-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
70%, 100% {
2019-11-08 15:54:40 +00:00
-webkit-transform: scale(.2, .2)
2019-11-07 16:58:19 +00:00
}
}
@-moz-keyframes text {
0% {
2019-11-08 15:54:40 +00:00
-moz-transform: scale(.2, .2);
-moz-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
50% {
2019-11-08 15:54:40 +00:00
-moz-transform: scale(1, 1);
-moz-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
60% {
2019-11-08 15:54:40 +00:00
-moz-transform: scale(1, 1);
-moz-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
-moz-transform: scale(.2, .2)
2019-11-07 16:58:19 +00:00
}
}
@-o-keyframes text {
0% {
2019-11-08 15:54:40 +00:00
-o-transform: scale(.2, .2);
-o-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
50% {
2019-11-08 15:54:40 +00:00
-o-transform: scale(1, 1);
-o-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
60% {
2019-11-08 15:54:40 +00:00
-o-transform: scale(1, 1);
-o-animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
-o-transform: scale(.2, .2)
2019-11-07 16:58:19 +00:00
}
}
@keyframes text {
0% {
2019-11-08 15:54:40 +00:00
transform: scale(.2, .2);
animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
50% {
2019-11-08 15:54:40 +00:00
transform: scale(1, 1);
animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
60% {
2019-11-08 15:54:40 +00:00
transform: scale(1, 1);
animation-timing-function: ease-out
2019-11-07 16:58:19 +00:00
}
100% {
2019-11-08 15:54:40 +00:00
transform: scale(.2, .2)
2019-11-07 16:58:19 +00:00
}
}
2019-11-08 15:54:40 +00:00
/*@keyframes close {
0% {
opacity: 1;
display: block;
}
100% {
opacity: 0;
display: none;
}
}
@-ms-keyframes close {
0% {
opacity: 1;
display: block;
}
100% {
opacity: 0;
display: none;
}
}
@-o-keyframes close {
0% {
opacity: 1;
display: block;
}
100% {
opacity: 0;
display: none;
}
}
@-moz-keyframes close {
0% {
opacity: 1;
display: block;
}
100% {
opacity: 0;
display: none;
}
}*/
@-webkit-keyframes close {
0% {
opacity: 1;
/*display: block;*/
}
100% {
opacity: 0;
/*display: none;*/
}
}