home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / fusion.jar / skin / fusion / global / toolbar.css < prev    next >
Cascading Style Sheet File  |  2005-07-29  |  4KB  |  146 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. }
  34.  
  35. /* ::::: toolbar & menubar ::::: */
  36.  
  37. toolbar {
  38.   min-width: 1px;
  39.   min-height: 20px;
  40. }
  41.  
  42. toolbar[type="menubar"], menubar {
  43.   min-width: 1px;
  44.   min-height: 20px;
  45. }
  46.  
  47. /* ::::: toolbar decorations ::::: */
  48.  
  49. toolbarseparator {
  50.   margin : 2px 0.2em;
  51.   border-right : 1px solid ThreeDHighlight;
  52.   border-left : 1px solid ThreeDShadow;
  53.   width : 2px;
  54. }
  55.  
  56. toolbarpaletteitem[place="palette"] toolbarseparator {
  57.   display: none !important;
  58. }
  59.  
  60. toolbarspacer {
  61.   width: 15px;
  62. }
  63.  
  64. /* ::::: toolbarpaletteitem ::::: */
  65.  
  66. toolbarpaletteitem {
  67.   cursor: -moz-grab;
  68. }
  69.  
  70. .toolbarpaletteitem-box[type="spacer"],
  71. .toolbarpaletteitem-box[type="spring"] {
  72.   /* border: 1px solid #808080; */
  73. }
  74.  
  75. /*toolbarpaletteitem[place="toolbar"] {
  76.     margin-left: -2px;
  77.   margin-right: -2px;
  78.   margin-left: 0px;
  79.   margin-right: 0px;
  80.   border-left: 2px solid transparent;
  81.   border-right: 2px solid transparent;
  82. }*/
  83.  
  84. toolbarpaletteitem[place="toolbar"] > toolbarspacer {
  85.   width: 11px;
  86. }
  87.  
  88. /*.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
  89. .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
  90.   margin: 2px 2px 2px 0;
  91. }
  92. */
  93. .toolbarpaletteitem-box[type="separator"][place="palette"] {
  94.   background: url("chrome://global/skin/toolbar/separator-icon.png") no-repeat center;
  95.   height: 32px;
  96.   width: 2px;
  97.   margin-bottom: 2px;
  98. }
  99.  
  100. .toolbarpaletteitem-box[type="spacer"][place="palette"],
  101. .toolbarpaletteitem-box[type="spring"][place="palette"] {
  102.   margin-bottom: 2px;
  103.   width: 50px;
  104.   height: 50px;
  105. }
  106.  
  107. .toolbarpaletteitem-box[type="spring"][place="palette"] {
  108.   background: url("chrome://global/skin/toolbar/flex-space.png") no-repeat center;
  109. }
  110.  
  111. .toolbarpaletteitem-box[type="spacer"][place="palette"] {
  112.   background: url("chrome://global/skin/toolbar/space-icon.png") no-repeat center;
  113. }
  114.  
  115. /* ..... drag and drop feedback ..... */
  116.  
  117. toolbarpaletteitem[dragover="left"] {
  118.   border-left-color: #000000;
  119. }
  120.  
  121. toolbarpaletteitem[dragover="right"] {
  122.   border-right-color: #000000;
  123. }
  124.  
  125. /* ::::: overflow ::::: */
  126.  
  127. .toolbar-overflow-button {
  128.     list-style-image: url("chrome://global/skin/tabs/tab-chevron2.png");
  129. }
  130. .toolbar-overflow-button:hover {
  131.     list-style-image: url("chrome://global/skin/tabs/tab-chevron-hov2.png");
  132. }
  133. .toolbar-overflow-button dropmarker {
  134.     display: none;
  135. }
  136. .toolbar-inner-container {
  137.     overflow: hidden;
  138. }
  139.  
  140. multibartray .toolbar-overflow-button {
  141.     list-style-image: url("chrome://global/skin/tabs/tab-chevron2.png");
  142.     background-repeat: repeat-x;
  143. }
  144. multibartray .toolbar-overflow-button:hover {
  145.     list-style-image: url("chrome://global/skin/tabs/tab-chevron-hov2.png");
  146. }