home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / modern.jar / skin / modern / global / menubutton.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-05-18  |  2.1 KB  |  71 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. /* ===== menubutton.css =================================================
  25.   == Styles used by the XUL menubutton element.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: regular menubutton ::::::::::
  31.    :: Shows a caption and brings up a popup menu which executes a command.
  32.    ::::: */
  33.  
  34. .menubutton-single-dropmarker {
  35.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  36. }
  37.  
  38. .menubutton-single-dropmarker[disabled="true"] {
  39.   list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
  40. }
  41.  
  42. /* ::::: dual menubutton ::::::::::
  43.    :: Has a popup spawning button and a command invoking button
  44.    :::::: */
  45.  
  46. .menubutton-dual,
  47. .menubutton-dual > .menubutton-internal-box,
  48. .menubutton-dual:hover > .menubutton-dual-button,
  49. .menubutton-dual:active > .menubutton-dual-button {
  50.   margin: 0px;
  51.   border: none;
  52.   padding: 0px;
  53. }
  54.  
  55. .menubutton-dual-dropmarker-box {
  56.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  57. }
  58.  
  59. .menubutton-dual > menupopup {
  60.   min-width: 0px;
  61. }
  62.  
  63. /* ::::: plain menubutton ::::: */
  64.  
  65. menubutton.plain {
  66.   margin: 0px !important;
  67.   border: none !important;
  68.   padding: 0px !important;
  69. }
  70.  
  71.