1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-27 05:19:58 +04:00
Files
tabler/scss/ui/_progress.scss
2019-07-10 17:12:52 +02:00

59 lines
875 B
SCSS

@keyframes progress-indeterminate {
0% {
left: -35%;
right: 100%
}
100%, 60% {
left: 100%;
right: -90%
}
}
.progress {
appearance: none;
background: $min-black;
height: .75rem;
line-height: .75rem;
position: relative;
width: 100%;
&::-webkit-progress-bar {
background: $min-black;
}
&::-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-indeterminate {
&:after,
&:before {
content: '';
position: absolute;
background-color: inherit;
left: 0;
will-change: left, right;
top: 0;
bottom: 0;
}
&:before {
animation: progress-indeterminate 2.1s cubic-bezier(.65, .815, .735, .395) infinite;
}
}