update to suite default status of 2009-02-23 and 2.0a3: bug 477309 - use class="tabbable"
[themes.git] / EarlyBlue / 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   margin-top: 0px;
44   border: none;
45   background-color: #CCD0DD;
46 }
47
48 /* ::::: sidebar header ::::: */
49
50 .sidebarheader-main {
51   border: none;
52   color: #CCD0DD;
53   background-color: #666699;
54   -moz-padding-start: 4px;
55 }
56
57 #sidebar-panel-picker {
58   color: inherit;
59 }
60   
61 .sidebar-header-text {
62   font-weight: bold;
63 }
64
65 /* ..... close button ..... */
66
67 #sidebar-close-button {
68   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
69   padding: 1px 3px;
70   -moz-padding-start: 4px;
71   list-style-image: url("chrome://global/skin/icons/close-button.gif");
72 }
73
74 /* ::::: sidebar panel ::::: */
75
76 .sidebar-iframe-no-panels,
77 .loadarea {
78   background-color: #FFFFFF;
79   color: #666699;
80 }
81
82 .iframe-panel, .browser-sidebar {
83 }  
84
85 /* ::::: loading info ::::: */
86
87 .text-panel-loading {
88   margin: 5px 0px;
89 }
90
91 .text-panel-loading[loading="false"] {
92   -moz-margin-start: 11px;
93 }
94
95 .image-panel-loading {
96   margin: 5px;
97   list-style-image: url("chrome://global/skin/icons/loading.gif");
98 }
99
100 /* ::::: sidebar tabs ::::: */
101
102 .box-texttab {
103   -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab");
104   padding: 2px 0px;
105   background-color: #CCD0DD;
106   color: #000000;
107   cursor: pointer;
108   border-top: 1px outset #CCD0DD;
109   border-bottom: 1px outset #CCD0DD;
110 }
111
112 .box-texttab[selected="true"],
113 .box-texttab[selected="true"]:hover,
114 .box-texttab[selected="true"]:hover:active {
115   background-color: #336699;
116   border-top: 1px solid #336699;
117   padding: 1px;
118   -moz-padding-start: 0px;
119 }
120     
121 .box-texttab[last-panel="true"], 
122 .box-texttab[last-panel="true"]:hover,
123 .box-texttab[last-panel="true"]:hover:active,
124 .box-texttab[last-panel="true"][selected="true"],
125 .box-texttab[last-panel="true"][selected="true"]:hover,
126 .box-texttab[last-panel="true"][selected="true"]:hover:active {
127   border-bottom: none;
128 }
129
130 .sbtab-label {
131   margin: 0px !important;
132 }
133
134 .sbtab-twisty {
135   margin: 2px 3px 0px;
136   list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
137 }
138
139 /*
140 .sbtab-texture {
141   margin: 2px 0px;
142   background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
143   width: 12px;
144   height: 12px;
145 }
146 */
147
148 .box-texttab:hover {
149   background-color: #DDDDDD;
150 }
151     
152 .box-texttab:hover:active {
153   background-color: #6699FF;
154 }
155     
156 .box-texttab[selected="true"],
157 .box-texttab[selected="true"]:hover {
158   font-weight: bold;
159   cursor: default;
160 }
161
162 .box-texttab[last-panel="true"], 
163 .box-texttab[selected="true"] {
164   margin-bottom: 0px;
165 }
166
167 .sbtab-twisty[selected="true"] {
168   list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
169 }
170
171 /* ::::: sidebar navigation buttons ::::: */
172
173 .sidebar-nav-button {
174   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
175   padding: 5px 0px;
176 }
177
178 .tab-fwd {
179   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
180 }
181
182 .tab-back {
183   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
184 }