home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 March / PCWorld_2005-03_cd.bin / komunikace / kmeleon / kmeleon09.exe / classic.jar / skin / classic / global / popup.css < prev    next >
Cascading Style Sheet File  |  2003-03-21  |  2KB  |  82 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-2001 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Joe Hewitt (hewitt@netscape.com)
  22.  */
  23.  
  24. /* ===== popup.css ===================================================
  25.   == Styles used by the XUL popup element.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: menupopup ::::: */
  31.  
  32. menupopup,
  33. popup {
  34.   border: 2px solid;
  35.   -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
  36.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  37.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  38.   -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
  39.   padding: 1px;
  40.   min-width: 1px;
  41.   background-color: Menu;
  42. }
  43.  
  44. /* ::::: tooltip ::::: */
  45.  
  46. tooltip {
  47.   -moz-appearance: tooltip;
  48.   margin-top: 21px;
  49.   border: 1px solid InfoText;
  50.   padding: 2px 3px;
  51.   max-width: 40em;
  52.   background-color: InfoBackground;
  53.   color: InfoText;
  54.   font: message-box;
  55. }
  56.  
  57. .tooltip-label {
  58.   margin: 0px !important;
  59. }
  60.  
  61. tooltip[titletip="true"] {
  62.   /* See bug 32157 comment 128
  63.    * margin: -2px 0px 0px -3px;
  64.    */
  65.   max-width: none;
  66. }
  67.   
  68. /* rules for popups associated with menulists */
  69.  
  70. menulist > menupopup,
  71. .menulist-menupopup {
  72.   border-width: 1px;
  73.   -moz-border-top-colors: -moz-FieldText;
  74.   -moz-border-right-colors: -moz-FieldText;
  75.   -moz-border-bottom-colors: -moz-FieldText;
  76.   -moz-border-left-colors: -moz-FieldText;
  77.   padding: 0px;
  78.   min-width: 0px;
  79.   background-color: -moz-Field;
  80. }
  81.  
  82.