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