1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 14:13:06 +02:00

drop the base (hahaha), no but seriously drop the -base from our vars since it's cleaner

This commit is contained in:
Mark Otto
2015-06-22 18:53:04 -07:00
parent d703396bce
commit 0ca9b21c34
13 changed files with 52 additions and 53 deletions

View File

@@ -33,7 +33,7 @@
}
.progress[value]::-webkit-progress-bar {
background-color: #eee;
@include border-radius($border-radius-base);
@include border-radius($border-radius);
@include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
}
.progress[value]::-webkit-progress-value::before {
@@ -41,12 +41,12 @@
}
.progress[value]::-webkit-progress-value {
background-color: #0074d9;
border-top-left-radius: $border-radius-base;
border-bottom-left-radius: $border-radius-base;
border-top-left-radius: $border-radius;
border-bottom-left-radius: $border-radius;
}
.progress[value="100"]::-webkit-progress-value {
border-top-right-radius: $border-radius-base;
border-bottom-right-radius: $border-radius-base;
border-top-right-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
// Firefox styles must be entirely separate or it busts Webkit styles.
@@ -56,13 +56,13 @@
// $-moz-document url-prefix() {
// .progress[value] {
// background-color: #eee;
// .border-radius($border-radius-base);
// .border-radius($border-radius);
// .box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
// }
// .progress[value]::-moz-progress-bar {
// background-color: #0074d9;
// border-top-left-radius: $border-radius-base;
// border-bottom-left-radius: $border-radius-base;
// border-top-left-radius: $border-radius;
// border-bottom-left-radius: $border-radius;
// }
// .progress[value="0"]::-moz-progress-bar {
// color: $gray-light;
@@ -71,8 +71,8 @@
// background-image: none;
// }
// .progress[value="100"]::-moz-progress-bar {
// border-top-right-radius: $border-radius-base;
// border-bottom-right-radius: $border-radius-base;
// border-top-right-radius: $border-radius;
// border-bottom-right-radius: $border-radius;
// }
// }
@@ -80,7 +80,7 @@
@media screen and (min-width:0\0) {
.progress {
background-color: #eee;
@include border-radius($border-radius-base);
@include border-radius($border-radius);
@include box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
}
.progress-bar {
@@ -88,8 +88,8 @@
height: $spacer-y;
text-indent: -999rem; // Simulate hiding of value as in native `<progress>`
background-color: #0074d9;
border-top-left-radius: $border-radius-base;
border-bottom-left-radius: $border-radius-base;
border-top-left-radius: $border-radius;
border-bottom-left-radius: $border-radius;
}
.progress[width^="0"] {
min-width: 2rem;
@@ -98,8 +98,8 @@
background-image: none;
}
.progress[width="100%"] {
border-top-right-radius: $border-radius-base;
border-bottom-right-radius: $border-radius-base;
border-top-right-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
}