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"] {
49 background-color: #000000;
50 background-clip: padding-box;
51 border: 1px solid #FF9F00;
55 .panel-arrow[side="top"],
56 .panel-arrow[side="bottom"] {
57 list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.svg");
63 .panel-arrow[side="top"] {
67 .panel-arrow[side="bottom"] {
68 transform: scaleY(-1);
72 .panel-arrow[side="left"],
73 .panel-arrow[side="right"] {
74 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg");
80 .panel-arrow[side="left"] {
84 .panel-arrow[side="right"] {
85 transform: scaleX(-1);
89 /* ::::: tooltip ::::: */
93 background-color: #9C9CFF;
94 border: 1px solid #FFCF00;
96 /* font-size: smaller; */
101 tooltip[titletip="true"] {
102 /* See bug 32157 comment 128
103 * margin: -2px 0px 0px -3px;
108 /* rules for popups associated with menulists */
110 menulist > menupopup,
111 .menulist-menupopup {
112 border: 1px solid #FF9F00;
115 background-color: #000000;