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/. */
5 @import url("chrome://global/skin/");
6 @import url("chrome://communicator/skin/");
7 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 #HelpToolbar > toolbarbutton {
10 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
13 /* Hide labels for the toolbar because we really don't need them what with the
15 #HelpToolbar .toolbarbutton-text {
19 /* With no labels, we don't need the margin on the icon that separates it
21 #HelpToolbar .toolbarbutton-icon {
25 #help-back-button > toolbarbutton,
26 #help-forward-button > toolbarbutton {
27 list-style-image: inherit;
28 -moz-image-region: inherit;
31 /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
38 /* ----- BACK BUTTON ----- */
41 -moz-image-region: rect(42px 25px 63px 0px);
44 #help-back-button[disabled="true"] {
45 -moz-image-region: rect(42px 50px 63px 25px);
48 #help-back-button:not([disabled="true"]):hover,
49 #help-back-button:not([disabled="true"]):hover:active {
50 -moz-image-region: rect(42px 75px 63px 50px);
53 #help-back-button .toolbarbutton-menubutton-button {
54 -moz-box-align: end !important;
57 /* ----- FORWARD BUTTON ----- */
59 #help-forward-button {
60 -moz-image-region: rect(63px 25px 84px 0px);
63 #help-forward-button[disabled="true"] {
64 -moz-image-region: rect(63px 50px 84px 25px);
67 #help-forward-button:not([disabled="true"]):hover,
68 #help-forward-button:not([disabled="true"]):hover:active {
69 -moz-image-region: rect(63px 75px 84px 50px);
72 /* ----- HOME BUTTON ----- */
75 -moz-image-region: rect(84px 25px 105px 0px);
78 #help-home-button[disabled="true"] {
79 -moz-image-region: rect(84px 50px 105px 25px);
82 #help-home-button:not([disabled="true"]):hover,
83 #help-home-button:not([disabled="true"]):hover:active {
84 -moz-image-region: rect(84px 75px 105px 50px);
87 /* ----- PRINT BUTTON ----- */
90 -moz-image-region: rect(0px 25px 21px 0px);
93 #help-print-button[disabled="true"] {
94 -moz-image-region: rect(0px 50px 21px 25px);
97 #help-print-button:not([disabled="true"]):hover,
98 #help-print-button:not([disabled="true"]):hover:active {
99 -moz-image-region: rect(0px 75px 21px 50px);
102 /* ----- OTHER ----- */
104 #context-copy[disabled="true"] {
108 /* make findbar appear above content */
110 -moz-box-direction: reverse;
113 /* style findbar for being on top */
115 border-bottom: 1px solid #666699;
116 border-top: 1px solid transparent;