home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / modern.jar / skin / modern / global / toolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-08-06  |  4.7 KB  |  170 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.   border-bottom: 1px solid #3B414F;
  34. }
  35.  
  36. /* ::::: toolbar ::::: */
  37.  
  38. toolbar {
  39.   min-width: 1px; /* DON'T DELETE!
  40.     Removes disappearance of scrollbars in content pane when window
  41.     is made smaller. Talk to evaughan@netscape.com for details. */
  42.   background: url("chrome://global/skin/toolbar/tb-mid.gif") #C7D0D9 repeat-x top;
  43.   color: #000000;
  44. }
  45.  
  46. toolbar > .toolbar-holder {
  47.   border-top: 1px solid #CED6DD;
  48.   border-right: 1px solid #86929E;
  49.   border-bottom: 1px solid #86929E;
  50.   border-left: 1px solid #CFD7DE;
  51. }
  52.  
  53. /* ::::: menubar ::::: */
  54.  
  55. menubar {
  56.   cursor: default;
  57.   min-width: 1px; /* DON'T DELETE!
  58.     Removes disappearance of scrollbars in content pane when window
  59.     is made smaller. Talk to evaughan@netscape.com for details. */
  60.   background-color: #DDE3EB;
  61.   color: #000000;
  62. }
  63.   
  64. menubar > .toolbar-holder {
  65.   border-top: 1px solid #EBF4FF;
  66.   border-right: 1px solid #B9BFC7;
  67.   border-bottom: 1px solid #B9BFC7;
  68.   border-left: 1px solid #EEF4FC;
  69. }  
  70.  
  71. /* ::::: toolbargrippy ::::: */
  72.  
  73. toolbargrippy {
  74.   -moz-box-orient: vertical;
  75.   width: 12px;
  76.   background-image: url("chrome://global/skin/toolbar/tbgrip-mid.gif");
  77. }
  78.  
  79. .toolbargrippy-top {
  80.   height: 1px;
  81.   background-image: url("chrome://global/skin/toolbar/tbgrip-top.gif");
  82. }
  83.  
  84. .toolbargrippy-btm {
  85.   height: 9px;
  86.   background-image: url("chrome://global/skin/toolbar/tbgrip-btm.gif");
  87. }
  88.   
  89. toolbargrippy:hover:active {
  90.   background-image: url("chrome://global/skin/toolbar/tbgrip-mid-act.gif");
  91. }
  92.  
  93. toolbargrippy:hover:active > .toolbargrippy-top {
  94.   background-image: url("chrome://global/skin/toolbar/tbgrip-top-act.gif");
  95. }
  96.  
  97. toolbargrippy:hover:active > .toolbargrippy-btm {
  98.   background-image: url("chrome://global/skin/toolbar/tbgrip-btm-act.gif");
  99. }
  100.  
  101. /* ::::: menubar grippy ::::: */
  102.  
  103. menubar > toolbargrippy { 
  104.   background-image: url("chrome://global/skin/menu/mbgrip-mid.gif");
  105.  
  106. menubar > toolbargrippy > .toolbargrippy-top {
  107.   height: 2px;
  108.   background-image: url("chrome://global/skin/menu/mbgrip-top.gif");
  109. }
  110.  
  111. menubar > toolbargrippy > .toolbargrippy-btm {
  112.   height: 9px;
  113.   background-image: url("chrome://global/skin/menu/mbgrip-btm.gif");
  114. }
  115.   
  116. menubar > toolbargrippy:hover:active {
  117.   background-image: url("chrome://global/skin/menu/mbgrip-mid-act.gif");
  118. }
  119.  
  120. menubar > toolbargrippy:hover:active > .toolbargrippy-top {
  121.   background-image: url("chrome://global/skin/menu/mbgrip-top-act.gif");
  122. }
  123.  
  124. menubar > toolbargrippy:hover:active > .toolbargrippy-btm {
  125.   background-image: url("chrome://global/skin/menu/mbgrip-btm-act.gif");
  126. }
  127.  
  128. /* ::::: collapsed tray and grippies ::::: */
  129.   
  130. .collapsed-tray-holder {
  131.   background-color: #C7D0D9;
  132.   height: 11px;
  133. }
  134.  
  135. toolbargrippy[tbgrippy-collapsed="true"] {
  136.   -moz-box-orient: horizontal;
  137.   background-image: none;
  138.   width: 200px;
  139. }
  140.  
  141. toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-collapsed-left {
  142.   background-image: url("chrome://global/skin/toolbar/tbgrip-clps.gif");
  143.   width: 12px;
  144. }
  145.  
  146. toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-collapsed-right {
  147.   background-color: #B5C0CC;
  148.   border: 1px outset #B5C0CC;
  149. }
  150.  
  151. toolbargrippy[tbgrippy-collapsed="true"]:hover:active > .toolbargrippy-collapsed-left {
  152.   background-image: url("chrome://global/skin/toolbar/tbgrip-clps-act.gif");
  153. }
  154.  
  155. toolbargrippy[tbgrippy-collapsed="true"]:hover:active > .toolbargrippy-collapsed-right {
  156.   border-style: inset;
  157. }
  158.  
  159. /* ::::: toolbarseparator ::::: */
  160.  
  161. toolbarseparator { 
  162.   margin: 0px 0.2em;
  163.   border-right: 1px solid #E2E7EB;
  164.   border-left: 1px solid #95A0AD;
  165.   width: 0px;
  166. }
  167.  
  168.  
  169.