Bug 971246 - [Australis] Fix the display of type='menu' to show the dropmarker in the corner like type='menu-button'. r=mconley, a=sledru.
authorJared Wein <jwein@mozilla.com>
Tue, 11 Mar 2014 19:30:29 -0400
changeset 183262 d40e9c054bc318f86353affab41d9eefd51f9b78
parent 183261 d2cc1445178189eb075456f38620c437204f1c40
child 183263 8fbd4f92ca4ef9bba2e9e6b2224e80969692e78e
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, sledru
bugs971246
milestone29.0a2
Bug 971246 - [Australis] Fix the display of type='menu' to show the dropmarker in the corner like type='menu-button'. r=mconley, a=sledru.
browser/themes/shared/customizableui/panelUIOverlay.inc.css
--- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css
+++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ -231,16 +231,30 @@ toolbaritem[cui-areatype="menu-panel"][s
 }
 
 .panel-customization-placeholder-child {
   margin: 6px 0 0;
   padding: 2px 6px;
   border: 1px solid transparent;
 }
 
+.panelUI-grid .toolbarbutton-1[type="menu"] {
+  background-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow.png");
+  background-position: right 3px top 16px;
+  background-repeat: no-repeat;
+}
+
+.panelUI-grid .toolbarbutton-1[type="menu"]:-moz-locale-dir(rtl) {
+  background-position: left 3px top 16px;
+}
+
+.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
+  display: none;
+}
+
 .panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
   -moz-box-align: center;
   width: 16px;
   -moz-margin-start: -16px;
   height: 40px;
   margin-bottom: 4em;
   padding: 0;
 }