~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/themes/classic/navigator/navigator.css

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
 
4
 * The contents of this file are subject to the Netscape Public License
 
5
 * Version 1.1 (the "License"); you may not use this file except in
 
6
 * compliance with the License. You may obtain a copy of the License at
 
7
 * http://www.mozilla.org/NPL/
 
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 mozilla.org code.
 
15
 *
 
16
 * The Initial Developer of the Original Code is 
 
17
 * Netscape Communications Corporation.
 
18
 * Portions created by the Initial Developer are Copyright (C) 1998-1999
 
19
 * the Initial Developer. All Rights Reserved.
 
20
 *
 
21
 * Contributor(s):
 
22
 *   Joe Hewitt (hewitt@netscape.com)
 
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 NPL, 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 NPL, the GPL or the LGPL.
 
35
 *
 
36
 * ***** END LICENSE BLOCK ***** */
 
37
 
 
38
@import url("chrome://navigator/content/navigator.css");
 
39
@import url("chrome://communicator/skin/");
 
40
@import url("chrome://communicator/skin/sidebar/sidebar.css");
 
41
@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
 
42
 
 
43
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
44
 
 
45
/* ::::: primary toolbar buttons ::::: */
 
46
 
 
47
.toolbarbutton-1 {
 
48
  list-style-image: url("chrome://navigator/skin/icons/btn1.gif");
 
49
}
 
50
 
 
51
#back-button {
 
52
  -moz-image-region: rect(0px 19px 20px 0px);
 
53
}
 
54
 
 
55
#back-button[buttonover="true"] {
 
56
  -moz-image-region: rect(0px 38px 20px 19px);
 
57
}
 
58
 
 
59
#back-button[buttondown="true"] {
 
60
  -moz-image-region: rect(0px 57px 20px 38px);
 
61
}
 
62
 
 
63
#back-button[disabled="true"] {
 
64
  -moz-image-region: rect(0px 76px 20px 57px) !important;
 
65
}
 
66
 
 
67
#forward-button {
 
68
  -moz-image-region: rect(20px 19px 40px 0px);
 
69
}
 
70
 
 
71
#forward-button[buttonover="true"] {
 
72
  -moz-image-region: rect(20px 38px 40px 19px);
 
73
}
 
74
 
 
75
#forward-button[buttondown="true"] {
 
76
  -moz-image-region: rect(20px 57px 40px 38px);
 
77
}
 
78
 
 
79
#forward-button[disabled="true"] {
 
80
  -moz-image-region: rect(20px 76px 40px 57px) !important;
 
81
}
 
82
 
 
83
#reload-button {
 
84
  -moz-image-region: rect(40px 22px 60px 0px);
 
85
}
 
86
  
 
87
#reload-button:hover {
 
88
  -moz-image-region: rect(40px 44px 60px 22px);
 
89
}
 
90
 
 
91
#reload-button:hover:active {
 
92
  -moz-image-region: rect(40px 66px 60px 44px);
 
93
}
 
94
 
 
95
#reload-button[disabled="true"] {
 
96
  -moz-image-region: rect(40px 88px 60px 66px) !important;
 
97
}
 
98
 
 
99
#stop-button {
 
100
  list-style-image: url("chrome://communicator/skin/icons/btn1.gif");
 
101
  -moz-image-region: rect(21px 22px 41px 0px);
 
102
}
 
103
 
 
104
#stop-button:hover {
 
105
  -moz-image-region: rect(21px 44px 41px 22px);
 
106
 
107
 
 
108
#stop-button:hover:active {
 
109
  -moz-image-region: rect(21px 66px 41px 44px);
 
110
}
 
111
 
 
112
#stop-button[disabled="true"] {
 
113
  -moz-image-region: rect(21px 88px 41px 66px) !important;
 
114
}
 
115
 
 
116
#print-button {
 
117
  list-style-image: url("chrome://communicator/skin/icons/btn1.gif");
 
118
  -moz-image-region: rect(0px 23px 21px 0px);
 
119
}
 
120
 
 
121
#print-button[buttonover="true"] {
 
122
  -moz-image-region: rect(0px 46px 21px 23px);
 
123
}
 
124
 
 
125
#print-button[buttondown="true"] {
 
