svthalia/concrexit

View on GitHub
website/thaliawebsite/static/css/_progress.scss

Summary

Maintainability
Test Coverage
.progress {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: var(--card-background-hover);

    .progress-bar {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        background-color: var(--primary);

        @for $i from 1 through 100 {
            &.progress#{$i} {
                width: #{percentage($i/100)};
            }
        }
    }
}