Bug 1403853 - Hide the menu button separator in popup windows. r=nhnt11, a=sledru
authorDão Gottwald <dao@mozilla.com>
Thu, 28 Sep 2017 10:19:23 +0200
changeset 432046 0460ea0333f964f3ff09093260dc648933f43e67
parent 432045 ccce663812da531d339710da3901fc8b4bc64ab8
child 432047 9bd05768af69c88d44b84ffcaa9a2644d9a0a6ec
push id7872
push userryanvm@gmail.com
push dateMon, 02 Oct 2017 15:07:52 +0000
treeherdermozilla-beta@0b50c7250aa6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11, sledru
bugs1403853
milestone57.0
Bug 1403853 - Hide the menu button separator in popup windows. r=nhnt11, a=sledru MozReview-Commit-ID: HxAC8oXcQOn
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -87,24 +87,24 @@
   /* These values are adjusted for the padding and height of the panel. */
   from { margin-top: -.5em; } to { margin-top: calc(64px - .5em); }
 }
 
 @keyframes whimsyRotate {
   to { transform: perspective(5000px) rotateY(360deg); }
 }
 
-:root:not([uidensity=compact]) #PanelUI-button {
+:root:not([uidensity=compact]):not([chromehidden~="toolbar"]) #PanelUI-button {
   margin-inline-start: 3px;
   border-inline-start: 1px solid;
   border-image: linear-gradient(transparent 4px, rgba(0,0,0,.1) 4px, rgba(0,0,0,.1) calc(100% - 4px), transparent calc(100% - 4px));
   border-image-slice: 1;
 }
 
-:root:not([uidensity=compact]) #nav-bar[brighttext] > #PanelUI-button {
+:root:not([uidensity=compact]):not([chromehidden~="toolbar"]) #nav-bar[brighttext] > #PanelUI-button {
   border-image-source: linear-gradient(transparent 4px, rgba(100%,100%,100%,.2) 4px, rgba(100%,100%,100%,.2) calc(100% - 4px), transparent calc(100% - 4px));
 }
 
 #PanelUI-menu-button[badge-status] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
   display: -moz-box;
   height: 10px;
   width: 10px;
   background-size: contain;