1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Actually use $progress-bg instead of hardcoded color

Refs #18535
[skip sauce]
This commit is contained in:
Chris Rebert 2015-12-21 10:52:03 -07:00
parent c6a276dd74
commit 646580a919

View file

@ -20,7 +20,7 @@
} }
.progress[value] { .progress[value] {
// Set overall background // Set overall background
background-color: #eee; background-color: $progress-bg;
// Remove Firefox and Opera border // Remove Firefox and Opera border
border: 0; border: 0;
// Reset the default appearance // Reset the default appearance
@ -34,7 +34,7 @@
border: 0; border: 0;
} }
.progress[value]::-webkit-progress-bar { .progress[value]::-webkit-progress-bar {
background-color: #eee; background-color: $progress-bg;
@include border-radius($border-radius); @include border-radius($border-radius);
@include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1)); @include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
} }
@ -54,7 +54,7 @@
// //
// $-moz-document url-prefix() { // $-moz-document url-prefix() {
// .progress[value] { // .progress[value] {
// background-color: #eee; // background-color: $progress-bg;
// .border-radius($border-radius); // .border-radius($border-radius);
// .box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1)); // .box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
// } // }
@ -78,7 +78,7 @@
// IE9 hacks to accompany custom markup. We don't need to scope this via media queries, but I feel better doing it anyway. // IE9 hacks to accompany custom markup. We don't need to scope this via media queries, but I feel better doing it anyway.
@media screen and (min-width:0\0) { @media screen and (min-width:0\0) {
.progress { .progress {
background-color: #eee; background-color: $progress-bg;
@include border-radius($border-radius); @include border-radius($border-radius);
@include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1)); @include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
} }