winjs/winstrap

Progressbar doesn't change color for "progress-bar-danger" class, etc

Closed this issue · 2 comments

                <div class="progress progress-striped m-t-xxxs">
                    <div class="progress-bar progress-bar-warning" role="progressbar"
                         aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"
                         style="width: 50%;">
                        <span class="sr-only">50%</span>
                    </div>
                </div>

I solved it with small hotfix in my custom.css. I suggest to add "!important" in SASS files.

/* Progressbar fix */
.progress-bar-danger {
    background-color: #D02E00 !important;
}

Fixed in fc9fc86.