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
14 * The Original Code is Mozilla Communicator client code, released
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.
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 ::::: */
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
;
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
{
70 -moz-margin-start: -3px;
74 /* ::::: tooltip ::::: */
77 -moz-appearance: tooltip
;
79 border: 1px solid InfoText
;
82 background-color: InfoBackground
;
87 tooltip
[titletip
="true"] {
88 /* See bug 32157 comment 128
89 * margin: -2px 0px 0px -3px;
94 /* rules for popups associated with menulists */
98 -moz-appearance: none
;
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
;
106 background-color: -moz-Field
;