mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 09:05:47 +02:00
Remove $line-height-computed
We have it set to `1` right now just to avoid compilation errors, but it’s been replaced everywhere with our new spacer classes anywho. We’ll likely want to remap that var to custom component vars though (e.g., `$pagination-margin` instead of `$spacer-y`).
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
//
|
||||
|
||||
@keyframes progress-bar-stripes {
|
||||
from { background-position: $line-height-computed 0; }
|
||||
from { background-position: $spacer-y 0; }
|
||||
to { background-position: 0 0; }
|
||||
}
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
.progress {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: $line-height-computed;
|
||||
margin-bottom: $line-height-computed;
|
||||
height: $spacer-y; // todo: make a new var for this
|
||||
margin-bottom: $spacer-y;
|
||||
}
|
||||
.progress[value] {
|
||||
// IE10 uses `color` to set the bar background-color
|
||||
@@ -85,7 +85,7 @@
|
||||
}
|
||||
.progress-bar {
|
||||
display: inline-block;
|
||||
height: $line-height-computed;
|
||||
height: $spacer-y;
|
||||
text-indent: -999rem; // Simulate hiding of value as in native `<progress>`
|
||||
background-color: #0074d9;
|
||||
border-top-left-radius: $border-radius-base;
|
||||
@@ -110,16 +110,16 @@
|
||||
|
||||
.progress-striped[value]::-webkit-progress-value {
|
||||
@include gradient-striped();
|
||||
background-size: $line-height-computed $line-height-computed;
|
||||
background-size: $spacer-y $spacer-y;
|
||||
}
|
||||
.progress-striped[value]::-moz-progress-bar {
|
||||
@include gradient-striped();
|
||||
background-size: $line-height-computed $line-height-computed;
|
||||
background-size: $spacer-y $spacer-y;
|
||||
}
|
||||
@media screen and ("min-width:0\0") {
|
||||
.progress-bar-striped {
|
||||
@include gradient-striped();
|
||||
background-size: $line-height-computed $line-height-computed;
|
||||
background-size: $spacer-y $spacer-y;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user