126
  -moz-image-region: rect(0px 69px 21px 46px);
 
127
}
 
128
 
 
129
#print-button[disabled="true"] {
 
130
  -moz-image-region: rect(0px 92px 21px 69px) !important;
 
131
}
 
132
 
 
133
#fullscreen-exit-button {
 
134
  list-style-image: none;
 
135
}
 
136
 
 
137
/* ::::: small primary toolbar buttons ::::: */
 
138
 
 
139
.toolbarbutton-1[toolbarmode="small"] {
 
140
  min-width: 0;
 
141
}
 
142
 
 
143
.toolbarbutton-text[toolbarmode="small"] {
 
144
  display: none;
 
145
}
 
146
 
 
147
#search-button[toolbarmode="small"] > .button-box > .button-text {
 
148
  display: none;
 
149
}
 
150
 
 
151
.toolbarbutton-icon[toolbarmode="small"] {
 
152
  display: inline;
 
153
}
 
154
 
 
155
#nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
 
156
  display: none;
 
157
}
 
158
 
 
159
.toolbarbutton-text[buttonstyle="text"] {
 
160
  padding: 4px 0;
 
161
}
 
162
 
 
163
/* ::::: fullscreen window controls ::::: */
 
164
 
 
165
#window-controls {
 
166
  -moz-box-align: center;
 
167
  padding: 0 2px 0 4px;
 
168
  border-left: 2px solid;
 
169
  -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
 
170
}
 
171
 
 
172
#minimize-button {
 
173
  list-style-image: url("chrome://navigator/skin/icons/minimize.gif");
 
174
 
175
 
 
176
#restore-button {
 
177
  list-style-image: url("chrome://navigator/skin/icons/restore.gif");
 
178
 
179
 
 
180
#close-button {
 
181
  list-style-image: url("chrome://navigator/skin/icons/close.gif");
 
182
 
183
  
 
184
/* ::::: nav-bar-inner ::::: */
 
185
  
 
186
#nav-bar-inner {
 
187
  -moz-box-align: center;
 
188
  min-width: 0px;
 
189
}
 
190
 
 
191
#urlbar {
 
192
  border: 3px solid;
 
193
  -moz-border-top-colors: transparent ThreeDShadow ThreeDDarkShadow;
 
194
  -moz-border-right-colors: transparent ThreeDHighlight ThreeDDarkShadow;
 
195
  -moz-border-bottom-colors: transparent ThreeDHighlight ThreeDDarkShadow;
 
196
  -moz-border-left-colors: transparent ThreeDShadow ThreeDDarkShadow;
 
197
}
 
198
 
 
199
/* ::::: page proxy icon ::::: */
 
200
 
 
201
#page-proxy-deck,
 
202
#page-proxy-favicon,
 
203
#page-proxy-button {
 
204
  width: 16px;
 
205
  height: 16px;
 
206
}
 
207
 
 
208
#page-proxy-deck {
 
209
  cursor: -moz-grab;
 
210
  margin: 2px 3px;
 
211
}
 
212
 
 
213
#page-proxy-button {
 
214
  list-style-image: url("chrome://communicator/skin/bookmarks/location.gif"); 
 
215
 
216
 
 
217
#page-proxy-favicon {
 
218
  list-style-image: none;
 
219
 
220
 
 
221
#page-proxy-button[pageproxystate="valid"]:hover  {
 
222
  list-style-image: url("chrome://communicator/skin/bookmarks/location-hov.gif");
 
223
}
 
224
  
 
225
#page-proxy-button[pageproxystate="valid"]:hover:active {
 
226
  list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif");
 
227
}
 
228
 
 
229
#page-proxy-button[pageproxystate="invalid"] {
 
230
  cursor: default;
 
231
  list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif");
 
232
}
 
233
 
 
234
/* ::::: autocomplete ::::: */
 
235
 
 
236
.autocomplete-history-dropmarker {
 
237
  border-right-width: 1px;
 
238
  border-bottom-width: 1px;
 
239
  -moz-border-right-colors: ThreeDShadow;
 
240
  -moz-border-bottom-colors: ThreeDShadow;
 
241
}
 
242
 
 
243
.autocomplete-treebody::-moz-tree-cell-text(value) {
 
244
  padding-left: 15px;
 
245
}
 
