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 /* ::::: Variables ::::: */
13 --panel-arrowcontent-padding: 6px;
14 --panel-arrowcontent-background: #CCD0DD;
15 --panel-arrowcontent-color: #000000;
16 --panel-arrowcontent-border: 1px outset #CCD0DD;
19 /* ::::: menupopup ::::: */
23 border: 1px outset #CCD0DD;
26 background-color: #CCD0DD;
29 menupopup > menu > menupopup {
34 /* ::::: arrow panel ::::: */
37 background: transparent;
42 panel[type="arrow"][side="top"],
43 panel[type="arrow"][side="bottom"] {
48 panel[type="arrow"][side="left"],
49 panel[type="arrow"][side="right"] {
55 padding: var(--panel-arrowcontent-padding);
56 color: var(--panel-arrowcontent-color);
57 background: var(--panel-arrowcontent-background);
58 background-clip: padding-box;
59 border: var(--panel-arrowcontent-border);
63 .panel-arrow[side="top"],
64 .panel-arrow[side="bottom"] {
65 list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.svg");
71 .panel-arrow[side="top"] {
75 .panel-arrow[side="bottom"] {
76 transform: scaleY(-1);
80 .panel-arrow[side="left"],
81 .panel-arrow[side="right"] {
82 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg");
88 .panel-arrow[side="left"] {
92 .panel-arrow[side="right"] {
93 transform: scaleX(-1);
97 /* ::::: tooltip ::::: */
100 background-color : #FFFFCC;
101 border : 1px outset #FFFFCC;
103 /* font-size: smaller; */
108 tooltip[titletip="true"] {
109 /* See bug 32157 comment 128
110 * margin: -2px 0px 0px -3px;
115 /* rules for popups associated with menulists */
117 menulist > menupopup {
118 border: 1px solid #666699;
121 background-color: white;
124 menupopup > menu > menupopup {