mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
progress bar for IE10+/Edge (radius, use ::-ms-fill, add variant mixins, striped support)
This commit is contained in:
parent
d5b57c3c4d
commit
97461a51a2
2 changed files with 18 additions and 2 deletions
|
@ -19,12 +19,19 @@
|
|||
margin-bottom: $spacer-y;
|
||||
}
|
||||
.progress[value] {
|
||||
// IE10 uses `color` to set the bar background-color
|
||||
color: #0074d9;
|
||||
// Set overall background
|
||||
background-color: #eee;
|
||||
// Remove Firefox and Opera border
|
||||
border: 0;
|
||||
// Reset the default appearance
|
||||
appearance: none;
|
||||
// Set overall border radius
|
||||
@include border-radius($border-radius);
|
||||
}
|
||||
.progress[value]::-ms-fill {
|
||||
background-color: #0074d9;
|
||||
// Remove right-hand border of value bar from IE10+/Edge
|
||||
border: 0;
|
||||
}
|
||||
.progress[value]::-webkit-progress-bar {
|
||||
background-color: #eee;
|
||||
|
@ -111,6 +118,10 @@
|
|||
@include gradient-striped();
|
||||
background-size: $spacer-y $spacer-y;
|
||||
}
|
||||
.progress-striped[value]::-ms-fill {
|
||||
@include gradient-striped();
|
||||
background-size: $spacer-y $spacer-y;
|
||||
}
|
||||
// IE9
|
||||
@media screen and (min-width:0\0) {
|
||||
.progress-bar-striped {
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
background-color: $color;
|
||||
}
|
||||
|
||||
// IE10+, Microsoft Edge
|
||||
&[value]::-ms-fill {
|
||||
background-color: $color;
|
||||
}
|
||||
|
||||
// IE9
|
||||
@media screen and (min-width:0\0) {
|
||||
.progress-bar {
|
||||
|
|
Loading…
Reference in a new issue