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