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 / toolbar.css < prev    next >
Cascading Style Sheet File  |  2003-01-18  |  3KB  |  113 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. /* ===== toolbar.css ====================================================
  25.   == Styles used by XUL toolbar-related elements.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: toolbox ::::: */
  31.  
  32. toolbox {
  33.   -moz-appearance: toolbox;
  34.   background-color: -moz-Dialog;
  35.   border-left: 1px solid ThreeDShadow;
  36.   border-top: 1px solid ThreeDShadow;
  37.   border-right: 1px solid ThreeDHighlight;
  38. }
  39.  
  40. /* ::::: toolbar & menubar ::::: */
  41.  
  42. toolbar,
  43. menubar {
  44.   min-width: 1px; /* DON'T DELETE!
  45.     Prevents hiding of scrollbars in browser when window is made smaller.*/
  46. }
  47.  
  48. .toolbar-holder {
  49.   border-left: 1px solid ThreeDHighlight;
  50.   border-top: 1px solid ThreeDHighlight;
  51.   border-right: 1px solid ThreeDShadow;
  52.   border-bottom: 1px solid ThreeDShadow;
  53. }  
  54.  
  55. /* ::::: toolbargrippy ::::: */
  56.  
  57. toolbargrippy {
  58.   -moz-box-orient: vertical;
  59.   -moz-box-align: center;
  60.   border-left: 1px solid ThreeDHighlight;
  61.   border-top: 1px solid ThreeDHighlight;
  62.   border-right: 1px solid ThreeDShadow;
  63.   border-bottom: 1px solid ThreeDShadow;
  64.   width: 10px;
  65.   padding: 2px 1px;
  66.   list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow.gif");
  67. }
  68.  
  69. toolbargrippy:hover {
  70.   background-color: #CCCCFF;
  71. }
  72.  
  73. .toolbargrippy-texture {
  74.   margin-top: 2px;
  75.   width: 6px;
  76.   background: url("chrome://global/skin/toolbar/tbgrip-texture.gif");
  77. }
  78.  
  79. /* ::::: collapsed tray and grippies ::::: */
  80.  
  81. toolbargrippy[tbgrippy-collapsed="true"] {
  82.   -moz-box-orient: horizontal;
  83.   border-left: 1px solid ThreeDHighlight;
  84.   border-top: 1px solid ThreeDHighlight;
  85.   border-right: 1px solid ThreeDShadow;
  86.   border-bottom: 1px solid ThreeDShadow;
  87.   width: 40px;
  88.   height: 10px;
  89.   padding: 1px 2px;
  90.   list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow-clps.gif");
  91. }
  92.  
  93. toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-texture {
  94.   margin-top: 0;
  95.   margin-left: 2px;
  96.   width: 0px;
  97.   height: 6px;
  98. }
  99.  
  100. .collapsed-tray-spacer {
  101.   border-bottom: 1px solid ThreeDShadow;
  102. }  
  103.  
  104. /* ::::: toolbarseparator ::::: */
  105.  
  106. toolbarseparator {
  107.   margin                : 2px 0.2em 2px 0.2em;
  108.   border-right          : 1px solid ThreeDHighlight; 
  109.   border-left           : 1px solid ThreeDShadow;
  110.   width                 : 2px;
  111. }
  112.  
  113.