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>2018-07-25 10:49:36 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2018-07-25 10:49:36 +0300
commit40a36bd8d3f3240b088f9a0393db26ab402ff5cf (patch)
tree5b1a1378cb2518776f2f5cf817d8fb20286baeee /assets/stylesheets/bootstrap/_forms.scss
parent7fda7495266d5bad337ca8be980c8be000945937 (diff)
rake update[v4.1.3]
Diffstat (limited to 'assets/stylesheets/bootstrap/_forms.scss')
-rw-r--r--assets/stylesheets/bootstrap/_forms.scss28
1 files changed, 13 insertions, 15 deletions
diff --git a/assets/stylesheets/bootstrap/_forms.scss b/assets/stylesheets/bootstrap/_forms.scss
index c079bd5..5530630 100644
--- a/assets/stylesheets/bootstrap/_forms.scss
+++ b/assets/stylesheets/bootstrap/_forms.scss
@@ -7,6 +7,7 @@
.form-control {
display: block;
width: 100%;
+ height: $input-height;
padding: $input-padding-y $input-padding-x;
font-size: $font-size-base;
line-height: $input-line-height;
@@ -57,10 +58,6 @@
}
select.form-control {
- &:not([size]):not([multiple]) {
- height: $input-height;
- }
-
&:focus::-ms-value {
// Suppress the nested default white text on blue background highlight given to
// the selected option text when the (still closed) <select> receives focus
@@ -139,35 +136,36 @@ select.form-control {
// Build on `.form-control` with modifier classes to decrease or increase the
// height and font-size of form controls.
//
-// The `.form-group-* form-control` variations are sadly duplicated to avoid the
-// issue documented in https://github.com/twbs/bootstrap/issues/15074.
+// Repeated in `_input_group.scss` to avoid Sass extend issues.
.form-control-sm {
+ height: $input-height-sm;
padding: $input-padding-y-sm $input-padding-x-sm;
font-size: $font-size-sm;
line-height: $input-line-height-sm;
@include border-radius($input-border-radius-sm);
}
-select.form-control-sm {
- &:not([size]):not([multiple]) {
- height: $input-height-sm;
- }
-}
-
.form-control-lg {
+ height: $input-height-lg;
padding: $input-padding-y-lg $input-padding-x-lg;
font-size: $font-size-lg;
line-height: $input-line-height-lg;
@include border-radius($input-border-radius-lg);
}
-select.form-control-lg {
- &:not([size]):not([multiple]) {
- height: $input-height-lg;
+// stylelint-disable no-duplicate-selectors
+select.form-control {
+ &[size],
+ &[multiple] {
+ height: auto;
}
}
+textarea.form-control {
+ height: auto;
+}
+// stylelint-enable no-duplicate-selectors
// Form groups
//