]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
scope the label back to the form element
authorMark Otto <mark.otto@twitter.com>
Tue, 4 Oct 2011 05:44:35 +0000 (22:44 -0700)
committerMark Otto <mark.otto@twitter.com>
Tue, 4 Oct 2011 05:44:35 +0000 (22:44 -0700)
bootstrap.css
bootstrap.min.css
lib/forms.less

index bbbaac48a45a43b5f8a3bdf0733f7f4c32b5bc95..9dc882c9b899ca539d0b45b02466696cf9fe7319 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Mon Oct  3 22:36:24 PDT 2011
+ * Date: Mon Oct  3 22:44:23 PDT 2011
  */
 /* Reset.less
  * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here      that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -612,7 +612,7 @@ textarea {
   font-weight: normal;
   line-height: normal;
 }
-label {
+form label {
   padding-top: 6px;
   font-size: 13px;
   line-height: 18px;
index 45f43329409aaf66e8d90ddc3f0d90a6016ddb60..18ef1134e5a4ee3374c7334e2d74d6166cfd81d2 100644 (file)
@@ -109,7 +109,7 @@ fieldset{margin-bottom:18px;padding-top:18px;}fieldset legend{display:block;padd
 form .clearfix{margin-bottom:18px;zoom:1;}form .clearfix:before,form .clearfix:after{display:table;content:"";zoom:1;*display:inline;}
 form .clearfix:after{clear:both;}
 label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:normal;}
-label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;}
+form label{padding-top:6px;font-size:13px;line-height:18px;float:left;width:130px;text-align:right;color:#404040;}
 form .input{margin-left:150px;}
 input[type=checkbox],input[type=radio]{cursor:pointer;}
 input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;font-size:13px;line-height:18px;color:#808080;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
index 7c9cc7c62335ac5c12ce5d816a6d3dbd81275fa2..058d32832f4651d408c043c103adb27eef086df8 100644 (file)
@@ -40,7 +40,7 @@ textarea {
 }
 
 // Float labels left
-label {
+form label {
   padding-top: 6px;
   font-size: @basefont;
   line-height: @baseline;