r112022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112021‎ | r112022 | r112023 >
Date:16:54, 21 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
merge #nav definitions, also position relative

declare position relative as otherwise a bug kicks in
that renders the nav box incorrectly on iphone (top border does not
show)
Modified paths:
  • /trunk/extensions/MobileFrontend/stylesheets/beta_common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -588,7 +588,14 @@
589589 -webkit-border-radius: 2px;
590590 -moz-border-radius: 2px;
591591 clear: both;
592 - padding: 5px 0;
 592+ display: none;
 593+ width: 172px;
 594+ border: 1px solid #cccccc;
 595+ border-top: 0px;
 596+ margin: -1px 0 0 0;
 597+ background: white;
 598+ padding: 0 5px 5px 5px;
 599+ position: relative;
593600 }
594601
595602 #nav form,
@@ -651,13 +658,3 @@
652659 button.section_heading.hide {
653660 display: none;
654661 }
655 -
656 -#nav {
657 - display: none;
658 - width: 172px;
659 - border: 1px solid #cccccc;
660 - border-top: 0px;
661 - margin: -1px 0 0 0;
662 - background: white;
663 - padding: 0 5px 5px 5px;
664 -}
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -598,6 +598,14 @@
599599 -moz-border-radius: 2px;
600600 clear: both;
601601 padding: 5px 0;
 602+ display: none;
 603+ width: 172px;
 604+ border: 1px solid #cccccc;
 605+ border-top: 0px;
 606+ margin: -1px 0 0 0;
 607+ background: white;
 608+ padding: 0 5px 5px 5px;
 609+ position: relative;
602610 }
603611
604612 #nav form,
@@ -661,16 +669,6 @@
662670 display: none;
663671 }
664672
665 -#nav {
666 - display: none;
667 - width: 172px;
668 - border: 1px solid #cccccc;
669 - border-top: 0px;
670 - margin: -1px 0 0 0;
671 - background: white;
672 - padding: 0 5px 5px 5px;
673 -}
674 -
675673 /*
676674 full screen search css
677675 */

Status & tagging log