r103232 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103231‎ | r103232 | r103233 >
Date:21:54, 15 November 2011
Author:brion
Status:deferred
Tags:
Comment:
more tablet tweaks
Modified paths:
  • /trunk/mockups/athena/athena.css (modified) (history)
  • /trunk/mockups/athena/index.html (modified) (history)

Diff [purge]

Index: trunk/mockups/athena/athena.css
@@ -36,7 +36,7 @@
3737
3838 color: white;
3939 background: black;
40 - z-index: 9999;
 40+ z-index: 99999;
4141 }
4242
4343 .bar-float {
@@ -147,9 +147,23 @@
148148 background: white;
149149 }
150150
 151+#personal-menu {
 152+ display: none;
 153+}
 154+#master-menu {
 155+ display: none;
 156+}
151157
152158 @media all and (min-width: 640px) {
153159 /* "Tablet mode" */
 160+ #top-bar.bar-float {
 161+ /* Disable top bar floater */
 162+ top: inherit;
 163+ position: relative;
 164+ }
 165+ #top {
 166+ height: auto;
 167+ }
154168 .bar button {
155169 width: auto;
156170 height: 48px;
@@ -164,6 +178,23 @@
165179 color: white;
166180 font-size: 13px;
167181 }
 182+ #personal-menu, #master-menu {
 183+ display: block;
 184+ padding-left: 92px;
 185+ font-size: 12px;
 186+ }
 187+ #personal-menu {
 188+ padding-top: 6px;
 189+ }
 190+ #personal-menu a {
 191+ padding-right: 16px;
 192+ }
 193+ #master-menu {
 194+ padding-bottom: 6px;
 195+ }
 196+ .button-you {
 197+ display: none;
 198+ }
168199 }
169200
170201
Index: trunk/mockups/athena/index.html
@@ -13,6 +13,13 @@
1414 <body>
1515
1616 <div id="top" class="bar-wrapper">
 17+ <div id="personal-menu">
 18+ <a href="#you">Your Username</a>
 19+ <a href="#notifications">Notifications</a>
 20+ <a href="#contributions">Contributions</a>
 21+ <a href="#preferences">Preferences</a>
 22+ <a href="#logout">Log out</a>
 23+ </div>
1724 <div id="top-bar" class="bar bar-float">
1825 <button class="button-main">Main</button>
1926 <span class="search-box" class="stretch">
@@ -20,6 +27,14 @@
2128 </span>
2229 <button class="button-you">You</button>
2330 </div>
 31+ <div id="master-menu">
 32+ <a href="#help">Help</a> -
 33+ <a href="#contents">Contents</a> -
 34+ <a href="#featured">Featured content</a> -
 35+ <a href="#current">Current events</a> -
 36+ <a href="#community">Community portal</a> -
 37+ <a href="#upload">Upload File</a>
 38+ </div>
2439 </div>
2540
2641 <iframe id="embed" width="100%" height="100%" src="proxy.php?title=While_My_Guitar_Gently_Weeps"></iframe>

Status & tagging log