Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / toolkit / themes / winstripe / global / toolbar.css
blobe1ebe0e1414f38a84451568ce500dfb24f89457c
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
12 * License.
14 * The Original Code is Mozilla Communicator client code, released
15 * March 31, 1998.
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.
22 * Contributor(s):
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 ::::: */
47 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 ::::: */
56 toolbar, menubar {
57 -moz-appearance: toolbar;
60 toolbar {
61 min-width: 1px;
62 min-height: 19px;
63 border-top: 1px solid ThreeDHighlight;
64 border-bottom: 1px solid ThreeDShadow;
67 toolbar:first-child, menubar {
68 min-width: 1px;
69 border-bottom: 1px solid ThreeDShadow;
70 border-top: 0px !important;
73 toolbar[mode="icons"] .toolbarbutton-text {
74 display: none;
77 toolbar[mode="text"] .toolbarbutton-icon {
78 display: none;
81 toolbar[mode="text"] .toolbarbutton-text {
82 padding: 0 !important;
83 margin: 3px 5px !important;
86 /* ::::: toolbar decorations ::::: */
88 toolbarseparator {
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;
98 toolbarspacer {
99 width: 15px;
102 /* ::::: toolbarpaletteitem ::::: */
104 toolbarpaletteitem {
105 cursor: -moz-grab;
108 .toolbarpaletteitem-box[type="spacer"],
109 .toolbarpaletteitem-box[type="spring"] {
110 border: 1px solid #808080;
111 background-color: #FFF !important;
114 toolbarpaletteitem[place="toolbar"] {
115 margin-left: -2px;
116 margin-right: -2px;
117 border-left: 2px solid transparent;
118 border-right: 2px solid transparent;
121 toolbarpaletteitem[place="toolbar"] > toolbarspacer {
122 width: 11px;
125 .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
126 .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
127 margin-top: 2px;
128 margin-bottom: 2px;
129 -moz-margin-start: 0px;
130 -moz-margin-end: 2px;
133 .toolbarpaletteitem-box[type="separator"][place="palette"] {
134 width: 2px;
135 height: 50px;
138 .toolbarpaletteitem-box[type="spacer"][place="palette"],
139 .toolbarpaletteitem-box[type="spring"][place="palette"] {
140 margin-bottom: 2px;
141 width: 50px;
142 height: 50px;
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;