r112796 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112795‎ | r112796 | r112797 >
Date:11:54, 1 March 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
styling changes based on blackberry 9300

many of these css rules are harmless due to blackberrys
default css so have been added to the common files
Modified paths:
  • /trunk/extensions/MobileFrontend/stylesheets/beta_common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/blackberry.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -554,6 +554,7 @@
555555
556556 #header {
557557 margin: 8px 8px 0 8px;
 558+ position: relative;
558559 }
559560
560561 #content_wrapper {
@@ -582,6 +583,10 @@
583584 -moz-border-radius: 2px;
584585 }
585586
 587+#searchbox form {
 588+ margin-bottom: 0;
 589+}
 590+
586591 html[dir="rtl"] #searchbox {
587592 padding: 5px 44px 5px 32px
588593 }
@@ -605,6 +610,7 @@
606611 background-size: 27px 25px;
607612 height: 25px;
608613 width: 27px;
 614+ padding-bottom: 0;
609615 }
610616
611617 html[dir="rtl"] #goButton {
Index: trunk/extensions/MobileFrontend/stylesheets/blackberry.css
@@ -1,7 +1,3 @@
2 -#blackberry {
3 - test: 1;
 2+#header {
 3+ margin-top: 0; /* interferes with results positioning in blackberry 9300 (5.0.0.176)*/
44 }
5 -
6 -#clearButton {
7 - display: none;
8 -}
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -549,6 +549,7 @@
550550
551551 #header {
552552 margin: 8px 8px 0 8px;
 553+ position: relative;
553554 }
554555
555556 #content_wrapper {
@@ -579,6 +580,7 @@
580581 #searchbox #form {
581582 padding-right: 34px;
582583 width: 100%;
 584+ margin-bottom: 0;
583585 }
584586
585587 html[dir="rtl"] #logo,
@@ -595,6 +597,7 @@
596598 background-size: 27px 25px;
597599 height: 25px;
598600 width: 27px;
 601+ padding-bottom: 0;
599602 }
600603
601604 html[dir="rtl"] #goButton {
@@ -704,6 +707,10 @@
705708 /*
706709 full screen search css
707710 */
 711+.full-screen-search #header {
 712+ margin: 0;
 713+}
 714+
708715 .full-screen-search #content,
709716 .full-screen-search #footer,
710717 .full-screen-search #zero-rated-banner-red,

Status & tagging log