351107c9 |
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 "Classic" theme of mozilla.org code. |
15 | * |
16 | * The Initial Developer of the Original Code is |
17 | * the Mozilla Organization. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-2001 |
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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
39 | |
b1e5c9b1 |
40 | /* ::::: sidebar toggle button (on personal toolbar) ::::: */ |
41 | |
42 | #sidebar-button[sbopen="true"] { |
43 | list-style-image: url("chrome://communicator/skin/sidebar/sb-open.gif"); |
44 | } |
45 | |
61290d60 |
46 | #sidebar-button[sbopen="true"]:hover { |
47 | list-style-image: url("chrome://communicator/skin/sidebar/sb-open-hover.gif"); |
48 | } |
49 | |
b1e5c9b1 |
50 | #sidebar-button[sbopen="false"] { |
51 | list-style-image: url("chrome://communicator/skin/sidebar/sb-closed.gif"); |
52 | } |
53 | |
61290d60 |
54 | #sidebar-button[sbopen="false"]:hover { |
55 | list-style-image: url("chrome://communicator/skin/sidebar/sb-closed-hover.gif"); |
56 | } |
57 | |
b1e5c9b1 |
58 | /* ::::: sidebar container ::::: */ |
59 | |
b1eaa419 |
60 | #sidebar-box { |
61 | border: none; |
62 | } |
63 | |
64 | /* ::::: sidebar splitter ::::: */ |
65 | |
351107c9 |
66 | #sidebar-panels-splitter[state="collapsed"] { |
b1eaa419 |
67 | margin-bottom: 0px; |
68 | border-left: none; |
69 | border-right: none; |
351107c9 |
70 | } |
71 | |
72 | #sidebar-splitter { |
b1eaa419 |
73 | border-top: none; |
74 | border-bottom: none; |
351107c9 |
75 | } |
76 | |
77 | #sidebar-splitter[state="collapsed"] { |
b1eaa419 |
78 | margin-left: 0px; |
79 | } |
80 | |
81 | /* ::::: sidebar header ::::: */ |
82 | |
83 | .sidebarheader-main { |
84 | border: none; |
85 | color: #FF9F00; |
86 | background-color: #6000CF; |
87 | padding: 0px 2px 0px 4px; |
351107c9 |
88 | } |
89 | |
b1eaa419 |
90 | .sidebar-header-text { |
91 | font-weight: bold; |
92 | } |
93 | |
94 | /* ..... close button ..... */ |
351107c9 |
95 | |
b1eaa419 |
96 | #sidebar-close-button { |
97 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); |
98 | padding: 3px; |
99 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
100 | } |
351107c9 |
101 | |
b1eaa419 |
102 | #sidebar-close-button:hover, |
103 | #sidebar-close-button:hover:active { |
104 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
105 | } |
351107c9 |
106 | |
b1eaa419 |
107 | /* ..... panel picker button ..... */ |
351107c9 |
108 | |
109 | #sidebar-panel-picker { |
b1eaa419 |
110 | padding: 3px 1px 3px 1px; |
111 | } |
112 | |
113 | /* ::::: sidebar panel ::::: */ |
114 | |
115 | .sidebar-iframe-no-panels, |
116 | .loadarea { |
117 | background-color: #000000; |
118 | color: #FF9F00; |
119 | } |
120 | |
121 | .iframe-panel { |
122 | } |
123 | |
124 | /* ::::: loading info ::::: */ |
125 | |
126 | .text-panel-loading { |
127 | margin: 5px 0px; |
128 | } |
129 | |
130 | .text-panel-loading[loading="false"] { |
131 | margin-left: 11px; |
132 | } |
133 | |
134 | .image-panel-loading { |
135 | margin: 5px; |
136 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
137 | } |
138 | |
139 | /* ::::: sidebar tabs ::::: */ |
140 | |
141 | .box-texttab { |
142 | -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab"); |
143 | cursor: pointer; |
144 | border-top: 3px solid black; |
145 | } |
146 | |
147 | .box-texttab > hbox { |
148 | -moz-border-radius: 5px; |
149 | -moz-box-align: stretch; |
150 | padding: 2px 0px 2px 0px; |
151 | background-color: #FF9F00; |
152 | color: #000000; |
153 | } |
154 | |
155 | .box-texttab[selected="true"] > hbox, |
156 | .box-texttab[selected="true"]:hover > hbox, |
157 | .box-texttab[selected="true"]:hover:active > hbox { |
158 | background-color: #008484; |
159 | color: #FFCF00; |
160 | font-weight: bold; |
161 | } |
162 | |
163 | .box-texttab[selected="true"], |
164 | .box-texttab[selected="true"]:hover, |
165 | .box-texttab[selected="true"]:hover:active { |
166 | border-bottom: 3px solid black; |
167 | } |
168 | |
169 | .box-texttab[last-panel="true"], |
170 | .box-texttab[last-panel="true"]:hover, |
171 | .box-texttab[last-panel="true"]:hover:active, |
172 | .box-texttab[last-panel="true"][selected="true"], |
173 | .box-texttab[last-panel="true"][selected="true"]:hover, |
174 | .box-texttab[last-panel="true"][selected="true"]:hover:active { |
175 | border-bottom: none; |
176 | } |
177 | |
178 | .sbtab-label { |
179 | margin: 0px 0px 0px 0px !important; |
180 | } |
181 | |
182 | .sbtab-twisty { |
183 | margin: 2px 3px 0px 3px; |
184 | list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); |
185 | } |
186 | |
b1eaa419 |
187 | .box-texttab:hover > hbox, |
188 | .box-texttab:hover:active > hbox { |
189 | background-color: #FFCF00; |
190 | } |
191 | |
192 | .box-texttab[last-panel="true"], |
193 | .box-texttab[selected="true"] { |
194 | margin-bottom: 0px; |
195 | } |
196 | |
197 | .sbtab-twisty[selected="true"] { |
198 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
199 | } |
80916bc4 |
200 | |
201 | /* ::::: sidebar navigation buttons ::::: */ |
202 | |
203 | .sidebar-nav-button { |
204 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); |
205 | padding: 5px 0px 5px 0px; |
206 | } |
207 | |
208 | .tab-fwd { |
209 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
210 | } |
211 | |
212 | .tab-back { |
213 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); |
b1e5c9b1 |
214 | } |