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 | |
104 | /* ::::: nav-bar-inner ::::: */ |
105 | |
106 | #nav-bar-inner { |
107 | padding-left: 0px; |
108 | min-width: 0px; |
109 | margin: 7px 4px 8px 4px; |
110 | } |
111 | |
112 | #urlbar { |
113 | border: 1px inset #CCD0DD; |
114 | margin: 0px 7px 0px 0px; |
115 | } |
116 | |
117 | /* ::::: page proxy icon ::::: */ |
118 | |
119 | #page-proxy-deck, |
120 | #page-proxy-favicon, |
121 | #page-proxy-button { |
122 | width: 16px; |
123 | height: 16px; |
124 | } |
2d09e496 |
125 | |
126 | #page-proxy-deck { |
74d14f90 |
127 | cursor: grab; |
128 | margin: 1px 1px 1px 2px; |
129 | } |
130 | |
131 | #page-proxy-button { |
132 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
133 | padding-top: 2px; |
134 | padding-bottom: 2px; |
135 | } |
136 | |
137 | #page-proxy-favicon { |
138 | list-style-image: none; |
139 | } |
f6e0a33f |
140 | |
141 | /* |
74d14f90 |
142 | #page-proxy-button[pageproxystate="valid"]:hover { |
143 | list-style-image: url("chrome://communicator/skin/bookmarks/location-hover.gif"); |
144 | } |
f6e0a33f |
145 | |
74d14f90 |
146 | #page-proxy-button[pageproxystate="valid"]:hover:active { |
147 | list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif"); |
148 | } |
149 | |
150 | #page-proxy-button[pageproxystate="invalid"] { |
151 | cursor: default; |
152 | list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif"); |
153 | } |
f6e0a33f |
154 | */ |
155 | |
74d14f90 |
156 | /* ::::: autocomplete ::::: */ |
157 | |
158 | /* |
159 | .autocomplete-history-dropmarker { |
160 | border-right-width: 1px; |
161 | border-bottom-width: 1px; |
162 | -moz-border-right-colors: ThreeDShadow; |
163 | -moz-border-bottom-colors: ThreeDShadow; |
2d09e496 |
164 | } |
74d14f90 |
165 | */ |
2d09e496 |
166 | |
74d14f90 |
167 | .autocomplete-outlinerbody:-moz-outliner-cell-text(value) { |
168 | padding-left: 13px; |
f6e0a33f |
169 | } |
f6e0a33f |
170 | |
74d14f90 |
171 | .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) { |
172 | color: #808080; |
173 | /* font-style: italic; */ |
f6e0a33f |
174 | } |
175 | |
74d14f90 |
176 | .autocomplete-search-box { |
177 | border-top: 1px solid #9999CC; |
178 | background-color: #666699; |
179 | color: #000000; |
180 | } |
f6e0a33f |
181 | |
74d14f90 |
182 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
183 | border-top: 1px solid #666699; |
184 | } |
185 | |
186 | .autocomplete-search-engine { |
187 | padding: 2px; |
188 | } |
189 | |
190 | .autocomplete-search-engine[menuactive="true"] { |
191 | background-color: #9999CC; |
192 | color: #000000; |
193 | } |
194 | |
195 | .autocomplete-search-engine-img { |
196 | margin-right: 4px; |
197 | } |
198 | |
199 | /* ::::: go and searchbuttons ::::: */ |
f6e0a33f |
200 | |
201 | #search-button, |
202 | #go-button { |
74d14f90 |
203 | margin: 0px 3px 0px 0px; |
204 | /* min-height: 25px; */ |
205 | font-weight: bold; |
206 | background-color: #9999CC; |
f6e0a33f |
207 | } |
208 | |
74d14f90 |
209 | #search-button { |
210 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ |
211 | font-weight: bold; |
f6e0a33f |
212 | } |
213 | |
74d14f90 |
214 | /* ::::: personal toolbar ::::: */ |
215 | |
216 | #bookmarks-button { |
217 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); |
f6e0a33f |
218 | } |
219 | |
74d14f90 |
220 | #bookmarks-button[open="true"] { |
221 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); |
222 | } |
f6e0a33f |
223 | |
74d14f90 |
224 | #home-button { |
225 | list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); |
226 | } |
f6e0a33f |
227 | |
74d14f90 |
228 | /* ::::: sidebar splitter ::::: */ |
f6e0a33f |
229 | |
74d14f90 |
230 | /* |
231 | #sidebar-splitter { |
232 | border-left: none; |
233 | border-right: none; |
234 | min-width: 5px; |
235 | } |
236 | */ |
f6e0a33f |
237 | |
74d14f90 |
238 | /* ::::: content area ::::: */ |
f6e0a33f |
239 | |
240 | /* |
74d14f90 |
241 | #content { |
242 | border-top: 1px solid ThreeDDarkShadow; |
243 | border-bottom: 1px solid ThreeDLightShadow; |
244 | border-left: 2px solid; |
245 | -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; |
246 | } |
247 | |
248 | #status-bar { |
249 | border-top: none; |
250 | } |
f6e0a33f |
251 | */ |
252 | |