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