From 77908ed3d8cfef0ea8b9d804a7fbfb42f502f8b3 Mon Sep 17 00:00:00 2001 From: Ben Doerr Date: Wed, 6 Feb 2013 12:39:15 -0500 Subject: [PATCH] Split -vendor-placeholder selector by vendor. Some browsers (specifically Firefox(18) that I know of) fail to select correctly if the selectors are combined. This was fixed in bootstrap (https://github.com/twitter/bootstrap/blob/master/less/forms.less#L210). Not sure of the exact commit but there is a nice comment. --- app/assets/stylesheets/vendor/bootstrap.css.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/vendor/bootstrap.css.scss b/app/assets/stylesheets/vendor/bootstrap.css.scss index 813d5da2c03..b4e57171177 100644 --- a/app/assets/stylesheets/vendor/bootstrap.css.scss +++ b/app/assets/stylesheets/vendor/bootstrap.css.scss @@ -1418,7 +1418,13 @@ body { -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, :-ms-input-placeholder, ::-webkit-input-placeholder { + :-moz-placeholder { + color: #999999; + } + ::-webkit-input-placeholder { + color: #999999; + } + :-ms-input-placeholder { color: #999999; } .help-block, .help-inline {