Bug 718392 - [Mac] Restore non-highlight when hovering menus in content menubars. r=dao.
authorstefanh@inbox.com
Fri, 20 Jan 2012 22:14:05 +0100
changeset 86247 098a5b456aefac69aea0ad02a4f8cfda178f6890
parent 86246 9b15fc2bd106e0d4eb0efda650af547cf5a411cb
child 86248 cb94b815ece04a82c595b8f24f14f764343229be
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs718392
milestone12.0a1
Bug 718392 - [Mac] Restore non-highlight when hovering menus in content menubars. r=dao.
toolkit/themes/pinstripe/global/menu.css
--- a/toolkit/themes/pinstripe/global/menu.css
+++ b/toolkit/themes/pinstripe/global/menu.css
@@ -131,24 +131,29 @@ menuitem[src] > .menu-iconic-left > .men
 
 .menu-right:-moz-locale-dir(rtl) {
   -moz-transform: scaleX(-1);
 }
 
 /* ::::: menu/menuitems in menubar ::::: */
 
 menubar > menu {
-  -moz-appearance: none !important;
+  -moz-appearance: none;
   padding: 2px 5px 2px 7px;
   margin: 1px 0;
 }
 
+menubar > menu[_moz-menuactive="true"] {
+  color: inherit;
+  background-color: transparent;
+}
+
 menubar > menu[_moz-menuactive="true"][open="true"] {
-  -moz-appearance: menuitem !important;
-  color: -moz-mac-menutextselect !important
+  -moz-appearance: menuitem;
+  color: -moz-mac-menutextselect;
 }
 
 /* ..... internal content .... */
 
 .menubar-left {
   margin: 0 2px;
   color: inherit;
 }