update both themes for DOMI classic changes up to 2010-12-30
[themes.git] / LCARStrek / global / popup.css
CommitLineData
351107c9 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is "Classic" theme of mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * the Mozilla Organization.
18 * Portions created by the Initial Developer are Copyright (C) 1998-2001
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
b1eaa419 38/* ===== popup.css ======================================================
7aa65558 39 == Styles used by the XUL popup element.
b1eaa419 40 ======================================================================= */
351107c9 41
f98e9249
RK
42@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43
b1eaa419 44/* ::::: menupopup ::::: */
351107c9 45
b1eaa419 46menupopup,
f98e9249 47panel {
b1eaa419 48 border: 1px solid #FF9F00;
49 padding: 1px;
50 min-width: 1px;
51 background-color: #000000;
52}
351107c9 53
9162a092
RK
54panel[type="arrow"] {
55 -moz-transition: opacity 300ms;
56}
57
58.panel-arrowcontent {
59 border-radius: 6px;
60 padding: 6px;
61 margin: 3px;
62}
63
64.panel-arrow[side="top"] {
65 list-style-image: url("chrome://global/skin/arrow/panelarrow-up.png");
66 margin-left: 6px;
67 margin-right: 6px;
68 margin-bottom: -13px;
69}
70
71.panel-arrow[side="bottom"] {
72 list-style-image: url("chrome://global/skin/arrow/panelarrow-down.png");
73 margin-left: 6px;
74 margin-right: 6px;
75 margin-top: -12px;
76}
77
78.panel-arrow[side="left"] {
79 list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png");
80 margin-top: 6px;
81 margin-bottom: 6px;
82 margin-right: -12px;
83}
84
85.panel-arrow[side="right"] {
86 list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png");
87 -moz-transform: scaleX(-1);
88 margin-top: 6px;
89 margin-bottom: 6px;
90 margin-left: -12px;
91}
92
b1eaa419 93tooltip {
569543b3 94 border-radius: 3px;
b1eaa419 95 background-color: #9C9CFF;
96 border: 1px solid #FFCF00;
97 color: #000000;
f98e9249 98 /* font-size: smaller; */
b1eaa419 99 padding: 2px;
100 max-width: 40em;
101}
102
b1eaa419 103tooltip[titletip="true"] {
ac1cdf20 104 /* See bug 32157 comment 128
105 * margin: -2px 0px 0px -3px;
106 */
b1eaa419 107 max-width: none;
108}
351107c9 109
110/* rules for popups associated with menulists */
111
b1eaa419 112menulist > menupopup,
113.menulist-menupopup {
114 border: 1px solid #FF9F00;
115 min-width: 0px;
116 padding: 0px;
117 background-color: #000000;
118}
f98e9249 119
3327253e 120menupopup > menu > menupopup {
f98e9249
RK
121 margin-top: -2px;
122}