home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Apollo.jar / global / toolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-08-12  |  2.9 KB  |  120 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;
  45.   min-height: 20px;
  46.   border-left: none;
  47.   border-top: none;
  48.   border-right: none;
  49.   border-bottom: 1px solid ThreeDShadow;
  50. }
  51.  
  52. menubar > .toolbar-holder {
  53.   border-top: none !important;
  54. }
  55. /* ::::: toolbar decorations ::::: */
  56.  
  57. toolbarseparator {
  58.   margin : 2px 0.2em;
  59.   border-right : 1px solid ThreeDHighlight;
  60.   border-left : 1px solid ThreeDShadow;
  61.   width : 2px;
  62. }
  63.  
  64. toolbarspacer {
  65.   width: 15px;
  66. }
  67.  
  68. /* ::::: toolbarpaletteitem ::::: */
  69.  
  70. toolbarpaletteitem {
  71.   cursor: -moz-grab;
  72. }
  73.  
  74. .toolbarpaletteitem-box[type="spacer"],
  75. .toolbarpaletteitem-box[type="spring"] {
  76.   border: 1px solid #808080;
  77. }
  78.  
  79. toolbarpaletteitem[place="toolbar"] {
  80.   margin-left: -2px;
  81.   margin-right: -2px;
  82.   border-left: 2px solid transparent;
  83.   border-right: 2px solid transparent;
  84. }
  85.  
  86. toolbarpaletteitem[place="toolbar"] > toolbarspacer {
  87.   width: 11px;
  88. }
  89.  
  90. .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
  91. .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
  92.   margin: 2px 2px 2px 0;
  93. }
  94.  
  95. .toolbarpaletteitem-box[type="separator"][place="palette"] {
  96.   width: 2px;
  97.   height: 50px;
  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/spacer-mid.gif") no-repeat center;
  109. }
  110.  
  111. /* ..... drag and drop feedback ..... */
  112.  
  113. toolbarpaletteitem[dragover="left"] {
  114.   border-left-color: #000000;
  115. }
  116.  
  117. toolbarpaletteitem[dragover="right"] {
  118.   border-right-color: #000000;
  119. }
  120.