1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is Mozilla Communicator client code, released
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998-2001
20 * the Initial Developer. All Rights Reserved.
23 * Joe Hewitt (hewitt@netscape.com)
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 /* ===== toolbar.css ====================================================
40 == Styles used by XUL toolbar-related elements.
41 ======================================================================= */
43 @namespace url
("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45 /* ::::: toolbox ::::: */
48 -moz-appearance: toolbox
;
49 background-color: -moz-Dialog
;
50 border-top: 2px solid
;
51 -moz-border-top-colors: ThreeDShadow ThreeDHighlight
;
54 /* ::::: toolbar & menubar ::::: */
57 -moz-appearance: toolbar
;
63 border-top: 1px solid ThreeDHighlight
;
64 border-bottom: 1px solid ThreeDShadow
;
67 toolbar:first-child
, menubar
{
69 border-bottom: 1px solid ThreeDShadow
;
70 border-top: 0px !important
;
73 toolbar
[mode
="icons"] .toolbarbutton-text
{
77 toolbar
[mode
="text"] .toolbarbutton-icon
{
81 toolbar
[mode
="text"] .toolbarbutton-text
{
82 padding: 0 !important
;
83 margin: 3px 5px !important
;
86 /* ::::: toolbar decorations ::::: */
89 -moz-appearance: separator
;
90 border-top: 2px solid transparent
;
91 border-bottom: 2px solid transparent
;
92 border-left: 3px solid transparent
;
93 border-right: 3px solid transparent
;
94 -moz-border-left-colors : transparent transparent ThreeDShadow
;
95 -moz-border-right-colors : transparent transparent ThreeDHighlight
;
102 /* ::::: toolbarpaletteitem ::::: */
108 .toolbarpaletteitem-box
[type
="spacer"],
109 .toolbarpaletteitem-box[type="spring"] {
110 border: 1px solid
#808080;
111 background-color: #FFF !important
;
114 toolbarpaletteitem
[place
="toolbar"] {
117 border-left: 2px solid transparent
;
118 border-right: 2px solid transparent
;
121 toolbarpaletteitem
[place
="toolbar"] > toolbarspacer
{
125 .toolbarpaletteitem-box
[type
="spacer"][place
="toolbar"],
126 .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
129 -moz-margin-start: 0px;
130 -moz-margin-end: 2px;
133 .toolbarpaletteitem-box[type="separator"][place="palette"] {
138 .toolbarpaletteitem-box
[type
="spacer"][place
="palette"],
139 .toolbarpaletteitem-box[type="spring"][place="palette"] {
145 .toolbarpaletteitem-box[type="spring"][place="palette"] {
146 background: url
("chrome://global/skin/toolbar/spring.png") no-repeat center
;
149 /* ..... drag and drop feedback ..... */
151 toolbarpaletteitem
[dragover
="left"] {
152 border-left-color: #000000;
155 toolbarpaletteitem
[dragover
="right"] {
156 border-right-color: #000000;