Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / toolkit / themes / winstripe / global / toolbarbutton.css
blob3a9ce682024c7eed3e41e6879c7cb5e4381d74d5
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-1999
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 /* ===== toolbarbutton.css =====================================================
40 == Styles used by the XUL button element.
41 ======================================================================= */
43 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45 /* ::::: toolbarbutton ::::: */
47 toolbarbutton {
48 -moz-appearance: toolbarbutton;
49 -moz-box-align: center;
50 -moz-box-pack: center;
51 margin: 0;
52 border: 1px solid transparent;
53 padding: 3px;
54 background-color: transparent;
55 color: -moz-DialogText;
58 .toolbarbutton-icon {
59 -moz-margin-end: 5px;
62 .toolbarbutton-text {
63 margin: 0 !important;
64 text-align: center;
67 toolbarbutton.tabbable {
68 -moz-user-focus: normal !important;
71 toolbarbutton:focus
73 /* -moz-appearance looks redundant here but is necessary.
74 Without it, the outline won't appear. */
75 -moz-appearance: toolbarbutton;
76 outline: 1px dotted -moz-DialogText;
77 outline-offset: -2px;
80 toolbarbutton:hover,
81 toolbarbutton[buttonover="true"] {
82 border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
85 toolbarbutton:hover:active,
86 toolbarbutton[open="true"] {
87 border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
88 padding-top: 4px;
89 padding-bottom: 2px;
90 -moz-padding-start: 4px;
91 -moz-padding-end: 2px;
94 toolbarbutton[disabled="true"],
95 toolbarbutton[disabled="true"]:hover,
96 toolbarbutton[disabled="true"]:hover:active,
97 toolbarbutton[disabled="true"][open="true"],
98 toolbarbutton[disabled="true"][checked="true"] {
99 border-color: transparent;
100 padding: 3px;
101 color: GrayText;
104 toolbarbutton[disabled="true"]:-moz-system-metric(windows-classic),
105 toolbarbutton[disabled="true"]:-moz-system-metric(windows-classic):hover,
106 toolbarbutton[disabled="true"]:-moz-system-metric(windows-classic):hover:active,
107 toolbarbutton[disabled="true"][open="true"]:-moz-system-metric(windows-classic),
108 toolbarbutton[disabled="true"][checked="true"]:-moz-system-metric(windows-classic) {
109 color: ThreeDShadow;
110 text-shadow: 1px 1px ThreeDHighlight;
113 /* ..... checked state ..... */
115 toolbarbutton[checked="true"] {
116 border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow !important;
117 padding-top: 4px !important;
118 padding-bottom: 2px !important;
119 -moz-padding-start: 4px !important;
120 -moz-padding-end: 2px !important;
121 background-image: url("chrome://global/skin/toolbar/Lighten.png");
122 color: ButtonText;
125 /* ::::: toolbarbutton menu ::::: */
127 .toolbarbutton-menu-dropmarker {
128 -moz-appearance: none !important;
129 border: none !important;
130 background-color: transparent !important;
131 padding: 0;
132 width: auto;
135 .toolbarbutton-menu-dropmarker[disabled="true"] {
136 padding: 0 !important;
139 /* ::::: toolbarbutton menu-button ::::: */
141 toolbarbutton[type="menu-button"] {
142 -moz-box-align: stretch;
143 -moz-box-orient: horizontal !important;
146 toolbarbutton[type="menu-button"],
147 toolbarbutton[type="menu-button"]:hover,
148 toolbarbutton[type="menu-button"]:hover:active,
149 toolbarbutton[type="menu-button"][open="true"],
150 toolbarbutton[type="menu-button"][disabled="true"],
151 toolbarbutton[type="menu-button"][disabled="true"]:hover,
152 toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
153 border-style: none;
154 padding: 0 !important;
157 .toolbarbutton-menubutton-button {
158 -moz-box-align: center;
159 -moz-box-pack: center;
160 -moz-box-orient: vertical;
163 /* .......... dropmarker .......... */
165 .toolbarbutton-menubutton-dropmarker {
166 -moz-appearance: none !important;
167 padding: 3px;
168 border: none !important;
169 background-color: transparent !important;
170 width: auto;
173 .toolbarbutton-menubutton-dropmarker[disabled="true"] {
174 padding: 3px !important;