first part of sync for both themes for toolkit winstripe changes in Mozilla 16 cycle
[themes.git] / LCARStrek / global / popup.css
CommitLineData
9099c61d
RK
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/. */
351107c9 4
b1eaa419 5/* ===== popup.css ======================================================
7aa65558 6 == Styles used by the XUL popup element.
b1eaa419 7 ======================================================================= */
351107c9 8
f98e9249
RK
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
b1eaa419 11/* ::::: menupopup ::::: */
351107c9 12
b1eaa419 13menupopup,
f98e9249 14panel {
b1eaa419 15 border: 1px solid #FF9F00;
16 padding: 1px;
17 min-width: 1px;
18 background-color: #000000;
19}
351107c9 20
9162a092 21panel[type="arrow"] {
7f3c87b9
RK
22 background: transparent;
23 border: none;
9162a092
RK
24 -moz-transition: opacity 300ms;
25}
26
e1313d59
RK
27panel[type="arrow"][side="top"],
28panel[type="arrow"][side="bottom"] {
46dc2718
RK
29 margin-left: -20px;
30 margin-right: -20px;
e1313d59
RK
31}
32
33panel[type="arrow"][side="left"],
34panel[type="arrow"][side="right"] {
46dc2718
RK
35 margin-top: -20px;
36 margin-bottom: -20px;
e1313d59
RK
37}
38
9162a092
RK
39.panel-arrowcontent {
40 border-radius: 6px;
41 padding: 6px;
46dc2718
RK
42 background-color: #000000;
43 background-clip: padding-box;
44 border: 1px solid #FF9F00;
9162a092
RK
45 margin: 3px;
46}
47
46dc2718
RK
48.panel-arrow[side="top"],
49.panel-arrow[side="bottom"] {
50 list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.svg");
51 position: relative;
52 margin-left: 10px;
53 margin-right: 10px;
54}
55
9162a092 56.panel-arrow[side="top"] {
46dc2718 57 margin-bottom: -5px;
9162a092
RK
58}
59
60.panel-arrow[side="bottom"] {
46dc2718
RK
61 -moz-transform: scaleY(-1);
62 margin-top: -5px;
63}
64
65.panel-arrow[side="left"],
66.panel-arrow[side="right"] {
67 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg");
68 position: relative;
69 margin-top: 10px;
70 margin-bottom: 10px;
9162a092
RK
71}
72
73.panel-arrow[side="left"] {
46dc2718 74 margin-right: -5px;
9162a092
RK
75}
76
77.panel-arrow[side="right"] {
9162a092 78 -moz-transform: scaleX(-1);
46dc2718 79 margin-left: -5px;
9162a092
RK
80}
81
b1eaa419 82tooltip {
569543b3 83 border-radius: 3px;
b1eaa419 84 background-color: #9C9CFF;
85 border: 1px solid #FFCF00;
86 color: #000000;
f98e9249 87 /* font-size: smaller; */
b1eaa419 88 padding: 2px;
89 max-width: 40em;
90}
91
b1eaa419 92tooltip[titletip="true"] {
ac1cdf20 93 /* See bug 32157 comment 128
94 * margin: -2px 0px 0px -3px;
95 */
b1eaa419 96 max-width: none;
97}
351107c9 98
99/* rules for popups associated with menulists */
100
b1eaa419 101menulist > menupopup,
102.menulist-menupopup {
103 border: 1px solid #FF9F00;
104 min-width: 0px;
105 padding: 0px;
106 background-color: #000000;
107}
f98e9249 108
3327253e 109menupopup > menu > menupopup {
f98e9249
RK
110 margin-top: -2px;
111}