home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Charamel.jar / global / popup.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-07-24  |  2.8 KB  |  105 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.  *   Alex W. (Charamel) <lucx@shaw.ca>
  23.  */
  24.  
  25. /* ===== popup.css ===================================================
  26.   == Styles used by the XUL popup element.
  27.   ======================================================================= */
  28.  
  29. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  30.  
  31. /* ::::: menupopup ::::: */
  32.  
  33. menupopup, popup {
  34. border-color:#DFD2C0    ;
  35. border-top-color:#EDE3D8;
  36. border-style:solid;
  37. border-width:1px 1px 1px 1px;
  38. padding: 0px;
  39. background: #FBF8F3;
  40. }
  41.  
  42.  
  43. /*background color of menubar menus*/
  44. menubar > menu > menupopup{
  45. background: url("chrome://global/skin/menu/background.png") repeat-x #FBF8F3;
  46. margin-left:-1px;/*align menubar popups with menus*/
  47. }
  48.  
  49. menubar > menu[_moz-menuactive="true"] {
  50.   border: 1px solid transparent !important;
  51.   background-color: Highlight !important;
  52.   color: HighlightText !important;
  53. }
  54.  
  55.  
  56. /*align left side of toolbar button menus */
  57. toolbarbutton[type="menu"] menupopup,
  58. toolbarbutton[type="menu-button"] menupopup{
  59. margin-left:-1px;
  60. }
  61.  
  62.  
  63. /*make personal toolbar menus look like toolbars*/
  64. #personal-bookmarks menupopup{
  65. background:url("chrome://global/skin/menu/bookmarksbar-background.png") repeat-x #EBE2D2;
  66. border:1px solid #DFD2C0;
  67. border-top:none;
  68. margin-top:1px!important; /*eliminate -1 margin; line menu with bottom of toolbar*/
  69. /*border-left-width:2px;
  70. -moz-border-left-colors:#EDE2D3 #F3ECE3;*/
  71. }
  72.  
  73.  
  74. /* ::::: tooltip ::::: */
  75.  
  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;
  85. }
  86.  
  87. .tooltip-label {
  88.   margin: 0px !important;
  89. }
  90.  
  91. tooltip[titletip="true"] {
  92.  /* See bug 32157 comment 128
  93.   * margin: -2px 0px 0px -3px;
  94.   */
  95.   max-width: none;
  96. }
  97.  
  98. /* rules for popups associated with menulists */
  99.  
  100. menulist > menupopup,
  101. .menulist-menupopup {
  102. margin-top:-1px;
  103. }
  104.  
  105.