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 <glebm@google.com>2015-02-25 03:18:25 +0300
committerGleb Mazovetskiy <glebm@google.com>2015-03-16 18:38:18 +0300
commitc9c87b8199eb68dec7449f1b13b3d36010d6d048 (patch)
tree126b64878f622fea9f12ef5fa7a8d8e3e4c917ac /assets/stylesheets/bootstrap/_forms.scss
parent899fe20a4dce276baa2795bb8b1b2db8f0b84acc (diff)
rake convert
Diffstat (limited to 'assets/stylesheets/bootstrap/_forms.scss')
-rw-r--r--assets/stylesheets/bootstrap/_forms.scss12
1 files changed, 10 insertions, 2 deletions
diff --git a/assets/stylesheets/bootstrap/_forms.scss b/assets/stylesheets/bootstrap/_forms.scss
index 72d130b..cfd420c 100644
--- a/assets/stylesheets/bootstrap/_forms.scss
+++ b/assets/stylesheets/bootstrap/_forms.scss
@@ -141,11 +141,15 @@ output {
&[disabled],
&[readonly],
fieldset[disabled] & {
- cursor: $cursor-disabled;
background-color: $input-bg-disabled;
opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
}
+ &[disabled],
+ fieldset[disabled] & {
+ cursor: $cursor-disabled;
+ }
+
// [converter] extracted textarea& to textarea.form-control
}
@@ -200,7 +204,7 @@ input[type="search"] {
// horizontal forms, use the predefined grid classes.
.form-group {
- margin-bottom: 15px;
+ margin-bottom: $form-group-margin-bottom;
}
@@ -240,6 +244,7 @@ input[type="search"] {
// Radios and checkboxes on same line
.radio-inline,
.checkbox-inline {
+ position: relative;
display: inline-block;
padding-left: 20px;
margin-bottom: 0;
@@ -296,6 +301,7 @@ input[type="checkbox"] {
padding-bottom: ($padding-base-vertical + 1);
// Remove default margin from `p`
margin-bottom: 0;
+ min-height: ($line-height-computed + $font-size-base);
&.input-lg,
&.input-sm {
@@ -323,6 +329,7 @@ input[type="checkbox"] {
padding: $padding-small-vertical $padding-small-horizontal;
font-size: $font-size-small;
line-height: $line-height-small;
+ min-height: ($line-height-computed + $font-size-small);
}
}
@@ -336,6 +343,7 @@ input[type="checkbox"] {
padding: $padding-large-vertical $padding-large-horizontal;
font-size: $font-size-large;
line-height: $line-height-large;
+ min-height: ($line-height-computed + $font-size-large);
}
}