home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Charamel.jar / global / toolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-07-26  |  3.1 KB  |  133 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.  *   Alex W. (Charamel) <lucx@shaw.ca>
  23.  */
  24.  
  25. /* ===== toolbar.css ====================================================
  26.   == Styles used by XUL toolbar-related elements.
  27.   ======================================================================= */
  28.  
  29. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  30.  
  31. /* ::::: toolbox ::::: */
  32.  
  33. toolbox {
  34. }
  35.  
  36. /* ::::: toolbar & menubar ::::: */
  37.  
  38. toolbar{
  39.   background:#EBE2D2;
  40. }
  41.  
  42. toolbar,
  43. menubar {
  44.   min-width: 1px;
  45.   min-height: 20px;
  46. }
  47.  
  48. menubar,
  49. .chromeclass-menubar{
  50. background:#E4D9C9;
  51. min-height:23px;
  52. border-top:none;
  53. }
  54.  
  55. /* ::::: toolbar decorations ::::: */
  56.  
  57. /* normal separator */
  58. toolbarseparator {
  59. margin:0px 0.2em;
  60. background:#E5DAC9;
  61. width : 2px;
  62. }
  63.  
  64. #toolbar-menubar toolbarseparator {
  65. background:#DED1BE!important;
  66. }
  67.  
  68. toolbarspacer {
  69.   width: 15px;
  70. }
  71.  
  72. /* ::::: toolbarpaletteitem ::::: */
  73.  
  74. toolbarpaletteitem {
  75.   cursor: -moz-grab;
  76. }
  77.  
  78. .toolbarpaletteitem-box[type="spacer"],
  79. .toolbarpaletteitem-box[type="spring"] {
  80.   border: 1px solid #D0BAAC;
  81. }
  82.  
  83. /*add double-ended arrow to felible space for customize toolbar */
  84. .toolbarpaletteitem-box[type="spring"],
  85. .toolbarpaletteitem-box[type="spring"][place="palette"]{
  86. background:url("chrome://global/skin/toolbar/flexi-space.png") no-repeat center;    
  87. }
  88.  
  89. toolbarpaletteitem[place="toolbar"] {
  90.   margin-left: -2px;
  91.   margin-right: -2px;
  92.   border-left: 2px solid transparent;
  93.   border-right: 2px solid transparent;
  94. }
  95.  
  96. toolbarpaletteitem[place="toolbar"] > toolbarspacer {
  97.   width: 11px;
  98. }
  99.  
  100. .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
  101. .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
  102.   margin: 2px 2px 2px 0;
  103. }
  104.  
  105. .toolbarpaletteitem-box[type="separator"][place="palette"] {
  106.   width: 2px;
  107.   height: 50px;
  108. }
  109.  
  110. .toolbarpaletteitem-box[type="spacer"][place="palette"],
  111. .toolbarpaletteitem-box[type="spring"][place="palette"] {
  112.   margin-bottom: 2px;
  113.   width: 50px;
  114.   height: 50px;
  115. }
  116.  
  117.  
  118. /* ..... Customize toolbar drag and drop feedback ..... */
  119.  
  120. toolbarpaletteitem[dragover="left"] {
  121.   border-left-color: #38B7F7;
  122. }
  123.  
  124. toolbarpaletteitem[dragover="right"] {
  125.   border-right-color: #38B7F7;
  126. }
  127.  
  128. toolbarbuton#bookmarks-chevron menupopup menu{
  129. background:red;
  130. }
  131.  
  132.  
  133.