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.
23
# Alternatively, the contents of this file may be used under the terms of
24
# either the GNU General Public License Version 2 or later (the "GPL"), or
25
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26
# in which case the provisions of the GPL or the LGPL are applicable instead
27
# of those above. If you wish to allow use of your version of this file only
28
# under the terms of either the GPL or the LGPL, and not to allow others to
29
# use your version of this file under the terms of the MPL, indicate your
30
# decision by deleting the provisions above and replace them with the notice
31
# and other provisions required by the GPL or the LGPL. If you do not delete
32
# the provisions above, a recipient may use your version of this file under
33
# the terms of any one of the MPL, the GPL or the LGPL.
35
# ***** END LICENSE BLOCK *****
36
@import url("chrome://global/skin/");
37
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
40
-moz-box-orient: vertical;
43
list-style-image: url("chrome://browser/skin/Toolbar.png");
45
list-style-image: url("chrome://help/skin/Toolbar.png");
49
#help-zoom-large-button,
50
#help-zoom-small-button,
51
#help-sidebar-button {
52
list-style-image: url("chrome://help/skin/zoomImg.png");
55
toolbarbutton:not([disabled="true"]):hover,
56
menubutton:not([disabled="true"]):hover,
57
toolbarbutton:not([disabled="true"]):hover:active,
58
menubutton:not([disabled="true"]):hover:active {
59
color: ButtonText !important;
62
# *** BEGIN TOOLBAR BUTTON CODE ***
63
# All toolbar button images are 30x30 for the Help Viewer.
65
#help-back-button { -moz-image-region: rect(0px 30px 30px 0px); }
66
#help-back-button[buttonover="true"] { -moz-image-region: rect(30px 30px 60px 0px); }
67
#help-back-button[disabled="true"] { -moz-image-region: rect(60px 30px 90px 0px); }
69
#help-forward-button { -moz-image-region: rect(0px 60px 30px 30px); }
70
#help-forward-button[buttonover="true"] { -moz-image-region: rect(30px 60px 60px 30px); }
71
#help-forward-button[disabled="true"] { -moz-image-region: rect(60px 60px 90px 30px); }
73
#help-find-button { -moz-image-region: rect(0px 240px 30px 210px); }
74
#help-find-button:hover { -moz-image-region: rect(30px 240px 60px 210px); }
76
#help-toolbar-customization { -moz-image-region: rect(0px 330px 30px 300px); }
77
#help-toolbar-customization:hover { -moz-image-region: rect(30px 330px 60px 300px); }
79
#help-home-button { -moz-image-region: rect(0px 150px 30px 120px); }
80
#help-home-button:hover { -moz-image-region: rect(30px 150px 60px 120px); }
82
#help-print-button { -moz-image-region: rect(0px 270px 30px 240px); }
83
#help-print-button:hover { -moz-image-region: rect(30px 270px 60px 240px); }
85
#help-zoom-large-button { -moz-image-region: rect(0px 30px 30px 0px); }
86
#help-zoom-large-button:hover { -moz-image-region: rect(30px 30px 60px 0px); }
88
#help-zoom-small-button { -moz-image-region: rect(0px 60px 30px 30px); }
89
#help-zoom-small-button:hover { -moz-image-region: rect(30px 60px 60px 30px); }
91
#help-sidebar-button { -moz-image-region: rect(0px 90px 60px 60px); }
92
#help-sidebar-button { -moz-image-region: rect(30px 90px 60px 60px); }
94
# ** Toolbar Customization stuff **
95
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
96
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text
97
toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
98
toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
102
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-text,
103
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-icon,
104
toolbar[mode="text"] > toolbarbutton > toolbarbutton > .toolbarbutton-icon,
105
toolbar[mode="icons"] > toolbarbutton > toolbarbutton > .toolbarbutton-text {
109
# Small icons are not supported.
110
#smallicons { display: none; }
114
-moz-appearance: none;
115
-moz-user-focus: ignore;
116
margin: 0 !important;
117
border: none !important;
118
padding: 0px !important;
120
background-color: transparent;
122
list-style-image: url("chrome://browser/skin/Throbber.png");
124
list-style-image: url("chrome://help/skin/throbber.png");
128
#help-throbber[busy="true"] {
130
list-style-image: url("chrome://global/skin/icons/Loading.gif");
132
list-style-image: url("chrome://help/skin/throbber-busy.gif");