improve scrollbar display: smoothly rounded buttons, dark but visible slider backgrou...
[themes.git] / LCARStrek / help / help.css
CommitLineData
c79d2bbe
RK
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
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/
8 *
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
12 * License.
13 *
14 * The Original Code is Mozilla Help CSS
15 *
16 * The Initial Developer of the Original Code is
17 * R.J. Keller
18 * Portions created by the Initial Developer are Copyright (C) 2003
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <kairo@kairo.at>
23 *
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.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
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");
41
42#HelpToolbar > toolbarbutton {
43 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
44}
45
46/* Hide labels for the toolbar because we really don't need them what with the
47 tooltips */
48#HelpToolbar .toolbarbutton-text {
49 display: none;
50}
51
52/* With no labels, we don't need the margin on the icon that separates it
53 from the label */
54#HelpToolbar .toolbarbutton-icon {
55 -moz-margin-end: 0;
56}
57
58#help-back-button > toolbarbutton,
59#help-forward-button > toolbarbutton {
60 list-style-image: inherit;
61 -moz-image-region: inherit;
62}
63
64/* Set the minimum sidebar width so the help contents aren't squeezed together.*/
466aa5b2
RK
65#help-sidebar {
66 min-width: 30px;
67 width: 20em;
68 max-width: 25em;
69}
c79d2bbe 70
c79d2bbe
RK
71/* ----- BACK BUTTON ----- */
72
73#help-back-button {
74 -moz-image-region: rect(42px 25px 63px 0px);
75}
76
77#help-back-button[disabled="true"] {
78 -moz-image-region: rect(42px 50px 63px 25px);
79}
80
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);
84}
85
86#help-back-button .toolbarbutton-menubutton-button {
87 -moz-box-align: end !important;
88}
89
90/* ----- FORWARD BUTTON ----- */
91
92#help-forward-button {
93 -moz-image-region: rect(63px 25px 84px 0px);
94}
95
96#help-forward-button[disabled="true"] {
97 -moz-image-region: rect(63px 50px 84px 25px);
98}
99
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);
103}
104
105/* ----- HOME BUTTON ----- */
106
107#help-home-button {
108 -moz-image-region: rect(84px 25px 105px 0px);
109}
110
111#help-home-button[disabled="true"] {
112 -moz-image-region: rect(84px 50px 105px 25px);
113}
114
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);
118}
119
120/* ----- PRINT BUTTON ----- */
121
122#help-print-button {
123 -moz-image-region: rect(0px 25px 21px 0px);
124}
125
126#help-print-button[disabled="true"] {
127 -moz-image-region: rect(0px 50px 21px 25px);
128}
129
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);
133}
134
135/* ----- OTHER ----- */
136
137#context-copy[disabled="true"] {
138 display: none;
139}