Commit | Line | Data |
---|---|---|
9099c61d RK |
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/. */ | |
86609099 | 4 | |
86609099 RK |
5 | @import url("chrome://communicator/skin/"); |
6 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
7 | ||
8 | #HelpToolbar > toolbarbutton { | |
9 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
10 | } | |
11 | ||
12 | /* Hide labels for the toolbar because we really don't need them what with the | |
13 | tooltips */ | |
14 | #HelpToolbar .toolbarbutton-text { | |
15 | display: none; | |
16 | } | |
17 | ||
18 | /* With no labels, we don't need the margin on the icon that separates it | |
19 | from the label */ | |
20 | #HelpToolbar .toolbarbutton-icon { | |
dae45075 | 21 | margin-inline-end: 0; |
86609099 RK |
22 | } |
23 | ||
24 | #help-back-button > toolbarbutton, | |
25 | #help-forward-button > toolbarbutton { | |
26 | list-style-image: inherit; | |
27 | -moz-image-region: inherit; | |
28 | } | |
29 | ||
86609099 | 30 | /* Set the minimum sidebar width so the help contents aren't squeezed together.*/ |
466aa5b2 RK |
31 | #help-sidebar { |
32 | min-width: 30px; | |
33 | width: 20em; | |
34 | max-width: 25em; | |
35 | } | |
86609099 | 36 | |
86609099 RK |
37 | /* ----- BACK BUTTON ----- */ |
38 | ||
39 | #help-back-button { | |
40 | -moz-image-region: rect(42px 25px 63px 0px); | |
41 | } | |
42 | ||
43 | #help-back-button[disabled="true"] { | |
44 | -moz-image-region: rect(42px 50px 63px 25px); | |
45 | } | |
46 | ||
47 | #help-back-button .toolbarbutton-menubutton-button { | |
48 | -moz-box-align: end !important; | |
49 | } | |
50 | ||
51 | /* ----- FORWARD BUTTON ----- */ | |
52 | ||
53 | #help-forward-button { | |
54 | -moz-image-region: rect(63px 25px 84px 0px); | |
55 | } | |
56 | ||
57 | #help-forward-button[disabled="true"] { | |
58 | -moz-image-region: rect(63px 50px 84px 25px); | |
59 | } | |
60 | ||
61 | /* ----- HOME BUTTON ----- */ | |
62 | ||
63 | #help-home-button { | |
64 | -moz-image-region: rect(84px 25px 105px 0px); | |
65 | } | |
66 | ||
67 | #help-home-button[disabled="true"] { | |
68 | -moz-image-region: rect(84px 50px 105px 25px); | |
69 | } | |
70 | ||
71 | /* ----- PRINT BUTTON ----- */ | |
72 | ||
73 | #help-print-button { | |
74 | -moz-image-region: rect(0px 25px 21px 0px); | |
75 | } | |
76 | ||
77 | #help-print-button[disabled="true"] { | |
78 | -moz-image-region: rect(0px 50px 21px 25px); | |
79 | } | |
80 | ||
81 | /* ----- OTHER ----- */ | |
82 | ||
83 | #context-copy[disabled="true"] { | |
84 | display: none; | |
85 | } | |
fb2b5761 RK |
86 | |
87 | /* make findbar appear above content */ | |
88 | #appcontent { | |
89 | -moz-box-direction: reverse; | |
90 | } | |
91 | ||
92 | /* style findbar for being on top */ | |
93 | #FindToolbar { | |
94 | border-bottom: 1px solid #666699; | |
95 | border-top: 1px solid transparent; | |
96 | } |