|
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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
6 |
|
7 /* ::::: menupopup ::::: */ |
|
8 |
|
9 menupopup, |
|
10 panel { |
|
11 -moz-appearance: menupopup; |
|
12 min-width: 1px; |
|
13 color: MenuText; |
|
14 } |
|
15 |
|
16 /* ::::: arrow panel ::::: */ |
|
17 |
|
18 panel[type="arrow"] { |
|
19 transition: opacity 300ms; |
|
20 -moz-appearance: none; |
|
21 } |
|
22 |
|
23 panel[type="arrow"][side="top"], |
|
24 panel[type="arrow"][side="bottom"] { |
|
25 margin-left: -16px; |
|
26 margin-right: -16px; |
|
27 } |
|
28 |
|
29 panel[type="arrow"][side="left"], |
|
30 panel[type="arrow"][side="right"] { |
|
31 margin-top: -16px; |
|
32 margin-bottom: -16px; |
|
33 } |
|
34 |
|
35 .panel-arrowcontent { |
|
36 padding: 10px; |
|
37 color: -moz-DialogText; |
|
38 background: -moz-Dialog; |
|
39 border: 1px solid ThreeDShadow; |
|
40 } |
|
41 |
|
42 .panel-arrow[side="top"], |
|
43 .panel-arrow[side="bottom"] { |
|
44 list-style-image: url("chrome://global/skin/icons/panelarrow-vertical.svg"); |
|
45 position: relative; |
|
46 margin-left: 6px; |
|
47 margin-right: 6px; |
|
48 } |
|
49 |
|
50 .panel-arrow[side="top"] { |
|
51 margin-bottom: -1px; |
|
52 } |
|
53 |
|
54 .panel-arrow[side="bottom"] { |
|
55 transform: scaleY(-1); |
|
56 margin-top: -1px; |
|
57 } |
|
58 |
|
59 .panel-arrow[side="left"], |
|
60 .panel-arrow[side="right"] { |
|
61 list-style-image: url("chrome://global/skin/icons/panelarrow-horizontal.svg"); |
|
62 position: relative; |
|
63 margin-top: 6px; |
|
64 margin-bottom: 6px; |
|
65 } |
|
66 |
|
67 .panel-arrow[side="left"] { |
|
68 margin-right: -1px; |
|
69 } |
|
70 |
|
71 .panel-arrow[side="right"] { |
|
72 transform: scaleX(-1); |
|
73 margin-left: -1px; |
|
74 } |
|
75 |
|
76 /* ::::: tooltip ::::: */ |
|
77 |
|
78 tooltip { |
|
79 -moz-appearance: tooltip; |
|
80 margin-top: 21px; |
|
81 /* GTK hardcodes this to 4px */ |
|
82 padding: 4px; |
|
83 max-width: 40em; |
|
84 color: InfoText; |
|
85 font: message-box; |
|
86 } |
|
87 |
|
88 tooltip[titletip="true"] { |
|
89 /* See bug 32157 comment 128 |
|
90 * margin: -2px 0px 0px -3px; |
|
91 */ |
|
92 max-width: none; |
|
93 } |
|
94 |
|
95 /* rules for popups associated with menulists */ |
|
96 |
|
97 menulist > menupopup, |
|
98 .menulist-menupopup { |
|
99 padding: 0px; |
|
100 min-width: 0px; |
|
101 } |
|
102 |