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;
22 background: transparent;
24 transition: opacity 300ms;
27 .panel-arrowcontainer[panelopen] {
28 transition-duration: 200ms, 150ms;
29 transition-property: opacity, transform;
30 transition-timing-function: ease-out;
33 .panel-arrowcontainer:not([panelopen]) {
34 /* Does not work correctly in Linux right now. - 2012-09-30
35 * Actually, only breaks uncommon Window Managers, but arrowpanels disappear completely. 2013-07-21
39 .panel-arrowcontainer:not([panelopen])[side="top"] {
40 transform: translateY(-20px);
43 .panel-arrowcontainer:not([panelopen])[side="bottom"] {
44 transform: translateY(20px);
47 .panel-arrowcontainer:not([panelopen])[side="left"] {
48 transform: translateX(-20px);
51 .panel-arrowcontainer:not([panelopen])[side="right"] {
52 transform: translateX(20px);
55 panel[type="arrow"][side="top"],
56 panel[type="arrow"][side="bottom"] {
61 panel[type="arrow"][side="left"],
62 panel[type="arrow"][side="right"] {
70 background-color: #000000;
71 background-clip: padding-box;
72 border: 1px solid #FF9F00;
76 .panel-arrow[side="top"],
77 .panel-arrow[side="bottom"] {
78 list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.svg");
84 .panel-arrow[side="top"] {
88 .panel-arrow[side="bottom"] {
89 transform: scaleY(-1);
93 .panel-arrow[side="left"],
94 .panel-arrow[side="right"] {
95 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg");
101 .panel-arrow[side="left"] {
105 .panel-arrow[side="right"] {
106 transform: scaleX(-1);
110 /* ::::: tooltip ::::: */
114 background-color: #9C9CFF;
115 border: 1px solid #FFCF00;
117 /* font-size: smaller; */
122 tooltip[titletip="true"] {
123 /* See bug 32157 comment 128
124 * margin: -2px 0px 0px -3px;
129 /* rules for popups associated with menulists */
131 menulist > menupopup,
132 .menulist-menupopup {
133 border: 1px solid #FF9F00;
136 background-color: #000000;
139 menupopup > menu > menupopup {