relicense to MPL2
[themes.git] / EarlyBlue / 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/. */
128000f4 4
e181d49e
RK
5@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
74d14f90 7/* ::::: menupopup ::::: */
f6e0a33f 8
74d14f90 9menupopup,
56029caf 10panel {
74d14f90 11 border: 1px outset #CCD0DD;
12 padding: 1px;
13 min-width: 1px;
14 background-color: #CCD0DD;
15}
f6e0a33f 16
9162a092 17panel[type="arrow"] {
7f3c87b9
RK
18 background: transparent;
19 border: none;
9162a092
RK
20 -moz-transition: opacity 300ms;
21}
22
e1313d59
RK
23panel[type="arrow"][side="top"],
24panel[type="arrow"][side="bottom"] {
25 margin-left: -25px;
26 margin-right: -25px;
27}
28
29panel[type="arrow"][side="left"],
30panel[type="arrow"][side="right"] {
31 margin-top: -25px;
32 margin-bottom: -25px;
33}
34
9162a092 35.panel-arrowcontent {
7f3c87b9
RK
36 border: 1px outset #CCD0DD;
37 background-color: #CCD0DD;
9162a092
RK
38 padding: 6px;
39 margin: 3px;
40}
41
42.panel-arrow[side="top"] {
43 list-style-image: url("chrome://global/skin/arrow/panelarrow-up.png");
7f3c87b9
RK
44 margin-left: 5px;
45 margin-right: 5px;
46 margin-bottom: -8px;
47 margin-top: -6px;
9162a092
RK
48}
49
50.panel-arrow[side="bottom"] {
51 list-style-image: url("chrome://global/skin/arrow/panelarrow-down.png");
7f3c87b9
RK
52 margin-left: 5px;
53 margin-right: 5px;
54 margin-top: -8px;
55 margin-bottom: -6px;
9162a092
RK
56}
57
58.panel-arrow[side="left"] {
59 list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png");
7f3c87b9
RK
60 margin-top: 5px;
61 margin-bottom: 5px;
62 margin-right: -8px;
63 margin-left: -6px;
9162a092
RK
64}
65
66.panel-arrow[side="right"] {
67 list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png");
68 -moz-transform: scaleX(-1);
7f3c87b9
RK
69 margin-top: 5px;
70 margin-bottom: 5px;
71 margin-left: -8px;
72 margin-right: -6px;
9162a092
RK
73}
74
74d14f90 75tooltip {
76 background-color : #FFFFCC;
77 border : 1px outset #FFFFCC;
78 color: #000000;
e181d49e 79 /* font-size: smaller; */
74d14f90 80 padding: 2px;
81 max-width: 40em;
82}
83
74d14f90 84tooltip[titletip="true"] {
b618d1fd 85 /* See bug 32157 comment 128
86 * margin: -2px 0px 0px -3px;
87 */
74d14f90 88 max-width: none;
89}
f6e0a33f 90
91/* rules for popups associated with menulists */
92
74d14f90 93menulist > menupopup,
94.menulist-menupopup {
95 border: 1px solid #666699;
96 min-width: 0px;
97 padding: 0px;
98 background-color: white;
99}
570c53ea 100
3327253e 101menupopup > menu > menupopup {
570c53ea
RK
102 margin-top: -2px;
103}