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