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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-08-30 00:05:43 +0400
committerMark Otto <markotto@twitter.com>2012-08-30 00:05:43 +0400
commit2137cd65fb528d0eadd15c2554250a12b5764bfd (patch)
treec45b349cfd6510e5de859ac407e6f62b99080b2b
parente27b1355b58331eeb24915bee3e1c9dde4977f17 (diff)
fixes #4819: manual fix of missing .control-label in responsive767 file, coupled with a remake
-rw-r--r--docs/assets/css/bootstrap-responsive.css2
-rw-r--r--less/responsive-767px-max.less38
2 files changed, 21 insertions, 19 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index fcc4967600..f8077aa1fb 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -876,7 +876,7 @@
input[type="radio"] {
border: 1px solid #ccc;
}
- .form-horizontal .control-group > label {
+ .form-horizontal .control-label {
float: none;
width: auto;
padding-top: 0;
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index 3202c1905c..eebecb8e4a 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -132,24 +132,26 @@
}
// Remove the horizontal form styles
- .form-horizontal .control-group > label {
- float: none;
- width: auto;
- padding-top: 0;
- text-align: left;
- }
- // Move over all input controls and content
- .form-horizontal .controls {
- margin-left: 0;
- }
- // Move the options list down to align with labels
- .form-horizontal .control-list {
- padding-top: 0; // has to be padding because margin collaspes
- }
- // Move over buttons in .form-actions to align with .controls
- .form-horizontal .form-actions {
- padding-left: 10px;
- padding-right: 10px;
+ .form-horizontal {
+ .control-label {
+ float: none;
+ width: auto;
+ padding-top: 0;
+ text-align: left;
+ }
+ // Move over all input controls and content
+ .controls {
+ margin-left: 0;
+ }
+ // Move the options list down to align with labels
+ .control-list {
+ padding-top: 0; // has to be padding because margin collaspes
+ }
+ // Move over buttons in .form-actions to align with .controls
+ .form-actions {
+ padding-left: 10px;
+ padding-right: 10px;
+ }
}
// Modals