r112530 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112529‎ | r112530 | r112531 >
Date:22:07, 27 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
minor styling fixes to search box

don't give fixed heights
no need to remove divclearable class
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/beta_common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js
@@ -49,7 +49,6 @@
5050
5151 if ( !focused ) {
5252 MobileFrontend.utils( document.body ).addClass( 'full-screen-search' );
53 - sq.className = '';
5453
5554 pE = document.getElementById( 'placeholder' );
5655 if ( !pE ) {
Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -182,7 +182,6 @@
183183 outline-style: none;
184184 outline-width: initial;
185185 outline-color: initial;
186 - height: 1.4em;
187186 padding: 0;
188187 }
189188
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -196,7 +196,6 @@
197197 outline-style: none;
198198 outline-width: initial;
199199 outline-color: initial;
200 - height: 1.4em;
201200 padding: 0;
202201 }
203202
@@ -213,11 +212,9 @@
214213 }
215214
216215 .divclearable {
217 - border: 1px solid #888;
218216 display: block;
219217 zoom: 1;
220218 vertical-align: middle;
221 - height: 1.5em;
222219 position: relative;
223220 }
224221
@@ -690,7 +687,6 @@
691688 .full-screen-search #sq {
692689 position: relative;
693690 padding-left: 44px;
694 - height: 34px;
695691 margin-right: 0;
696692 font-size: 16px;
697693 border: none;

Status & tagging log