toolkit/themes/osx/global/toolbarbutton.css

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:80525d1181b8
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 toolbarbutton {
8 -moz-box-align: center;
9 -moz-box-pack: center;
10 margin: 0px 2px 0px 2px;
11 padding: 3px 1px 3px 1px;
12 border-right: 1px solid transparent;
13 border-left: 1px solid transparent;
14 background-color: transparent;
15 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
16 }
17
18 toolbarbutton[open="true"],
19 toolbarbutton:not([disabled="true"]):active:hover {
20 text-shadow: none;
21 }
22
23 .toolbarbutton-text {
24 margin: 0px;
25 padding: 0px;
26 text-align: center;
27 vertical-align: middle;
28 }
29
30 toolbarbutton[disabled="true"],
31 toolbarbutton[disabled="true"]:hover,
32 toolbarbutton[disabled="true"]:hover:active,
33 toolbarbutton[disabled="true"][open="true"] {
34 color: -moz-mac-disabledtoolbartext !important;
35 }
36
37 /* ::::: toolbarbutton menu ::::: */
38
39 .toolbarbutton-menu-dropmarker {
40 -moz-appearance: none !important;
41 border: none !important;
42 background-color: transparent !important;
43 list-style-image: url("chrome://global/skin/arrow/arrow-dn.png");
44 padding: 0;
45 -moz-padding-start: 2px;
46 width: auto;
47 }
48
49 .toolbarbutton-menu-dropmarker[disabled="true"] {
50 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png");
51 padding: 0;
52 -moz-padding-start: 2px;
53 }
54
55 /* ::::: toolbarbutton menu-button ::::: */
56
57 toolbarbutton[type="menu-button"] {
58 -moz-box-align: stretch;
59 -moz-box-orient: horizontal !important;
60 }
61
62 toolbarbutton[type="menu-button"],
63 toolbarbutton[type="menu-button"]:hover,
64 toolbarbutton[type="menu-button"]:hover:active,
65 toolbarbutton[type="menu-button"][open="true"],
66 toolbarbutton[type="menu-button"][disabled="true"],
67 toolbarbutton[type="menu-button"][disabled="true"]:hover,
68 toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
69 background-color: transparent;
70 }
71
72 .toolbarbutton-menubutton-button {
73 -moz-box-align: center;
74 -moz-box-pack: center;
75 -moz-box-orient: vertical;
76 text-shadow: inherit;
77 }
78
79 /* .......... dropmarker .......... */
80
81 .toolbarbutton-menubutton-dropmarker {
82 -moz-appearance: none;
83 border: none;
84 background-color: transparent !important;
85 list-style-image: url("chrome://global/skin/arrow/arrow-dn.png");
86 width: auto;
87 padding: 0 5px;
88 }
89
90 .toolbarbutton-menubutton-dropmarker[disabled="true"] {
91 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png");
92 }
93
94 toolbarbutton.tabbable {
95 -moz-user-focus: normal !important;
96 }

mercurial