[tor-commits] [compass/master] Fix color of Placeholder text

karsten at torproject.org karsten at torproject.org
Mon Aug 27 15:55:18 UTC 2012


commit f1476bf44696094be41e96053355c81fd633b830
Author: Sathyanarayanan Gunasekaran <gsathya.ceg at gmail.com>
Date:   Mon Aug 27 20:04:09 2012 +0530

    Fix color of Placeholder text
    
    Firefox ignores -moz-placeholder and instead requires
    input:-moz-placeholder. This is a bug(#3779) in Twitter
    bootstrap which has been fixed in v2.1. Compass currently
    uses v2.0, and doesn't have this fix. This commit backports
    it v2.0.
---
 static/css/bootstrap.css     |    2 +-
 static/css/bootstrap.min.css |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css
index 93531ca..08403ae 100755
--- a/static/css/bootstrap.css
+++ b/static/css/bootstrap.css
@@ -1299,7 +1299,7 @@ select:focus:required:invalid:focus {
   -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);
 }
-:-moz-placeholder {
+input:-moz-placeholder {
   color: #999999;
 }
 :-ms-input-placeholder {
diff --git a/static/css/bootstrap.min.css b/static/css/bootstrap.min.css
index f0b9523..808d831 100755
--- a/static/css/bootstrap.min.css
+++ b/static/css/bootstrap.min.css
@@ -233,7 +233,7 @@ input:focus:required:invalid,textarea:focus:required:invalid,select:focus:requir
 .form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1;}.form-actions:before,.form-actions:after{display:table;content:"";}
 .form-actions:after{clear:both;}
 .uneditable-input{overflow:hidden;white-space:nowrap;cursor:not-allowed;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);}
-:-moz-placeholder{color:#999999;}
+input:-moz-placeholder{color:#999999;}
 :-ms-input-placeholder{color:#999999;}
 ::-webkit-input-placeholder{color:#999999;}
 .help-block,.help-inline{color:#555555;}



More information about the tor-commits mailing list