]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
use quotes on attr selectors more consistently
authorMark Otto <markdotto@gmail.com>
Sat, 28 Jan 2012 04:05:03 +0000 (20:05 -0800)
committerMark Otto <markdotto@gmail.com>
Sat, 28 Jan 2012 04:05:03 +0000 (20:05 -0800)
docs/assets/css/bootstrap.css
less/buttons.less
less/forms.less
less/modals.less

index c1562c203af3ed14b769eb0838bd1958f45afd7b..ff7f8ea5e48aba7d8e2ec535f97602b2d9332cda 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: Fri Jan 27 19:56:12 PST 2012
+ * Date: Fri Jan 27 20:04:50 PST 2012
  */
 article,
 aside,
@@ -528,7 +528,7 @@ select,
 label input, label textarea, label select {
   display: block;
 }
-input[type=image], input[type=checkbox], input[type=radio] {
+input[type="image"], input[type="checkbox"], input[type="radio"] {
   width: auto;
   height: auto;
   padding: 0;
@@ -543,7 +543,7 @@ input[type=image], input[type=checkbox], input[type=radio] {
   -moz-border-radius: 0;
   border-radius: 0;
 }
-input[type=file] {
+input[type="file"] {
   padding: initial;
   line-height: initial;
   border: initial;
@@ -553,11 +553,11 @@ input[type=file] {
   -moz-box-shadow: none;
   box-shadow: none;
 }
-input[type=button], input[type=reset], input[type=submit] {
+input[type="button"], input[type="reset"], input[type="submit"] {
   width: auto;
   height: auto;
 }
-select, input[type=file] {
+select, input[type="file"] {
   height: 28px;
   /* In IE7, the height of the select element cannot be changed by height, only font-size */
 
@@ -573,7 +573,7 @@ select {
 select[multiple], select[size] {
   height: auto;
 }
-input[type=image] {
+input[type="image"] {
   -webkit-box-shadow: none;
   -moz-box-shadow: none;
   box-shadow: none;
@@ -581,13 +581,13 @@ input[type=image] {
 textarea {
   height: auto;
 }
-input[type=hidden] {
+input[type="hidden"] {
   display: none;
 }
 .radio, .checkbox {
   padding-left: 18px;
 }
-.radio input[type=radio], .checkbox input[type=checkbox] {
+.radio input[type="radio"], .checkbox input[type="checkbox"] {
   float: left;
   margin-left: -18px;
 }
@@ -620,7 +620,7 @@ input:focus, textarea:focus {
   /* IE6-8 */
 
 }
-input[type=file]:focus, input[type=checkbox]:focus, select:focus {
+input[type="file"]:focus, input[type="checkbox"]:focus, select:focus {
   -webkit-box-shadow: none;
   -moz-box-shadow: none;
   box-shadow: none;
@@ -2660,19 +2660,19 @@ table .span12 {
 .btn.small .icon {
   margin-top: -1px;
 }
-button.btn, input[type=submit].btn {
+button.btn, input[type="submit"].btn {
   *padding-top: 2px;
   *padding-bottom: 2px;
 }
-button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
+button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner {
   padding: 0;
   border: 0;
 }
-button.btn.large, input[type=submit].btn.large {
+button.btn.large, input[type="submit"].btn.large {
   *padding-top: 7px;
   *padding-bottom: 7px;
 }
-button.btn.small, input[type=submit].btn.small {
+button.btn.small, input[type="submit"].btn.small {
   *padding-top: 3px;
   *padding-bottom: 3px;
 }
index 1333592c2197ebabf417318c5fd86abbc7cc0e22..8d75248b3aedf9a6bfcb7c49e6cadcb49157706c 100644 (file)
 
 // Help Firefox not be a jerk about adding extra padding to buttons
 button.btn,
-input[type=submit].btn {
+input[type="submit"].btn {
   &::-moz-focus-inner {
        padding: 0;
        border: 0;
index 86e975725239e9e5c3eebb1fd05b873b82c50af4..edd4165850d04a4c086dfe3bbe675b05db014795 100644 (file)
@@ -75,9 +75,9 @@ label select {
 }
 
 // Mini reset for unique input types
-input[type=image],
-input[type=checkbox],
-input[type=radio] {
+input[type="image"],
+input[type="checkbox"],
+input[type="radio"] {
   width: auto;
   height: auto;
   padding: 0;
@@ -90,7 +90,7 @@ input[type=radio] {
 }
 
 // Reset the file input to browser defaults
-input[type=file] {
+input[type="file"] {
   padding: initial;
   line-height: initial;
   border: initial;
@@ -100,16 +100,16 @@ input[type=file] {
 }
 
 // Help out input buttons
-input[type=button],
-input[type=reset],
-input[type=submit] {
+input[type="button"],
+input[type="reset"],
+input[type="submit"] {
   width: auto;
   height: auto;
 }
 
 // Set the height of select and file controls to match text inputs
 select,
-input[type=file] {
+input[type="file"] {
   height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
   *margin-top: 4px; /* For IE7, add top margin to align select with labels */
   line-height: 28px;
@@ -128,7 +128,7 @@ select[size] {
 }
 
 // Remove shadow from image inputs
-input[type=image] {
+input[type="image"] {
   .box-shadow(none);
 }
 
@@ -138,7 +138,7 @@ textarea {
 }
 
 // Hidden inputs
-input[type=hidden] {
+input[type="hidden"] {
   display: none;
 }
 
@@ -152,8 +152,8 @@ input[type=hidden] {
 .checkbox {
   padding-left: 18px;
 }
-.radio input[type=radio],
-.checkbox input[type=checkbox] {
+.radio input[type="radio"],
+.checkbox input[type="checkbox"] {
   float: left;
   margin-left: -18px;
 }
@@ -193,8 +193,8 @@ textarea:focus {
   .box-shadow(@shadow);
   outline: thin dotted \9; /* IE6-8 */
 }
-input[type=file]:focus,
-input[type=checkbox]:focus,
+input[type="file"]:focus,
+input[type="checkbox"]:focus,
 select:focus {
   .box-shadow(none); // override for file inputs
   .tab-focus();
index 0368e01e10db487f8d409d8ec61a728b8ff09c9f..7f07d11e4995640dcda2842ec3eadfa8a9a9cb01 100644 (file)
@@ -60,6 +60,6 @@
   .btn {
     float: right;
     margin-left: 5px;
-    margin-bottom: 0; // account for input[type=submit] which gets the bottom margin like all other inputs
+    margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
   }
 }