gecko-dev/browser/themes/linux/customizableui/panelUI.css
Jared Wein b7d6ab75f9 Bug 1452836 - Apply the arrowpanel variables to submenus of the bookmarks popup. r=ntim
This is the same approach used in the Windows panelUI.css

MozReview-Commit-ID: IiqbGK8zMdw

--HG--
rename : browser/themes/windows/customizableui/menu-arrow.svg => browser/themes/shared/customizableui/menu-arrow.svg
extra : rebase_source : 805beadc2dd6f2961cce3c4ea491bf64a9433bb4
2018-04-17 10:09:22 -04:00

39 lines
1.2 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
%include ../../shared/customizableui/panelUI.inc.css
#BMB_bookmarksPopup menupopup {
-moz-appearance: none;
background: var(--arrowpanel-background);
color: var(--arrowpanel-color);
border: 1px solid var(--arrowpanel-border-color);
margin-top: -6px;
padding-top: 1px;
}
/* Add some space at the top because there are no headers: */
#BMB_bookmarksPopup menupopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox {
padding-top: 4px;
}
menuitem.subviewbutton {
-moz-appearance: none !important;
}
.subviewradio > .radio-label-box {
-moz-appearance: none;
}
/*
* #pageActionFeedbackAnimatableImage is wider than the panel, and due to a
* bug in panels on Linux, a box-shadow appears where the image would be if
* overflow:hidden wasn't applied. Disabling the box-shadow for this panel on
* Linux works around this issue. This bug is on file as 1394575.
*/
#pageActionFeedback > .panel-arrowcontainer > .panel-arrowcontent {
box-shadow: none;
}