preliminary work for getting themes ready for suiterunner, add files we need for...
[themes.git] / EarlyBlue / global / toolbarbutton.css
CommitLineData
128000f4 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
f6e0a33f 3 *
128000f4 4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
f6e0a33f 8 *
128000f4 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.
f6e0a33f 13 *
128000f4 14 * The Original Code is mozilla.org code.
15 *
61af9d1c 16 * The Initial Developer of the Original Code is
128000f4 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998-1999
19 * the Initial Developer. All Rights Reserved.
f6e0a33f 20 *
21 * Contributor(s):
22 * Joe Hewitt (hewitt@netscape.com)
128000f4 23 * Robert Kaiser <KaiRo@KaiRo.at>
24 *
25 * Alternatively, the contents of this file may be used under the terms of
61af9d1c 26 * either the GNU General Public License Version 2 or later (the "GPL"), or
128000f4 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 NPL, 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 NPL, the GPL or the LGPL.
36 *
37 * ***** END LICENSE BLOCK ***** */
38
39@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
f6e0a33f 40
41/* ===== toolbarbutton.css =====================================================
42 == Styles used by the XUL button element.
43 ======================================================================= */
44
74d14f90 45/* ::::: toolbarbutton ::::: */
f6e0a33f 46
74d14f90 47toolbarbutton {
48 -moz-box-align: center;
49 -moz-box-pack: center;
50 margin: 0px;
51 border: 1px solid transparent;
52 padding: 1px;
53 background-color: transparent;
54 color: #000000;
f6e0a33f 55}
56
57.toolbarbutton-icon {
58 margin-right: 2px;
59}
60
61.toolbarbutton-text {
62 margin: 0px !important;
74d14f90 63 padding: 0px;
64 text-align: center;
f6e0a33f 65}
66
f2450795 67/*
f6e0a33f 68toolbarbutton:hover,
74d14f90 69toolbarbutton.toolbarbutton-menubutton-button[open="true"] {
61af9d1c 70}
f2450795 71*/
f6e0a33f 72
74d14f90 73toolbarbutton:hover {
74 border: 1px outset #CCD0DD;
f6e0a33f 75}
76
74d14f90 77toolbarbutton:hover:active,
78toolbarbutton[open="true"] {
79 padding: 2px 0px 0px 2px;
80 border: 1px inset #CCD0DD;
f6e0a33f 81}
61af9d1c 82
74d14f90 83toolbarbutton[disabled="true"] {
84 border: 1px solid transparent !important;
85 padding: 1px !important;
86 color: #999999 !important;
f6e0a33f 87}
88
89/* ..... checked state ..... */
90
74d14f90 91toolbarbutton[checked="true"] {
600033c2 92 padding: 1px !important;
74d14f90 93 border: 1px inset #CCD0DD !important;
94 background-color: #DDDDDD !important;
f6e0a33f 95}
61af9d1c 96
f6e0a33f 97/* ::::: toolbarbutton menu ::::: */
98
74d14f90 99.toolbarbutton-menu-dropmarker {
100 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1d4ddf30 101 padding: 0px;
102 border: none !important;
103 background-color: transparent !important;
f6e0a33f 104}
105
74d14f90 106.toolbarbutton-menu-dropmarker[disabled="true"] {
107 list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
f6e0a33f 108}
109
110/* ::::: toolbarbutton menu-button ::::: */
111
74d14f90 112toolbarbutton[type="menu-button"] {
113 -moz-box-align: stretch;
f6e0a33f 114}
115
74d14f90 116toolbarbutton[type="menu-button"],
117toolbarbutton[type="menu-button"]:hover,
118toolbarbutton[type="menu-button"]:hover:active,
119toolbarbutton[type="menu-button"][open="true"],
120toolbarbutton[type="menu-button"][disabled="true"],
121toolbarbutton[type="menu-button"][disabled="true"]:hover,
122toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
123 border: none !important;
124 padding: 0px !important;
f6e0a33f 125}
126
127.toolbarbutton-menubutton-button {
74d14f90 128 -moz-box-align: center;
129 -moz-box-pack: center;
f6e0a33f 130}
131
74d14f90 132.toolbarbutton-menubutton-button,
f6e0a33f 133.toolbarbutton-menubutton-dropmarker {
74d14f90 134 border: 1px solid transparent;
61af9d1c 135}
136
74d14f90 137.toolbarbutton-menubutton-button[disabled="true"],
f6e0a33f 138.toolbarbutton-menubutton-dropmarker[disabled="true"] {
74d14f90 139 border: 1px solid transparent !important;
61af9d1c 140}
f6e0a33f 141
74d14f90 142toolbarbutton[type="menu-button"]:hover > .toolbarbutton-menubutton-button,
61af9d1c 143toolbarbutton[type="menu-button"]:hover > .toolbarbutton-menubutton-dropmarker {
74d14f90 144 border: 1px outset #CCD0DD;
f6e0a33f 145}
146
61af9d1c 147toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-button,
74d14f90 148toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
74d14f90 149toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-button,
150toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
151 border: 1px inset #CCD0DD;
f6e0a33f 152}
153
61af9d1c 154toolbarbutton[type="menu-button"]:hover:active > toolbarbutton.toolbarbutton-menubutton-button,
74d14f90 155toolbarbutton[type="menu-button"][open="true"] > toolbarbutton.toolbarbutton-menubutton-button {
156 padding: 2px 0px 0px 2px !important;
f6e0a33f 157}
158
58a9dcb5 159toolbarbutton[disabled="true"] > toolbarbutton.toolbarbutton-menubutton-button,
160toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubutton-button {
b70a3a73 161 padding: 1px !important;
162}
163
74d14f90 164/* .......... dropmarker .......... */
165
166.toolbarbutton-menubutton-dropmarker {
1232bf8e 167 -moz-box-align: start;
73c8e4ae 168 padding: 3px 1px 1px 1px;
37cf043b 169/* list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
170 border: none; */
171 background-color: transparent;
f6e0a33f 172}
173
74d14f90 174toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
74d14f90 175toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
73c8e4ae 176 padding: 4px 0px 0px 2px;
74d14f90 177}
178
179.toolbarbutton-menubutton-dropmarker[disabled="true"] {
73c8e4ae 180 padding: 3px 1px 1px 1px !important;
37cf043b 181/* list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif") !important; */
f6e0a33f 182}