make about:config look a bit nicer in LCARStrek
[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"] {
29 margin-left: -25px;
30 margin-right: -25px;
31}
32
33panel[type="arrow"][side="left"],
34panel[type="arrow"][side="right"] {
35 margin-top: -25px;
36 margin-bottom: -25px;
37}
38
9162a092 39.panel-arrowcontent {
7f3c87b9
RK
40 border: 1px solid #FF9F00;
41 background-color: #000000;
9162a092
RK
42 border-radius: 6px;
43 padding: 6px;
44 margin: 3px;
45}
46
47.panel-arrow[side="top"] {
48 list-style-image: url("chrome://global/skin/arrow/panelarrow-up.png");
7f3c87b9
RK
49 margin-left: 5px;
50 margin-right: 5px;
51 margin-bottom: -8px;
52 margin-top: -6px;
9162a092
RK
53}
54
55.panel-arrow[side="bottom"] {
56 list-style-image: url("chrome://global/skin/arrow/panelarrow-down.png");
7f3c87b9
RK
57 margin-left: 5px;
58 margin-right: 5px;
59 margin-top: -8px;
60 margin-bottom: -6px;
9162a092
RK
61}
62
63.panel-arrow[side="left"] {
64 list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png");
7f3c87b9
RK
65 margin-top: 5px;
66 margin-bottom: 5px;
67 margin-right: -8px;
68 margin-left: -6px;
9162a092
RK
69}
70
71.panel-arrow[side="right"] {
72 list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png");
73 -moz-transform: scaleX(-1);
7f3c87b9
RK
74 margin-top: 5px;
75 margin-bottom: 5px;
76 margin-left: -8px;
77 margin-right: -6px;
9162a092
RK
78}
79
b1eaa419 80tooltip {
569543b3 81 border-radius: 3px;
b1eaa419 82 background-color: #9C9CFF;
83 border: 1px solid #FFCF00;
84 color: #000000;
f98e9249 85 /* font-size: smaller; */
b1eaa419 86 padding: 2px;
87 max-width: 40em;
88}
89
b1eaa419 90tooltip[titletip="true"] {
ac1cdf20 91 /* See bug 32157 comment 128
92 * margin: -2px 0px 0px -3px;
93 */
b1eaa419 94 max-width: none;
95}
351107c9 96
97/* rules for popups associated with menulists */
98
b1eaa419 99menulist > menupopup,
100.menulist-menupopup {
101 border: 1px solid #FF9F00;
102 min-width: 0px;
103 padding: 0px;
104 background-color: #000000;
105}
f98e9249 106
3327253e 107menupopup > menu > menupopup {
f98e9249
RK
108 margin-top: -2px;
109}