rewrite of LCARStrek for 0.9.8(+): big moving around and rewirting of things, see...
[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-box {
41   border: none;
42 }
43
44 /* ::::: sidebar splitter ::::: */
45
46 #sidebar-panels-splitter[state="collapsed"] {
47   margin-bottom: 0px;
48   border-left: none;
49   border-right: none;
50 }
51
52 #sidebar-splitter {
53   border-top: none;
54   border-bottom: none;
55 }
56
57 #sidebar-splitter[state="collapsed"] {
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;
68 }
69
70 .sidebar-header-text {
71   font-weight: bold;
72 }
73
74 /* ..... close button ..... */
75
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 }
81
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 }
86
87 /* ..... panel picker button ..... */
88
89 #sidebar-panel-picker {
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
167 /*
168 .sbtab-texture {
169   margin: 2px 0px;
170   background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
171   width: 12px;
172   height: 12px;
173 }
174 */
175
176 .box-texttab:hover > hbox,
177 .box-texttab:hover:active > hbox {
178   background-color: #FFCF00;
179 }
180
181 .box-texttab[last-panel="true"], 
182 .box-texttab[selected="true"] {
183   margin-bottom: 0px;
184 }
185
186 .sbtab-twisty[selected="true"] {
187   list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
188 }