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