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 | |
f6e0a33f |
90 | /* Hides text below the above buttons */ |
74d14f90 |
91 | .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
92 | .toolbarbutton-1 > .toolbarbutton-text { |
f6e0a33f |
93 | display: none; |
94 | } |
95 | |
74d14f90 |
96 | #fullscreen-exit-button { |
97 | list-style-image: none; |
98 | } |
99 | |
100 | #fullscreen-exit-button > .toolbarbutton-text { |
101 | display: normal; |
102 | } |
103 | |
c8120ee9 |
104 | /* ::::: small primary toolbar buttons ::::: */ |
105 | |
c9b2b3ef |
106 | .toolbarbutton-1[toolbarmode="small"], |
107 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button { |
108 | min-width: 0px; |
109 | min-height: 0px; |
c8120ee9 |
110 | } |
111 | |
c9b2b3ef |
112 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker { |
113 | padding: 0px 1px 13px 1px; |
114 | } |
115 | |
116 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, |
117 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker, |
118 | .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { |
119 | padding: 1px 0px 12px 2px; |
c8120ee9 |
120 | } |
121 | |
c9b2b3ef |
122 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { |
123 | padding: 0px 1px 13px 1px !important; |
124 | } |
125 | |
126 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text, |
127 | .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text { |
c8120ee9 |
128 | display: none; |
129 | } |
130 | |
131 | #nav-bar[toolbarmode="small"] > #nav-bar-inner { |
083cee4a |
132 | margin: 2px 0px 2px 4px; |
c8120ee9 |
133 | } |
134 | |
c9b2b3ef |
135 | toolbar[toolbarmode="small"] > toolbargrippy { |
c8120ee9 |
136 | display: none; |
137 | } |
138 | |
139 | /* ::::: fullscreen window controls ::::: */ |
140 | |
141 | #window-controls { |
142 | -moz-box-align: center; |
143 | padding: 0 2px 0 4px; |
083cee4a |
144 | border-left: 1px solid #9999CC; |
145 | } |
146 | |
147 | #window-controls > toolbarbutton { |
148 | padding: 2px 0px 2px 2px; |
c8120ee9 |
149 | } |
150 | |
151 | #minimize-button { |
152 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); |
153 | } |
154 | |
155 | #restore-button { |
156 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); |
157 | } |
158 | |
159 | #close-button { |
160 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); |
161 | } |
162 | |
74d14f90 |
163 | /* ::::: nav-bar-inner ::::: */ |
164 | |
165 | #nav-bar-inner { |
166 | padding-left: 0px; |
167 | min-width: 0px; |
168 | margin: 7px 4px 8px 4px; |
169 | } |
170 | |
171 | #urlbar { |
172 | border: 1px inset #CCD0DD; |
173 | margin: 0px 7px 0px 0px; |
174 | } |
175 | |
176 | /* ::::: page proxy icon ::::: */ |
177 | |
178 | #page-proxy-deck, |
179 | #page-proxy-favicon, |
180 | #page-proxy-button { |
181 | width: 16px; |
182 | height: 16px; |
183 | } |
2d09e496 |
184 | |
185 | #page-proxy-deck { |
74d14f90 |
186 | cursor: grab; |
187 | margin: 1px 1px 1px 2px; |
188 | } |
189 | |
190 | #page-proxy-button { |
191 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
192 | padding-top: 2px; |
193 | padding-bottom: 2px; |
194 | } |
195 | |
196 | #page-proxy-favicon { |
197 | list-style-image: none; |
198 | } |
f6e0a33f |
199 | |
74d14f90 |
200 | /* ::::: autocomplete ::::: */ |
201 | |
e1597424 |
202 | .autocomplete-treebody:-moz-tree-cell-text(value) { |
74d14f90 |
203 | padding-left: 13px; |
f6e0a33f |
204 | } |
f6e0a33f |
205 | |
e1597424 |
206 | .autocomplete-treebody:-moz-tree-cell-text(comment) { |
74d14f90 |
207 | color: #808080; |
208 | /* font-style: italic; */ |
f6e0a33f |
209 | } |
210 | |
74d14f90 |
211 | .autocomplete-search-box { |
212 | border-top: 1px solid #9999CC; |
213 | background-color: #666699; |
214 | color: #000000; |
215 | } |
f6e0a33f |
216 | |
74d14f90 |
217 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
218 | border-top: 1px solid #666699; |
219 | } |
220 | |
221 | .autocomplete-search-engine { |
222 | padding: 2px; |
223 | } |
224 | |
225 | .autocomplete-search-engine[menuactive="true"] { |
226 | background-color: #9999CC; |
227 | color: #000000; |
228 | } |
229 | |
230 | .autocomplete-search-engine-img { |
231 | margin-right: 4px; |
232 | } |
233 | |
234 | /* ::::: go and searchbuttons ::::: */ |
f6e0a33f |
235 | |
236 | #search-button, |
237 | #go-button { |
74d14f90 |
238 | margin: 0px 3px 0px 0px; |
239 | /* min-height: 25px; */ |
240 | font-weight: bold; |
241 | background-color: #9999CC; |
f6e0a33f |
242 | } |
243 | |
74d14f90 |
244 | #search-button { |
245 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ |
246 | font-weight: bold; |
f6e0a33f |
247 | } |
248 | |
74d14f90 |
249 | /* ::::: personal toolbar ::::: */ |
250 | |
251 | #bookmarks-button { |
252 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
f6e0a33f |
253 | } |
254 | |
74d14f90 |
255 | #bookmarks-button[open="true"] { |
256 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
257 | } |
f6e0a33f |
258 | |
74d14f90 |
259 | #home-button { |
260 | list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); |
261 | } |
f6e0a33f |
262 | |
74d14f90 |
263 | /* ::::: sidebar splitter ::::: */ |
f6e0a33f |
264 | |
74d14f90 |
265 | /* |
266 | #sidebar-splitter { |
267 | border-left: none; |
268 | border-right: none; |
269 | min-width: 5px; |
270 | } |
271 | */ |
f6e0a33f |
272 | |
74d14f90 |
273 | /* ::::: content area ::::: */ |
f6e0a33f |
274 | |
275 | /* |
74d14f90 |
276 | #content { |
277 | border-top: 1px solid ThreeDDarkShadow; |
278 | border-bottom: 1px solid ThreeDLightShadow; |
279 | border-left: 2px solid; |
280 | -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; |
281 | } |
282 | |
283 | #status-bar { |
284 | border-top: none; |
285 | } |
f6e0a33f |
286 | */ |