Esanders has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/338773 )

Change subject: Use new placeholder mixin
......................................................................

Use new placeholder mixin

Change-Id: Ib6437b13760e8c13d06927cb45ef674a5f301e35
Depends-On: I96686bb53cee1a833db8f4d0b691d5e4a1b82885
---
M components/search.less
1 file changed, 2 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector 
refs/changes/73/338773/1

diff --git a/components/search.less b/components/search.less
index 81297d0..63fa87d 100644
--- a/components/search.less
+++ b/components/search.less
@@ -56,23 +56,9 @@
                        outline: 0;
                }
 
-               // These rules MAY NOT be merged because of how CSS requires 
browsers
-               // to parse unrecognized selectors!
-               // Note these rules ensure that placeholder text can be 
distinguished from
-               // standard text. In browsers which make this distinction clear 
these rules
-               // are not necessary.
-               // For inputs that use jquery.placeholder.js e.g. IE9-
-               &.placeholder {
+               .mixin-placeholder( {
                        color: #999;
-               }
-               // Distinguish placeholder text in IE10+
-               &:-ms-input-placeholder { // stylelint-disable-line 
selector-no-vendor-prefix
-                       color: #999;
-               }
-               // Distinguish placeholder text in Firefox 18-
-               &:-moz-placeholder { // stylelint-disable-line 
selector-no-vendor-prefix
-                       color: #999;
-               }
+               } );
 
                // Undo the styles Webkit browsers apply to type=search fields,
                // we provide our own

-- 
To view, visit https://gerrit.wikimedia.org/r/338773
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib6437b13760e8c13d06927cb45ef674a5f301e35
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to