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