sync both themes with toolkit windows theme changes in Mozilla 31 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;
fcfc89aa 16 padding: 1px;
b1eaa419 17 min-width: 1px;
18 background-color: #000000;
19}
351107c9 20
00f971bc
RK
21menupopup > menu > menupopup {
22 /* align submenus */
8b6270a7 23 margin-top: -2px;
00f971bc
RK
24}
25
26/* ::::: arrow panel ::::: */
27
9162a092 28panel[type="arrow"] {
7f3c87b9
RK
29 background: transparent;
30 border: none;
00f971bc 31 padding: 0;
9162a092
RK
32}
33
e1313d59
RK
34panel[type="arrow"][side="top"],
35panel[type="arrow"][side="bottom"] {
46dc2718
RK
36 margin-left: -20px;
37 margin-right: -20px;
e1313d59
RK
38}
39
40panel[type="arrow"][side="left"],
41panel[type="arrow"][side="right"] {
46dc2718
RK
42 margin-top: -20px;
43 margin-bottom: -20px;
e1313d59
RK
44}
45
9162a092
RK
46.panel-arrowcontent {
47 border-radius: 6px;
48 padding: 6px;
46dc2718
RK
49 background-color: #000000;
50 background-clip: padding-box;
51 border: 1px solid #FF9F00;
00f971bc 52 margin: 0px;
9162a092
RK
53}
54
46dc2718
RK
55.panel-arrow[side="top"],
56.panel-arrow[side="bottom"] {
57 list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical.svg");
58 position: relative;
59 margin-left: 10px;
60 margin-right: 10px;
61}
62
9162a092 63.panel-arrow[side="top"] {
00f971bc 64 margin-bottom: -1px;
9162a092
RK
65}
66
67.panel-arrow[side="bottom"] {
71a617ff 68 transform: scaleY(-1);
00f971bc 69 margin-top: -1px;
46dc2718
RK
70}
71
72.panel-arrow[side="left"],
73.panel-arrow[side="right"] {
74 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal.svg");
75 position: relative;
76 margin-top: 10px;
77 margin-bottom: 10px;
9162a092
RK
78}
79
80.panel-arrow[side="left"] {
00f971bc 81 margin-right: -1px;
9162a092
RK
82}
83
84.panel-arrow[side="right"] {
71a617ff 85 transform: scaleX(-1);
00f971bc 86 margin-left: -1px;
9162a092
RK
87}
88
af861d30
RK
89/* ::::: tooltip ::::: */
90
b1eaa419 91tooltip {
569543b3 92 border-radius: 3px;
b1eaa419 93 background-color: #9C9CFF;
94 border: 1px solid #FFCF00;
95 color: #000000;
f98e9249 96 /* font-size: smaller; */
b1eaa419 97 padding: 2px;
98 max-width: 40em;
99}
100
b1eaa419 101tooltip[titletip="true"] {
ac1cdf20 102 /* See bug 32157 comment 128
103 * margin: -2px 0px 0px -3px;
104 */
b1eaa419 105 max-width: none;
106}
351107c9 107
108/* rules for popups associated with menulists */
109
b1eaa419 110menulist > menupopup,
111.menulist-menupopup {
112 border: 1px solid #FF9F00;
113 min-width: 0px;
114 padding: 0px;
115 background-color: #000000;
116}