You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
2.4 KiB
CSS
110 lines
2.4 KiB
CSS
|
6 years ago
|
.ui-progressbar {
|
||
|
|
height: 1.2em;
|
||
|
|
text-align: left;
|
||
|
|
position: relative;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-determinate .ui-progressbar-value {
|
||
|
|
height: 100%;
|
||
|
|
width: 0%;
|
||
|
|
position: absolute;
|
||
|
|
display: none;
|
||
|
|
border: 0 none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-determinate .ui-progressbar-value-animate {
|
||
|
|
-webkit-transition: width 1s ease-in-out;
|
||
|
|
-moz-transition: width 1s ease-in-out;
|
||
|
|
-o-transition: width 1s ease-in-out;
|
||
|
|
transition: width 1s ease-in-out;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-determinate .ui-progressbar-label {
|
||
|
|
text-align: center;
|
||
|
|
height: 100%;
|
||
|
|
width: 100%;
|
||
|
|
position: absolute;
|
||
|
|
display: none;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-indeterminate {
|
||
|
|
height: .5em;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-indeterminate .ui-progressbar-value {
|
||
|
|
border: 0 none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-indeterminate .ui-progressbar-value::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
background-color: inherit;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
bottom: 0;
|
||
|
|
will-change: left, right;
|
||
|
|
-webkit-animation: ui-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
||
|
|
animation: ui-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ui-progressbar-indeterminate .ui-progressbar-value::after {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
background-color: inherit;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
bottom: 0;
|
||
|
|
will-change: left, right;
|
||
|
|
-webkit-animation: ui-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
||
|
|
animation: ui-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
||
|
|
-webkit-animation-delay: 1.15s;
|
||
|
|
animation-delay: 1.15s;
|
||
|
|
}
|
||
|
|
|
||
|
|
@-webkit-keyframes ui-progressbar-indeterminate-anim {
|
||
|
|
0% {
|
||
|
|
left: -35%;
|
||
|
|
right: 100%; }
|
||
|
|
60% {
|
||
|
|
left: 100%;
|
||
|
|
right: -90%; }
|
||
|
|
100% {
|
||
|
|
left: 100%;
|
||
|
|
right: -90%; }
|
||
|
|
}
|
||
|
|
@keyframes ui-progressbar-indeterminate-anim {
|
||
|
|
0% {
|
||
|
|
left: -35%;
|
||
|
|
right: 100%; }
|
||
|
|
60% {
|
||
|
|
left: 100%;
|
||
|
|
right: -90%; }
|
||
|
|
100% {
|
||
|
|
left: 100%;
|
||
|
|
right: -90%; }
|
||
|
|
}
|
||
|
|
|
||
|
|
@-webkit-keyframes ui-progressbar-indeterminate-anim-short {
|
||
|
|
0% {
|
||
|
|
left: -200%;
|
||
|
|
right: 100%; }
|
||
|
|
60% {
|
||
|
|
left: 107%;
|
||
|
|
right: -8%; }
|
||
|
|
100% {
|
||
|
|
left: 107%;
|
||
|
|
right: -8%; }
|
||
|
|
}
|
||
|
|
@keyframes ui-progressbar-indeterminate-anim-short {
|
||
|
|
0% {
|
||
|
|
left: -200%;
|
||
|
|
right: 100%; }
|
||
|
|
60% {
|
||
|
|
left: 107%;
|
||
|
|
right: -8%; }
|
||
|
|
100% {
|
||
|
|
left: 107%;
|
||
|
|
right: -8%; }
|
||
|
|
}
|