aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-18 00:35:14 -0800
committerMark Otto <[email protected]>2012-01-18 00:35:14 -0800
commitab8f2e2767be77120fedb07269dc7db078101dba (patch)
tree6b8dd212b46689d46829ab38e8d16ee5502fbc96
parentd12560c0ee77e69011012095b04332aeb97b9c42 (diff)
downloadbootstrap-ab8f2e2767be77120fedb07269dc7db078101dba.tar.xz
bootstrap-ab8f2e2767be77120fedb07269dc7db078101dba.zip
don't scope placeholder text color to just inputs
-rw-r--r--bootstrap.css6
-rw-r--r--bootstrap.min.css4
-rw-r--r--lib/forms.less7
3 files changed, 6 insertions, 11 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 2ba50f1de..460cd7ba0 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -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: Wed Jan 18 00:30:09 PST 2012
+ * Date: Wed Jan 18 00:34:59 PST 2012
*/
html, body {
margin: 0;
@@ -842,10 +842,10 @@ input:invalid:focus, textarea:invalid:focus, select:invalid:focus {
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
cursor: not-allowed;
}
-input:-moz-placeholder {
+:-moz-placeholder {
color: #999999;
}
-input::-webkit-input-placeholder {
+::-webkit-input-placeholder {
color: #999999;
}
.help-block {
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 7a98ef05c..0027eaf1c 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -155,8 +155,8 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
input:invalid,textarea:invalid,select:invalid{color:#b94a48;border-color:#ee5f5b;}input:invalid:focus,textarea:invalid:focus,select:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;}
.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;}
.uneditable-input{display:block;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;}
-input:-moz-placeholder{color:#999999;}
-input::-webkit-input-placeholder{color:#999999;}
+:-moz-placeholder{color:#999999;}
+::-webkit-input-placeholder{color:#999999;}
.help-block{margin-top:5px;margin-bottom:0;color:#999999;}
.help-inline{*position:relative;*top:-5px;display:inline;padding-left:5px;}
.input-prepend,.input-append{margin-bottom:5px;zoom:1;}.input-prepend:before,.input-append:before,.input-prepend:after,.input-append:after{display:table;*display:inline;content:"";zoom:1;}
diff --git a/lib/forms.less b/lib/forms.less
index 703accff8..e956b0046 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -336,12 +336,7 @@ select:invalid {
}
// Placeholder text gets special styles; can't be bundled together though for some reason
-input:-moz-placeholder {
- color: @grayLight;
-}
-input::-webkit-input-placeholder {
- color: @grayLight;
-}
+.placeholder(@grayLight);