Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2015-11-02 03:23:17 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-11-02 03:23:17 +0300
commit73d7b260016da2ad7aa39c61ce4791fed9e27876 (patch)
tree220c17415b3ca9ea017f6ef242fa9115c0ea5de7 /assets/stylesheets/bootstrap
parent6014a8dd373d12da2d1a2553d81a33a547e4f62f (diff)
rake update[v4-dev]
Diffstat (limited to 'assets/stylesheets/bootstrap')
-rw-r--r--assets/stylesheets/bootstrap/_forms.scss4
-rw-r--r--assets/stylesheets/bootstrap/_grid.scss1
-rw-r--r--assets/stylesheets/bootstrap/_progress.scss2
-rw-r--r--assets/stylesheets/bootstrap/_tables.scss6
-rw-r--r--assets/stylesheets/bootstrap/_type.scss22
-rw-r--r--assets/stylesheets/bootstrap/mixins/_background-variant.scss1
-rw-r--r--assets/stylesheets/bootstrap/mixins/_progress.scss1
7 files changed, 24 insertions, 13 deletions
diff --git a/assets/stylesheets/bootstrap/_forms.scss b/assets/stylesheets/bootstrap/_forms.scss
index 3138c7a..655c137 100644
--- a/assets/stylesheets/bootstrap/_forms.scss
+++ b/assets/stylesheets/bootstrap/_forms.scss
@@ -15,13 +15,13 @@
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
background-image: none;
border: $border-width solid $input-border;
- // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
+ // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
@include border-radius($input-border-radius);
@include box-shadow($input-box-shadow);
@include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
// Make inputs at least the height of their button counterpart (base line-height + padding + border).
- // Only apply the height to textual inputs and some selcts.
+ // Only apply the height to textual inputs and some selects.
// &:not(textarea),
// &:not(select[size]),
// &:not(select[multiple]) {
diff --git a/assets/stylesheets/bootstrap/_grid.scss b/assets/stylesheets/bootstrap/_grid.scss
index 02a2895..a71f3aa 100644
--- a/assets/stylesheets/bootstrap/_grid.scss
+++ b/assets/stylesheets/bootstrap/_grid.scss
@@ -73,5 +73,4 @@
.col-#{$breakpoint}-bottom { align-self: flex-end; }
}
}
-
}
diff --git a/assets/stylesheets/bootstrap/_progress.scss b/assets/stylesheets/bootstrap/_progress.scss
index a93a634..61e13b0 100644
--- a/assets/stylesheets/bootstrap/_progress.scss
+++ b/assets/stylesheets/bootstrap/_progress.scss
@@ -111,6 +111,7 @@
@include gradient-striped();
background-size: $spacer-y $spacer-y;
}
+// IE9
@media screen and (min-width:0\0) {
.progress-bar-striped {
@include gradient-striped();
@@ -129,6 +130,7 @@
.progress-animated[value]::-moz-progress-bar {
animation: progress-bar-stripes 2s linear infinite;
}
+// IE9
@media screen and (min-width:0\0) {
.progress-animated .progress-bar-striped {
animation: progress-bar-stripes 2s linear infinite;
diff --git a/assets/stylesheets/bootstrap/_tables.scss b/assets/stylesheets/bootstrap/_tables.scss
index 5f0698f..d5dccef 100644
--- a/assets/stylesheets/bootstrap/_tables.scss
+++ b/assets/stylesheets/bootstrap/_tables.scss
@@ -109,13 +109,13 @@
.table-responsive {
display: block;
width: 100%;
+ min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
overflow-x: auto;
- // Todo: find out if we need this still.
+ // TODO: find out if we need this still.
//
// border: 1px solid $table-border-color;
- // -ms-overflow-style: -ms-autohiding-scrollbar;
- // min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
+ // -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
}
diff --git a/assets/stylesheets/bootstrap/_type.scss b/assets/stylesheets/bootstrap/_type.scss
index 1832098..1d55ccb 100644
--- a/assets/stylesheets/bootstrap/_type.scss
+++ b/assets/stylesheets/bootstrap/_type.scss
@@ -19,12 +19,22 @@ h6, .h6 {
margin-bottom: $headings-margin-bottom;
}
-h1, .h1 { font-size: $font-size-h1; }
-h2, .h2 { font-size: $font-size-h2; }
-h3, .h3 { font-size: $font-size-h3; }
-h4, .h4 { font-size: $font-size-h4; }
-h5, .h5 { font-size: $font-size-h5; }
-h6, .h6 { font-size: $font-size-h6; }
+h1 { font-size: $font-size-h1; }
+h2 { font-size: $font-size-h2; }
+h3 { font-size: $font-size-h3; }
+h4 { font-size: $font-size-h4; }
+h5 { font-size: $font-size-h5; }
+h6 { font-size: $font-size-h6; }
+
+// These declarations are kept separate from and placed after
+// the previous tag-based declarations so that the classes beat the tags in
+// the CSS cascade, and thus <h1 class="h2"> will be styled like an h2.
+.h1 { font-size: $font-size-h1; }
+.h2 { font-size: $font-size-h2; }
+.h3 { font-size: $font-size-h3; }
+.h4 { font-size: $font-size-h4; }
+.h5 { font-size: $font-size-h5; }
+.h6 { font-size: $font-size-h6; }
.lead {
font-size: $lead-font-size;
diff --git a/assets/stylesheets/bootstrap/mixins/_background-variant.scss b/assets/stylesheets/bootstrap/mixins/_background-variant.scss
index a665f25..d2cc543 100644
--- a/assets/stylesheets/bootstrap/mixins/_background-variant.scss
+++ b/assets/stylesheets/bootstrap/mixins/_background-variant.scss
@@ -1,6 +1,5 @@
// Contextual backgrounds
-// [converter] $parent hack
@mixin bg-variant($parent, $color) {
#{$parent} {
color: #fff;
diff --git a/assets/stylesheets/bootstrap/mixins/_progress.scss b/assets/stylesheets/bootstrap/mixins/_progress.scss
index 802e179..e174141 100644
--- a/assets/stylesheets/bootstrap/mixins/_progress.scss
+++ b/assets/stylesheets/bootstrap/mixins/_progress.scss
@@ -9,6 +9,7 @@
background-color: $color;
}
+ // IE9
@media screen and (min-width:0\0) {
.progress-bar {
background-color: $color;