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