|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
6 |
|
7 button { |
|
8 -moz-appearance: button; |
|
9 /* The horizontal margin used here come from the Aqua Human Interface |
|
10 Guidelines, there should be 12 pixels between two buttons. */ |
|
11 margin: 5px 6px 3px; |
|
12 min-width: 79px; |
|
13 color: ButtonText; |
|
14 text-shadow: none; |
|
15 } |
|
16 |
|
17 .button-text { |
|
18 margin: 1px 0 !important; |
|
19 -moz-margin-start: 3px !important; |
|
20 -moz-margin-end: 2px !important; |
|
21 text-align: center; |
|
22 } |
|
23 |
|
24 .button-icon { |
|
25 -moz-margin-start: 1px; |
|
26 } |
|
27 |
|
28 button[type="default"] { |
|
29 font: menu; |
|
30 } |
|
31 |
|
32 /* .......... disabled state .......... */ |
|
33 |
|
34 button[disabled="true"] { |
|
35 color: GrayText; |
|
36 } |
|
37 |
|
38 /* ::::: menu/menu-button buttons ::::: */ |
|
39 |
|
40 button[type="menu-button"] { |
|
41 margin: 0; |
|
42 border: none; |
|
43 } |
|
44 |
|
45 .button-menu-dropmarker, |
|
46 .button-menubutton-dropmarker { |
|
47 -moz-appearance: none !important; |
|
48 border: none; |
|
49 background-color: transparent !important; |
|
50 margin: 1px; |
|
51 } |
|
52 |
|
53 .button-menu-dropmarker { |
|
54 display: none; |
|
55 } |
|
56 |
|
57 /* ::::: plain buttons ::::: */ |
|
58 |
|
59 button.plain { |
|
60 margin: 0 !important; |
|
61 padding: 0 !important; |
|
62 } |
|
63 |
|
64 /* ::::: help button ::::: */ |
|
65 |
|
66 button[dlgtype="help"] { |
|
67 -moz-appearance: -moz-mac-help-button; |
|
68 width: 20px; |
|
69 } |