|
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 @import url("chrome://global/skin/"); |
|
6 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
7 |
|
8 #HelpToolbar toolbarbutton { |
|
9 -moz-box-orient: horizontal !important; |
|
10 min-width: 0px; |
|
11 margin: 0 !important; |
|
12 padding: 4px 5px; |
|
13 } |
|
14 |
|
15 #help-back-button { |
|
16 list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar"); |
|
17 } |
|
18 |
|
19 #help-back-button[disabled="true"] { |
|
20 list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled"); |
|
21 } |
|
22 |
|
23 #help-back-button:-moz-locale-dir(rtl) { |
|
24 list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar"); |
|
25 } |
|
26 |
|
27 #help-back-button[disabled="true"]:-moz-locale-dir(rtl) { |
|
28 list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled"); |
|
29 } |
|
30 |
|
31 #help-forward-button { |
|
32 list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar"); |
|
33 } |
|
34 |
|
35 #help-forward-button[disabled="true"] { |
|
36 list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled"); |
|
37 } |
|
38 |
|
39 #help-forward-button:-moz-locale-dir(rtl) { |
|
40 list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar"); |
|
41 } |
|
42 |
|
43 #help-forward-button[disabled="true"]:-moz-locale-dir(rtl) { |
|
44 list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled"); |
|
45 } |
|
46 |
|
47 #help-home-button { |
|
48 list-style-image: url("moz-icon://stock/gtk-home?size=toolbar"); |
|
49 } |
|
50 |
|
51 #help-home-button[disabled="true"] { |
|
52 list-style-image: url("moz-icon://stock/gtk-home?size=toolbar&state=disabled"); |
|
53 } |
|
54 |
|
55 #help-print-button { |
|
56 list-style-image: url("moz-icon://stock/gtk-print?size=toolbar"); |
|
57 } |
|
58 |
|
59 #help-print-button[disabled="true"] { |
|
60 list-style-image: url("moz-icon://stock/gtk-print?size=toolbar&state=disabled"); |
|
61 } |
|
62 |
|
63 /* Hide labels for the toolbar because we really don't need them what with the |
|
64 tooltips */ |
|
65 #HelpToolbar .toolbarbutton-text { |
|
66 display: none; |
|
67 } |
|
68 |
|
69 /* With no labels, we don't need the margin on the icon that separates it |
|
70 from the label */ |
|
71 #HelpToolbar .toolbarbutton-icon { |
|
72 -moz-margin-end: 0; |
|
73 } |
|
74 |
|
75 /* Set the minimum sidebar width so the help contents aren't squeezed together.*/ |
|
76 #help-sidebar { min-width: 15em; width: 20em; max-width: 25em; } |
|
77 |
|
78 #context-copy[disabled="true"] { |
|
79 display: none; |
|
80 } |
|
81 |
|
82 /**** menuitem stock icons ****/ |
|
83 menuitem:not([type]) { |
|
84 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); |
|
85 } |
|
86 |
|
87 #context-back { |
|
88 list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu"); |
|
89 } |
|
90 |
|
91 #context-back:-moz-locale-dir(rtl) { |
|
92 list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu"); |
|
93 } |
|
94 |
|
95 #context-back[disabled="true"] { |
|
96 list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled"); |
|
97 } |
|
98 |
|
99 #context-back[disabled="true"]:-moz-locale-dir(rtl) { |
|
100 list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled"); |
|
101 } |
|
102 |
|
103 #context-forward { |
|
104 list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu"); |
|
105 } |
|
106 |
|
107 #context-forward:-moz-locale-dir(rtl) { |
|
108 list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu"); |
|
109 } |
|
110 |
|
111 #context-forward[disabled="true"] { |
|
112 list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled"); |
|
113 } |
|
114 |
|
115 #context-forward[disabled="true"]:-moz-locale-dir(rtl) { |
|
116 list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled"); |
|
117 } |
|
118 |
|
119 #context-copy { |
|
120 list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); |
|
121 } |
|
122 |
|
123 #context-selectall { |
|
124 list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); |
|
125 } |
|
126 |
|
127 #zoom-in { |
|
128 list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu"); |
|
129 } |
|
130 |
|
131 #zoom-out { |
|
132 list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu"); |
|
133 } |
|
134 |