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 | |
f6e0a33f |
38 | /** Contains style definitions for the navigator application |
39 | **/ |
40 | |
74d14f90 |
41 | @import url("chrome://navigator/content/navigator.css"); |
42 | @import url("chrome://communicator/skin/"); |
43 | @import url("chrome://communicator/skin/sidebar/sidebar.css"); |
44 | @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css"); |
f6e0a33f |
45 | |
f840e302 |
46 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
47 | |
74d14f90 |
48 | /* ::::: primary toolbar buttons ::::: */ |
f6e0a33f |
49 | |
74d14f90 |
50 | #back-button { |
51 | list-style-image: url("chrome://navigator/skin/icons/back.gif"); |
52 | } |
f6e0a33f |
53 | |
74d14f90 |
54 | #back-button[disabled="true"] { |
55 | list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important; |
56 | } |
f6e0a33f |
57 | |
74d14f90 |
58 | #forward-button { |
59 | list-style-image: url("chrome://navigator/skin/icons/forward.gif"); |
60 | } |
61 | |
62 | #forward-button[disabled="true"] { |
63 | list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important; |
64 | } |
65 | |
66 | #reload-button { |
67 | list-style-image: url("chrome://navigator/skin/icons/reload.gif"); |
68 | } |
69 | |
70 | #reload-button[disabled="true"] { |
71 | list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important; |
72 | } |
73 | |
74 | #stop-button { |
75 | list-style-image: url("chrome://global/skin/icons/stop.gif"); |
76 | } |
77 | |
78 | #stop-button[disabled="true"] { |
79 | list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important; |
80 | } |
81 | |
82 | #print-button { |
83 | list-style-image: url("chrome://global/skin/icons/print.gif"); |
84 | } |
f6e0a33f |
85 | |
86 | #print-button[disabled="true"] { |
74d14f90 |
87 | list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important; |
88 | } |
f6e0a33f |
89 | |
f2450795 |
90 | #clear-button { |
91 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
92 | } |
93 | |
f6e0a33f |
94 | /* Hides text below the above buttons */ |
74d14f90 |
95 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
96 | .toolbarbutton-1 > .toolbarbutton-text { |
f6e0a33f |
97 | display: none; |
98 | } |
99 | |
74d14f90 |
100 | #fullscreen-exit-button { |
101 | list-style-image: none; |
102 | } |
103 | |
104 | #fullscreen-exit-button > .toolbarbutton-text { |
105 | display: normal; |
106 | } |
107 | |
c8120ee9 |
108 | /* ::::: small primary toolbar buttons ::::: */ |
109 | |
c9b2b3ef |
110 | .toolbarbutton-1[toolbarmode="small"], |
111 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button { |
112 | min-width: 0px; |
113 | min-height: 0px; |
c8120ee9 |
114 | } |
115 | |
c9b2b3ef |
116 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker { |
117 | padding: 0px 1px 13px 1px; |
118 | } |
119 | |
120 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
121 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker, |
122 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
123 | padding: 1px 0px 12px 2px; |
c8120ee9 |
124 | } |
125 | |
c9b2b3ef |
126 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
127 | padding: 0px 1px 13px 1px !important; |
128 | } |
129 | |
130 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
131 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text { |
c8120ee9 |
132 | display: none; |
133 | } |
134 | |
135 | #nav-bar[toolbarmode="small"] > #nav-bar-inner { |
083cee4a |
136 | margin: 2px 0px 2px 4px; |
c8120ee9 |
137 | } |
138 | |
c9b2b3ef |
139 | toolbar[toolbarmode="small"] > toolbargrippy { |
c8120ee9 |
140 | display: none; |
141 | } |
142 | |
143 | /* ::::: fullscreen window controls ::::: */ |
144 | |
145 | #window-controls { |
146 | -moz-box-align: center; |
147 | padding: 0 2px 0 4px; |
083cee4a |
148 | border-left: 1px solid #9999CC; |
149 | } |
150 | |
151 | #window-controls > toolbarbutton { |
152 | padding: 2px 0px 2px 2px; |
c8120ee9 |
153 | } |
154 | |
155 | #minimize-button { |
156 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
157 | } |
158 | |
159 | #restore-button { |
160 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
161 | } |
162 | |
163 | #close-button { |
164 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
165 | } |
166 | |
74d14f90 |
167 | /* ::::: nav-bar-inner ::::: */ |
168 | |
169 | #nav-bar-inner { |
170 | padding-left: 0px; |
171 | min-width: 0px; |
f2450795 |
172 | margin: 7px 4px 8px 4px; |
74d14f90 |
173 | } |
174 | |
175 | #urlbar { |
f2450795 |
176 | border: 1px solid; |
177 | -moz-border-top-colors: #71737A; |
178 | -moz-border-right-colors: #EFF0F4; |
179 | -moz-border-bottom-colors: #EFF0F4; |
180 | -moz-border-left-colors: #71737A; |
74d14f90 |
181 | margin: 0px 7px 0px 0px; |
182 | } |
183 | |
184 | /* ::::: page proxy icon ::::: */ |
185 | |
186 | #page-proxy-deck, |
187 | #page-proxy-favicon, |
188 | #page-proxy-button { |
189 | width: 16px; |
190 | height: 16px; |
191 | } |
2d09e496 |
192 | |
193 | #page-proxy-deck { |
d2f0d128 |
194 | cursor: -moz-grab; |
74d14f90 |
195 | margin: 1px 1px 1px 2px; |
196 | } |
197 | |
198 | #page-proxy-button { |
199 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
200 | padding-top: 2px; |
201 | padding-bottom: 2px; |
202 | } |
203 | |
204 | #page-proxy-favicon { |
205 | list-style-image: none; |
206 | } |
f6e0a33f |
207 | |
74d14f90 |
208 | /* ::::: autocomplete ::::: */ |
209 | |
e1597424 |
210 | .autocomplete-treebody:-moz-tree-cell-text(value) { |
74d14f90 |
211 | padding-left: 13px; |
f6e0a33f |
212 | } |
f6e0a33f |
213 | |
e1597424 |
214 | .autocomplete-treebody:-moz-tree-cell-text(comment) { |
74d14f90 |
215 | color: #808080; |
216 | /* font-style: italic; */ |
f6e0a33f |
217 | } |
218 | |
74d14f90 |
219 | .autocomplete-search-box { |
220 | border-top: 1px solid #9999CC; |
221 | background-color: #666699; |
222 | color: #000000; |
223 | } |
f6e0a33f |
224 | |
74d14f90 |
225 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
226 | border-top: 1px solid #666699; |
227 | } |
228 | |
229 | .autocomplete-search-engine { |
230 | padding: 2px; |
231 | } |
232 | |
233 | .autocomplete-search-engine[menuactive="true"] { |
234 | background-color: #9999CC; |
235 | color: #000000; |
236 | } |
237 | |
238 | .autocomplete-search-engine-img { |
239 | margin-right: 4px; |
240 | } |
241 | |
242 | /* ::::: go and searchbuttons ::::: */ |
f6e0a33f |
243 | |
244 | #search-button, |
245 | #go-button { |
74d14f90 |
246 | margin: 0px 3px 0px 0px; |
247 | /* min-height: 25px; */ |
248 | font-weight: bold; |
249 | background-color: #9999CC; |
f6e0a33f |
250 | } |
251 | |
74d14f90 |
252 | #search-button { |
253 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ |
254 | font-weight: bold; |
f6e0a33f |
255 | } |
256 | |
74d14f90 |
257 | /* ::::: personal toolbar ::::: */ |
258 | |
259 | #bookmarks-button { |
260 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
f6e0a33f |
261 | } |
262 | |
74d14f90 |
263 | #bookmarks-button[open="true"] { |
264 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
265 | } |
f6e0a33f |
266 | |
74d14f90 |
267 | #home-button { |
268 | list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); |
269 | } |
f6e0a33f |
270 | |
74d14f90 |
271 | /* ::::: sidebar splitter ::::: */ |
f6e0a33f |
272 | |
74d14f90 |
273 | /* |
274 | #sidebar-splitter { |
275 | border-left: none; |
276 | border-right: none; |
277 | min-width: 5px; |
278 | } |
279 | */ |
f6e0a33f |
280 | |
74d14f90 |
281 | /* ::::: content area ::::: */ |
f6e0a33f |
282 | |
283 | /* |
74d14f90 |
284 | #content { |
285 | border-top: 1px solid ThreeDDarkShadow; |
286 | border-bottom: 1px solid ThreeDLightShadow; |
287 | border-left: 2px solid; |
288 | -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; |
289 | } |
290 | |
291 | #status-bar { |
292 | border-top: none; |
293 | } |
f2450795 |
294 | */ |