1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-23 18:34:25 +04:00
Files
tabler/scss/ui/_progress.scss
2020-01-26 23:39:00 +01:00

62 lines
882 B
SCSS

@keyframes progress-indeterminate {
0% {
right: 100%;
left: -35%;
}
100%,
60% {
right: -90%;
left: 100%;
}
}
.progress {
position: relative;
width: 100%;
line-height: $progress-height;
appearance: none;
&::-webkit-progress-bar {
background: $gray-100;
}
&::-webkit-progress-value {
background-color: $primary;
}
&::-moz-progress-bar {
background-color: $primary;
}
&::-ms-fill {
background-color: $primary;
border: none;
}
}
.progress-sm {
height: .25rem;
}
.progress-bar {
height: 100%;
}
.progress-bar-indeterminate {
&:after,
&:before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
content: "";
background-color: inherit;
will-change: left, right;
}
&:before {
animation: progress-indeterminate 2.1s cubic-bezier(.65, .815, .735, .395) infinite;
}
}