246
 
 
247
.autocomplete-treebody::-moz-tree-cell-text(comment) {
 
248
  color: ThreeDShadow;
 
249
}
 
250
 
 
251
.autocomplete-search-box {
 
252
  border-top: 2px groove -moz-Dialog;
 
253
  background-color: -moz-Dialog;
 
254
  color: ButtonText;
 
255
}
 
256
 
 
257
.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
 
258
  border-top: 1px solid ThreeDHighlight;
 
259
}
 
260
 
 
261
.autocomplete-search-engine {
 
262
  padding: 2px;
 
263
}
 
264
 
 
265
.autocomplete-search-engine[menuactive="true"] {
 
266
  background-color: Highlight;
 
267
  color: HighlightText;
 
268
}
 
269
 
 
270
.autocomplete-search-engine-img {
 
271
  margin-right: 4px;
 
272
}
 
273
 
 
274
/* ::::: go and searchbuttons ::::: */
 
275
 
 
276
#search-button, 
 
277
#go-button {
 
278
  margin: 0px 4px 0px 0px;
 
279
  min-height: 25px;
 
280
  font: message-box;
 
281
  font-weight: bold;
 
282
}
 
283
 
 
284
#search-button {
 
285
  list-style-image: url("chrome://communicator/skin/icons/search.gif");
 
286
  font-weight: bold;
 
287
}
 
288
 
 
289
#search-button:hover {
 
290
  list-style-image: url("chrome://communicator/skin/icons/search-hov.gif");
 
291
}
 
292
 
 
293
#search-button:hover:active {
 
294
  list-style-image: url("chrome://communicator/skin/icons/search-act.gif");
 
295
}
 
296
 
 
297
/* ::::: sidebar splitter ::::: */
 
298
 
 
299
#sidebar-splitter {
 
300
  border-left: none;
 
301
  border-right: none;
 
302
  min-width: 5px;
 
303
}
 
304
 
 
305
/* ::::: content area ::::: */
 
306
 
 
307
#content {
 
308
  border-top: 1px solid ThreeDDarkShadow;
 
309
  border-bottom: 1px solid ThreeDLightShadow;
 
310
  border-left: 2px solid;
 
311
  -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
 
312
}
 
313
 
 
314
#status-bar {
 
315
  border-top: none;
 
316
  min-width: 1px;
 
317
}
 
318
 
 
319
#security-button {
 
320
  list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
 
321
}
 
322
 
 
323
#security-button[level="high"] {
 
324
  list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
 
325
}
 
326
 
 
327
#security-button[level="low"] {
 
328
  list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
 
329
}
 
330
 
 
331
#security-button[level="broken"] {
 
332
  list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
 
333
}
 
334
 
 
335
#privacy-button {
 
336
  list-style-image: url("chrome://communicator/skin/cookie/taskbar-cookie.gif");
 
337
}
 
338
 
 
339
#popupIcon {
 
340
  list-style-image: url("chrome://navigator/skin/icons/popup-blocked.png");
 
341
}
 
342
 
 
343
#popupImage {
 
344
  list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
 
345
  margin: 6px 0px;
 
346
}
 
347
 
 
348
/* ::::: personal toolbar ::::: */
 
349
 
 
350
#bookmarks-button,
 
351
#bookmarks-button[open="true"] {
 
352
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-button.gif");
 
353
}
 
354
 
 
355
#home-button {
 
356
  list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
 
357
}
 
358
  
 
359
#home-button:hover {
 
360
  list-style-image: url("chrome://communicator/skin/bookmarks/home-hover.gif");
 
361
}
 
362
  
 
363
#home-button:hover:active {
 
364
  list-style-image: url("chrome://communicator/skin/bookmarks/home-active.gif");
 
365
}
 
366
 
 
367
#PersonalToolbar > .toolbar-prefix {
 
368
  border-left: 1px solid ThreeDHighlight;
 
369
  border-top: 1px solid ThreeDHighlight;
 
370
  border-bottom: 1px solid ThreeDShadow;
 
371
}
 
372
 
 
373
toolbarbutton.chevron {
 
374
  list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
 
375
}
 
376
 
 
377
toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
 
378
  display: none;
 
379
}