improve tab strip styling slightly
[themes.git] / EarlyBlue / help / help.css
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.*/
65 #help-sidebar {
66   min-width: 30px;
67   width: 20em;
68   max-width: 25em;
69 }
70
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 .toolbarbutton-menubutton-button {
82   -moz-box-align: end !important;
83 }
84
85 /* ----- FORWARD BUTTON ----- */
86
87 #help-forward-button {
88   -moz-image-region: rect(63px 25px 84px 0px);
89 }
90
91 #help-forward-button[disabled="true"] {
92   -moz-image-region: rect(63px 50px 84px 25px);
93 }
94
95 /* ----- HOME BUTTON ----- */
96
97 #help-home-button {
98   -moz-image-region: rect(84px 25px 105px 0px);
99 }
100
101 #help-home-button[disabled="true"] {
102   -moz-image-region: rect(84px 50px 105px 25px);
103 }
104
105 /* ----- PRINT BUTTON ----- */
106
107 #help-print-button {
108   -moz-image-region: rect(0px 25px 21px 0px);
109 }
110
111 #help-print-button[disabled="true"] {
112   -moz-image-region: rect(0px 50px 21px 25px);
113 }
114
115 /* ----- OTHER ----- */
116
117 #context-copy[disabled="true"] {
118   display: none;
119 }