r111070 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111069‎ | r111070 | r111071 >
Date:19:14, 9 February 2012
Author:brion
Status:deferred
Tags:
Comment:
glaucus prettifications, sample contents
Modified paths:
  • /trunk/mockups/glaucus-quick/app.js (modified) (history)
  • /trunk/mockups/glaucus-quick/glaucus.css (modified) (history)
  • /trunk/mockups/glaucus-quick/menu-arrow.png (added) (history)

Diff [purge]

Index: trunk/mockups/glaucus-quick/menu-arrow.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/mockups/glaucus-quick/menu-arrow.png
___________________________________________________________________
Added: svn:mime-type
11 + image/png
Index: trunk/mockups/glaucus-quick/glaucus.css
@@ -92,7 +92,7 @@
9393 /* Menu pane contains the popup menus, and takes background click events to clear */
9494 #menu-pane {
9595 position: absolute;
96 - top: 45px;
 96+ top: 44px;
9797 bottom: 0;
9898 right: 0;
9999 left: 0;
@@ -106,10 +106,17 @@
107107 top: 0px;
108108
109109 background: black;
 110+ background-image: url(menu-arrow.png);
 111+ background-repeat: no-repeat;
 112+ background-position: top center;
110113 color: white;
111114
 115+ border: solid 2px #323232;
 116+ border-top: none;
112117 padding: 12px;
113118 margin: 0;
 119+
 120+ box-shadow: 2px 5px 5px #888;
114121 }
115122
116123 .menu li {
Index: trunk/mockups/glaucus-quick/app.js
@@ -8,7 +8,7 @@
99 }
1010 }
1111 function setupMenu(button, menu) {
12 - $(button).bind('click touchstart', function(e) {
 12+ $(button).bind('click touchstart mousedown', function(e) {
1313 e.preventDefault();
1414
1515 hideMenus();
@@ -19,7 +19,8 @@
2020 });
2121 }
2222
23 - $('#menu-pane').bind('click touchstart', function(e) {
 23+ $('#menu-pane').bind('click touchstart mousedown', function(e) {
 24+ e.preventDefault();
2425 hideMenus();
2526 $('#menu-pane').hide();
2627 });