1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is Mozilla Help CSS
16 * The Initial Developer of the Original Code is
18 * Portions created by the Initial Developer are Copyright (C) 2003
19 * the Initial Developer. All Rights Reserved.
22 * Robert Kaiser <kairo@kairo.at>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 @import url("chrome://global/skin/");
39 @import url("chrome://communicator/skin/");
40 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
42 #HelpToolbar > toolbarbutton {
43 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
46 /* Hide labels for the toolbar because we really don't need them what with the
48 #HelpToolbar .toolbarbutton-text {
52 /* With no labels, we don't need the margin on the icon that separates it
54 #HelpToolbar .toolbarbutton-icon {
58 #help-back-button > toolbarbutton,
59 #help-forward-button > toolbarbutton {
60 list-style-image: inherit;
61 -moz-image-region: inherit;
64 /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
71 /* ----- BACK BUTTON ----- */
74 -moz-image-region: rect(42px 25px 63px 0px);
77 #help-back-button[disabled="true"] {
78 -moz-image-region: rect(42px 50px 63px 25px);
81 #help-back-button:not([disabled="true"]):hover,
82 #help-back-button:not([disabled="true"]):hover:active {
83 -moz-image-region: rect(42px 75px 63px 50px);
86 #help-back-button .toolbarbutton-menubutton-button {
87 -moz-box-align: end !important;
90 /* ----- FORWARD BUTTON ----- */
92 #help-forward-button {
93 -moz-image-region: rect(63px 25px 84px 0px);
96 #help-forward-button[disabled="true"] {
97 -moz-image-region: rect(63px 50px 84px 25px);
100 #help-forward-button:not([disabled="true"]):hover,
101 #help-forward-button:not([disabled="true"]):hover:active {
102 -moz-image-region: rect(63px 75px 84px 50px);
105 /* ----- HOME BUTTON ----- */
108 -moz-image-region: rect(84px 25px 105px 0px);
111 #help-home-button[disabled="true"] {
112 -moz-image-region: rect(84px 50px 105px 25px);
115 #help-home-button:not([disabled="true"]):hover,
116 #help-home-button:not([disabled="true"]):hover:active {
117 -moz-image-region: rect(84px 75px 105px 50px);
120 /* ----- PRINT BUTTON ----- */
123 -moz-image-region: rect(0px 25px 21px 0px);
126 #help-print-button[disabled="true"] {
127 -moz-image-region: rect(0px 50px 21px 25px);
130 #help-print-button:not([disabled="true"]):hover,
131 #help-print-button:not([disabled="true"]):hover:active {
132 -moz-image-region: rect(0px 75px 21px 50px);
135 /* ----- OTHER ----- */
137 #context-copy[disabled="true"] {
141 /* make findbar appear above content */
143 -moz-box-direction: reverse;
146 /* style findbar for being on top */
148 border-bottom: 1px solid #666699;
149 border-top: 1px solid transparent;