home *** CD-ROM | disk | FTP | other *** search
- /*
- * The contents of this file are subject to the Netscape Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- * The Original Code is Mozilla Communicator client code, released
- * March 31, 1998.
- *
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998-2001 Netscape Communications Corporation. All
- * Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- * Alex W. (Charamel) <lucx@shaw.ca>
- */
-
- /* ===== popup.css ===================================================
- == Styles used by the XUL popup element.
- ======================================================================= */
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
- /* ::::: menupopup ::::: */
-
- menupopup, popup {
- border-color:#DFD2C0 ;
- border-top-color:#EDE3D8;
- border-style:solid;
- border-width:1px 1px 1px 1px;
- padding: 0px;
- background: #FBF8F3;
- }
-
-
- /*background color of menubar menus*/
- menubar > menu > menupopup{
- background: url("chrome://global/skin/menu/background.png") repeat-x #FBF8F3;
- margin-left:-1px;/*align menubar popups with menus*/
- }
-
- menubar > menu[_moz-menuactive="true"] {
- border: 1px solid transparent !important;
- background-color: Highlight !important;
- color: HighlightText !important;
- }
-
-
- /*align left side of toolbar button menus */
- toolbarbutton[type="menu"] menupopup,
- toolbarbutton[type="menu-button"] menupopup{
- margin-left:-1px;
- }
-
-
- /*make personal toolbar menus look like toolbars*/
- #personal-bookmarks menupopup{
- background:url("chrome://global/skin/menu/bookmarksbar-background.png") repeat-x #EBE2D2;
- border:1px solid #DFD2C0;
- border-top:none;
- margin-top:1px!important; /*eliminate -1 margin; line menu with bottom of toolbar*/
- /*border-left-width:2px;
- -moz-border-left-colors:#EDE2D3 #F3ECE3;*/
- }
-
-
- /* ::::: tooltip ::::: */
-
- tooltip {
- -moz-appearance: tooltip;
- margin-top: 21px;
- border: 1px solid InfoText;
- padding: 2px 3px;
- max-width: 40em;
- background-color: InfoBackground;
- color: InfoText;
- font: message-box;
- }
-
- .tooltip-label {
- margin: 0px !important;
- }
-
- tooltip[titletip="true"] {
- /* See bug 32157 comment 128
- * margin: -2px 0px 0px -3px;
- */
- max-width: none;
- }
-
- /* rules for popups associated with menulists */
-
- menulist > menupopup,
- .menulist-menupopup {
- margin-top:-1px;
- }
-
-