last changes for RC2
[themes.git] / LCARStrek / communicator / sidebar / sidebar.css
CommitLineData
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;
93}
94
95/* ::::: sidebar panel ::::: */
96
97.sidebar-iframe-no-panels,
98.loadarea {
99 background-color: #000000;
100 color: #FF9F00;
101}
102
103.iframe-panel {
104}
105
106/* ::::: loading info ::::: */
107
108.text-panel-loading {
109 margin: 5px 0px;
110}
111
112.text-panel-loading[loading="false"] {
113 margin-left: 11px;
114}
115
116.image-panel-loading {
117 margin: 5px;
118 list-style-image: url("chrome://global/skin/icons/loading.gif");
119}
120
121/* ::::: sidebar tabs ::::: */
122
123.box-texttab {
124 -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab");
125 cursor: pointer;
126 border-top: 3px solid black;
127}
128
129.box-texttab > hbox {
130 -moz-border-radius: 5px;
131 -moz-box-align: stretch;
132 padding: 2px 0px 2px 0px;
133 background-color: #FF9F00;
134 color: #000000;
135}
136
137.box-texttab[selected="true"] > hbox,
138.box-texttab[selected="true"]:hover > hbox,
139.box-texttab[selected="true"]:hover:active > hbox {
140 background-color: #008484;
141 color: #FFCF00;
142 font-weight: bold;
143}
144
145.box-texttab[selected="true"],
146.box-texttab[selected="true"]:hover,
147.box-texttab[selected="true"]:hover:active {
148 border-bottom: 3px solid black;
149}
150
151.box-texttab[last-panel="true"],
152.box-texttab[last-panel="true"]:hover,
153.box-texttab[last-panel="true"]:hover:active,
154.box-texttab[last-panel="true"][selected="true"],
155.box-texttab[last-panel="true"][selected="true"]:hover,
156.box-texttab[last-panel="true"][selected="true"]:hover:active {
157 border-bottom: none;
158}
159
160.sbtab-label {
161 margin: 0px 0px 0px 0px !important;
162}
163
164.sbtab-twisty {
165 margin: 2px 3px 0px 3px;
166 list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
167}
168
b1eaa419 169.box-texttab:hover > hbox,
170.box-texttab:hover:active > hbox {
171 background-color: #FFCF00;
172}
173
174.box-texttab[last-panel="true"],
175.box-texttab[selected="true"] {
176 margin-bottom: 0px;
177}
178
179.sbtab-twisty[selected="true"] {
180 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
181}
80916bc4 182
183/* ::::: sidebar navigation buttons ::::: */
184
185.sidebar-nav-button {
186 -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
187 padding: 5px 0px 5px 0px;
188}
189
190.tab-fwd {
191 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
192}
193
194.tab-back {
195 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
b1e5c9b1 196}