2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Refactor: drop all custom .progress-bar styles and replace with <progress> element

This commit is contained in:
Mark Otto
2014-07-09 01:39:34 -07:00
parent 79f56dbea9
commit 54537b500e
11 changed files with 479 additions and 338 deletions
+11 -6
View File
@@ -1,10 +1,15 @@
// Progress bars
.progress-bar-variant(@color) {
background-color: @color;
// Deprecated parent class requirement as of v3.2.0
.progress-striped & {
#gradient > .striped();
.progress-variant(@color) {
&[value]::-webkit-progress-value {
background-color: @color;
}
&[value]::-moz-progress-bar {
background-color: @color;
}
@media screen and (~"min-width:0\0") {
.progress-bar {
background-color: @color;
}
}
}