1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-06 03:12:26 +04:00
Files
tabler/scss/ui/_progress.scss
T
2019-12-13 17:13:42 +01:00

62 lines
885 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;
}
}