make sure the menuitem radios and checkmarks show up and the items do not inherit...
[themes.git] / LCARStrek / global / popup.css
... / ...
CommitLineData
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/. */
4
5/* ===== popup.css ======================================================
6 == Styles used by the XUL popup element.
7 ======================================================================= */
8
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10
11/* ::::: menupopup ::::: */
12
13menupopup,
14panel {
15 border: 1px solid #FF9F00;
16 padding: 1px;
17 min-width: 1px;
18 background-color: #000000;
19}
20
21menupopup > menu > menupopup {
22 /* align submenus */
23 margin-top: -2px;
24}
25
26/* ::::: arrow panel ::::: */
27
28panel[type="arrow"] {
29 background: transparent;
30 border: none;
31 padding: 0;
32}
33
34panel[type="arrow"][side="top"],
35panel[type="arrow"][side="bottom"] {
36 margin-left: -20px;
37 margin-right: -20px;
38}
39
40panel[type="arrow"][side="left"],
41panel[type="arrow"][side="right"] {
42 margin-top: -20px;
43 margin-bottom: -20px;
44}
45
46.panel-arrowcontent {
47 border-radius: 6px;
48 padding: 6px;
49 background-color: #000000;
50 background-clip: padding-box;
51 border: 1px solid #FF9F00;
52 margin: 0px;
53}
54
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
63.panel-arrow[side="top"] {
64 margin-bottom: -1px;
65}
66
67.panel-arrow[side="bottom"] {
68 transform: scaleY(-1);
69 margin-top: -1px;
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;
78}
79
80.panel-arrow[side="left"] {
81 margin-right: -1px;
82}
83
84.panel-arrow[side="right"] {
85 transform: scaleX(-1);
86 margin-left: -1px;
87}
88
89/* ::::: tooltip ::::: */
90
91tooltip {
92 border-radius: 3px;
93 background-color: #9C9CFF;
94 border: 1px solid #FFCF00;
95 color: #000000;
96 /* font-size: smaller; */
97 padding: 2px;
98 max-width: 40em;
99}
100
101tooltip[titletip="true"] {
102 /* See bug 32157 comment 128
103 * margin: -2px 0px 0px -3px;
104 */
105 max-width: none;
106}
107
108/* rules for popups associated with menulists */
109
110menulist > menupopup,
111.menulist-menupopup {
112 border: 1px solid #FF9F00;
113 min-width: 0px;
114 padding: 0px;
115 background-color: #000000;
116}