sigma-ng-progress
Version:
31 lines (28 loc) • 932 B
CSS
:host {
display: flex;
flex-direction: row; }
:host .value {
font-size: 12px;
padding: 0 10px; }
:host .bar {
flex: 1;
height: 18px;
overflow: hidden;
border-radius: 4px;
background-color: #f6f6f6;
box-shadow: 0 0 1px 0 #ccc; }
:host .bar > * {
height: 100%;
transition: width 300ms ease;
background-color: #40bda6; }
:host.striped > .bar > * {
background-size: 40px 40px;
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); }
:host.animation > .bar > * {
animation: progress-bar-stripes 2s linear infinite; }
@keyframes progress-bar-stripes {
0% {
background-position: 40px 0; }
100% {
background-position: 0 0; } }
/*# sourceMappingURL=bar.component.css.map */