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