1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== popup.css ======================================================
6 == Styles used by the XUL popup element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 /* ::::: menupopup ::::: */
15 border: 1px solid #FF9F00;
18 background-color: #000000;
21 menupopup > menu > menupopup {
26 /* ::::: arrow panel ::::: */
29 background: transparent;
34 panel[type="arrow"][side="top"],
35 panel[type="arrow"][side="bottom"] {
40 panel[type="arrow"][side="left"],
41 panel[type="arrow"][side="right"] {
48 padding: var(--arrowpanel-padding);
49 color: var(--arrowpanel-color);
50 background: var(--arrowpanel-background);
51 background-clip: padding-box;
52 border: 1px solid var(--arrowpanel-border-color);
56 .panel-arrow[side="top"],
57 .panel-arrow[side="bottom"] {
58 list-style-image: var(--panel-arrow-image-vertical,
59 url("chrome://global/skin/arrow/panelarrow-vertical.svg"));
65 .panel-arrow[side="top"] {
69 .panel-arrow[side="bottom"] {
70 transform: scaleY(-1);
74 .panel-arrow[side="left"],
75 .panel-arrow[side="right"] {
76 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg");
82 .panel-arrow[side="left"] {
86 .panel-arrow[side="right"] {
87 transform: scaleX(-1);
91 /* ::::: tooltip ::::: */
95 background-color: #9C9CFF;
96 border: 1px solid #FFCF00;
98 /* font-size: smaller; */
103 tooltip[titletip="true"] {
104 /* See bug 32157 comment 128
105 * margin: -2px 0px 0px -3px;
110 /* rules for popups associated with menulists */
112 menulist > menupopup {
113 border: 1px solid #FF9F00;
116 background-color: #000000;