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