Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / toolkit / themes / winstripe / global / popup.css
blob9c82f780fc5a83d0dfc096d851c8b9daf5e5332a
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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.
14 * The Original Code is Mozilla Communicator client code, released
15 * March 31, 1998.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998-2001
20 * the Initial Developer. All Rights Reserved.
22 * Contributor(s):
23 * Joe Hewitt (hewitt@netscape.com)
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 /* ===== popup.css ===================================================
40 == Styles used by the XUL popup element.
41 ======================================================================= */
43 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45 /* ::::: menupopup ::::: */
47 menupopup,
48 popup,
49 panel {
50 border: 3px solid transparent;
51 -moz-border-top-colors : ThreeDLightShadow ThreeDHighlight ThreeDFace;
52 -moz-border-left-colors : ThreeDLightShadow ThreeDHighlight ThreeDFace;
53 -moz-border-right-colors : ThreeDDarkShadow ThreeDShadow ThreeDFace;
54 -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow ThreeDFace;
55 padding: 0px;
56 min-width: 1px;
57 background: Menu;
60 menupopup,
61 /* auto complete popups don't render well as vista menus */
62 popup:not([type="autocomplete"])
64 -moz-appearance: menupopup;
67 menupopup > menu > menupopup,
68 popup > menu > menupopup {
69 /* align submenus */
70 -moz-margin-start: -3px;
71 margin-top: -3px;
74 /* ::::: tooltip ::::: */
76 tooltip {
77 -moz-appearance: tooltip;
78 margin-top: 21px;
79 border: 1px solid InfoText;
80 padding: 2px 3px;
81 max-width: 40em;
82 background-color: InfoBackground;
83 color: InfoText;
84 font: message-box;
87 tooltip[titletip="true"] {
88 /* See bug 32157 comment 128
89 * margin: -2px 0px 0px -3px;
91 max-width: none;
94 /* rules for popups associated with menulists */
96 menulist > menupopup,
97 .menulist-menupopup {
98 -moz-appearance: none;
99 border-width: 1px;
100 -moz-border-top-colors: -moz-FieldText;
101 -moz-border-right-colors: -moz-FieldText;
102 -moz-border-bottom-colors: -moz-FieldText;
103 -moz-border-left-colors: -moz-FieldText;
104 padding: 0px;
105 min-width: 0px;
106 background-color: -moz-Field;