~ubuntu-branches/ubuntu/gutsy/firefox/gutsy

« back to all changes in this revision

Viewing changes to toolkit/themes/pmstripe/global/browser.css

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-10-19 09:28:15 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20061019092815-v2s1h411rmsjhfna
Tags: 1.99+2.0rc3+dfsg-0ubuntu1
* New upstream version 2.0rc3, UVF exception approved by Matt Zimmerman.
* configure: Fix bashism to let the gcc visibility=hidden bug detection
  work.
* configure{,.in}: Change MOZ_APP_DISPLAYNAME from 'BonEcho' to 'Firefox' to
  make UserAgent string work with web sites which evaluate it.
* browser/base/content/utilityOverlay.js: Open the Launchpad
  translation/help pages for Edgy, not Dapper.
* For the sake of automatic vulnerability tracking: All 1.5.0.x and earlier
  vulnerabilities were fixed in the 2.0 branch as well:
  CVE-2005-0752 CVE-2005-1531 CVE-2005-1532 CVE-2005-2114 CVE-2006-0749
  CVE-2006-1731 CVE-2006-1732 CVE-2006-1733 CVE-2006-1734 CVE-2006-1735
  CVE-2006-1736 CVE-2006-1737 CVE-2006-1738 CVE-2006-1739 CVE-2006-1740
  CVE-2006-1741 CVE-2006-1742 CVE-2006-1790 CVE-2006-2775 CVE-2006-2776
  CVE-2006-2777 CVE-2006-2778 CVE-2006-2779 CVE-2006-2780 CVE-2006-2782
  CVE-2006-2783 CVE-2006-2784 CVE-2006-2785 CVE-2006-2786 CVE-2006-2787
  CVE-2006-2788 CVE-2006-3113 CVE-2006-3677 CVE-2006-3801 CVE-2006-3802
  CVE-2006-3803 CVE-2006-3805 CVE-2006-3806 CVE-2006-3807 CVE-2006-3808
  CVE-2006-3809 CVE-2006-3810 CVE-2006-3811 CVE-2006-3812 CVE-2006-4253
  CVE-2006-4340 CVE-2006-4565 CVE-2006-4566 CVE-2006-4567 CVE-2006-4568
  CVE-2006-4569 CVE-2006-4571

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
3
 
 
4
/**
 
5
 * Tabbrowser Tabs
 
6
 */
 
7
 
 
8
.tabbrowser-tabs {
 
9
  -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tabs") !important;
 
10
  padding-top: 0px;
 
11
  background: #b5b6b5 !important;
 
12
  -moz-padding-start: 0px;
 
13
}
 
14
 
 
15
.tabbrowser-tabs[overflow="true"] {
 
16
  -moz-padding-start: 0px;
 
17
}
 
18
 
 
19
/**
 
20
 * Tab
 
21
 */
 
22
 
 
23
.tabbrowser-tab {
 
24
  -moz-appearance: none !important;
 
25
  -moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tab") !important;
 
26
  background: transparent !important;
 
27
  margin: 0px  !important;
 
28
  padding: 0px !important;
 
29
  border: none !important;
 
30
  height: 22px !important;
 
31
  margin-bottom: 1px;
 
32
}
 
33
 
 
34
.tabbrowser-tab > .tab-image-middle {
 
35
  padding-top: 1px;
 
36
  -moz-padding-start: 1px;
 
37
}
 
38
 
 
39
.tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image {
 
40
  list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif") !important;
 
41
  opacity: 0.6;
 
42
}
 
43
 
 
44
.tabbrowser-tab[selected="true"] {
 
45
  font-weight: bold;
 
46
}
 
47
 
 
48
.tabbrowser-tab[selected="true"] > .tab-image-middle > .tab-text {
 
49
  opacity: 1.0 !important;
 
50
}
 
51
 
 
52
.tabbrowser-tab > .tab-image-left {
 
53
  width: 8px;
 
54
  height: 24px;
 
55
  background-color: #e9e9e9;
 
56
  border-top: 1px solid;
 
57
  border-left: 2px solid;
 
58
  -moz-border-top-colors: #ababab;
 
59
  -moz-border-left-colors: ThreeDShadow ThreeDHighlight;
 
60
  -moz-border-radius-topleft: 3px;
 
61
}
 
62
 
 
63
.tabbrowser-tab[chromedir="rtl"] > .tab-image-left {
 
64
  background-color: #e9e9e9;
 
65
  border-top: 1px solid;
 
66
  border-left: none;
 
67
  border-right: 1px solid;
 
68
  -moz-border-top-colors: #ababab;
 
69
  -moz-border-right-colors: ThreeDShadow;
 
70
  -moz-border-radius-topleft: 0px;
 
71
  -moz-border-radius-topright: 3px;
 
72
}
 
73
 
 
74
.tabbrowser-tab:not([selected="true"]) > .tab-image-left {
 
75
  height: 23px;
 
76
  margin-bottom: 1px;
 
77
  background-color: #d8d8d8;
 
78
  border-top: 1px solid #ababab;
 
79
}
 
80
 
 
81
.tabbrowser-tab:hover:not([selected="true"]) > .tab-image-left {
 
82
  background-color: #e7e7e7;
 
83
  border-top: 1px solid #8d8d8d;
 
84
}
 
85
 
 
86
.tabbrowser-tab > .tab-image-middle {
 
87
  height: 24px;
 
88
  background-color: #e9e9e9;
 
89
  border-top: 1px solid #ababab;
 
90
}
 
91
 
 
92
.tabbrowser-tab:not([selected="true"]) > .tab-image-middle {
 
93
  height: 23px;
 
94
  margin-bottom: 1px;
 
95
  /* computing rgb+alpha on default OS/2 -moz-dialog would be #e1e1e1 *
 
96
   * but better make it slightly darker than than                     */
 
97
  background-color: #d8d8d8;
 
98
  border-top: 1px solid #ababab;
 
99
}
 
100
 
 
101
.tabbrowser-tab:hover:not([selected="true"]) > .tab-image-middle {
 
102
  /* computing rgb+alpha on default OS/2 -moz-dialog would be #e9e9e9 *
 
103
   * but better make it slightly darker than normal tab-middle        */
 
104
  background-color: #e7e7e7;
 
105
  border-top: 1px solid #8d8d8d;
 
106
}
 
107
 
 
108
.tabbrowser-tab > .tab-image-right {
 
109
  width: 8px;
 
110
  height: 24px;
 
111
  background-color: #e9e9e9;
 
112
  border-top: 1px solid;
 
113
  border-right: 1px solid;
 
114
  -moz-border-top-colors: #ababab;
 
115
  -moz-border-right-colors: ThreeDShadow;
 
116
  -moz-border-radius-topright: 3px;
 
117
}
 
118
 
 
119
.tabbrowser-tab[chromedir="rtl"] > .tab-image-right {
 
120
  background-color: #e9e9e9;
 
121
  border-top: 1px solid;
 
122
  border-right: none;
 
123
  border-left: 2px solid;
 
124
  -moz-border-top-colors: #ababab;
 
125
  -moz-border-left-colors: ThreeDShadow ThreeDHighlight;
 
126
  -moz-border-radius-topleft: 3px;
 
127
  -moz-border-radius-topright: 0px;
 
128
}
 
129
 
 
130
.tabbrowser-tab:not([selected="true"]) > .tab-image-right {
 
131
  height: 23px;
 
132
  margin-bottom: 1px;
 
133
  background-color: #d8d8d8;
 
134
  border-top: 1px solid #ababab;
 
135
}
 
136
 
 
137
.tabbrowser-tab:hover:not([selected="true"]) > .tab-image-right {
 
138
  background-color: #e7e7e7;
 
139
  border-top: 1px solid #8d8d8d;
 
140
}
 
141
 
 
142
.tab-icon-image {
 
143
  margin-top: 1px;
 
144
  -moz-margin-end: 3px;
 
145
  width: 16px;
 
146
  height: 16px;
 
147
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
 
148
  -moz-image-region: rect(0px, 16px, 16px, 0px);
 
149
}
 
150
 
 
151
.tabs-bottom {
 
152
  height: 4px !important;
 
153
  margin: 0px !important;
 
154
  background: -moz-dialog !important;
 
155
  border-top: 1px solid threedshadow; 
 
156
  border-bottom: 1px solid threedshadow;
 
157
}
 
158
 
 
159
tabpanels {
 
160
  -moz-appearance: none;
 
161
}
 
162
 
 
163
.tabs-left,
 
164
.tabs-right {
 
165
  width: 3px;
 
166
  border-bottom-width: 0px;
 
167
}
 
168
 
 
169
/* tabbrowser-tab focus ring */
 
170
.tabbrowser-tab >  .tab-image-middle > .tab-text {
 
171
  border: 1px dotted transparent;
 
172
}
 
173
 
 
174
.tabbrowser-tab:focus > .tab-image-middle > .tab-text {
 
175
  border: 1px dotted -moz-DialogText;
 
176
}
 
177
 
 
178
/**
 
179
 * Tab Drag and Drop
 
180
 */
 
181
 
 
182
.tab-drop-indicator-bar {
 
183
    display:none;
 
184
    height: 9px;
 
185
    margin-top: -9px;
 
186
    position: relative;
 
187
}
 
188
 
 
189
.tab-drop-indicator {
 
190
    height: 9px;
 
191
    width: 9px;
 
192
    margin-bottom: -5px;
 
193
    position: relative;
 
194
    background: url('chrome://global/skin/tabDragDrop/tabDragIndicator.png') 50% 50% no-repeat;
 
195
}
 
196
 
 
197
.tab-drop-indicator-bar[dragging="true"] {
 
198
    display: -moz-box;
 
199
}
 
200
 
 
201
/**
 
202
 * In-tab close button
 
203
 */
 
204
.tab-close-button > .toolbarbutton-icon {
 
205
  -moz-margin-end: 0px !important;
 
206
  margin-top: 1px;
 
207
}
 
208
 
 
209
.tab-close-button {
 
210
  -moz-appearance: none;
 
211
  -moz-image-region: rect(0px, 64px, 16px, 48px);
 
212
  height: 24px;
 
213
  border: none !important;
 
214
  padding: 0px;
 
215
  cursor: default;
 
216
  list-style-image: url("chrome://global/skin/icons/close.png");
 
217
}
 
218
 
 
219
.tabbrowser-tab:not([selected="true"]) > .tab-close-button {
 
220
  height: 23px;
 
221
  margin-bottom: 1px;
 
222
}
 
223
 
 
224
.tabbrowser-tab:not([selected="true"]) > .tab-close-button > .toolbarbutton-icon {
 
225
  margin-top: 2px;
 
226
}
 
227
 
 
228
.tab-close-button:hover,
 
229
.tabbrowser-tab[selected="true"] > .tab-close-button:hover {
 
230
  -moz-image-region: rect(0px, 32px, 16px, 16px);
 
231
  opacity: 1.0;
 
232
}
 
233
 
 
234
.tab-close-button:hover:active,
 
235
.tabbrowser-tab[selected="true"] > .tab-close-button:hover:active {
 
236
  -moz-image-region: rect(0px, 48px, 16px, 32px);
 
237
  opacity: 1.0;
 
238
}
 
239
 
 
240
.tabbrowser-tab > .tab-close-button {
 
241
  background-color: #d8d8d8;
 
242
  border-top: 1px solid #ababab !important;
 
243
}
 
244
 
 
245
.tabbrowser-tab:hover > .tab-close-button {
 
246
  background-color: #e7e7e7;
 
247
  border-top: 1px solid #8d8d8d !important;
 
248
}
 
249
 
 
250
.tabbrowser-tab[selected="true"] > .tab-close-button {
 
251
  -moz-image-region: rect(0px, 16px, 16px, 0px);
 
252
  /* Make this button focusable so clicking on it will not focus the tab while
 
253
     it's getting closed */
 
254
  -moz-user-focus: normal;
 
255
  background-color: #e9e9e9;
 
256
  border-top: 1px solid #ababab;
 
257
}
 
258
 
 
259
.tab-close-button:focus {
 
260
  outline: none !important;
 
261
}
 
262
 
 
263
/**
 
264
 * Tab Scrollbox Arrow Buttons
 
265
 */
 
266
 
 
267
.tabbrowser-tabs[overflow="true"] .tabs-left {
 
268
  display: none;
 
269
}
 
270
 
 
271
.tabbrowser-arrowscrollbox > .scrollbutton-up {
 
272
  -moz-appearance: none !important;
 
273
  border: none !important;
 
274
  margin-top: 2px;
 
275
  margin-bottom: 4px !important;
 
276
  padding: 0px;
 
277
  width: 18px;
 
278
  height: 23px;
 
279
  -moz-margin-start: 0px;
 
280
  -moz-margin-end: 0px;
 
281
  list-style-image: url("chrome://global/skin/icons/tab-arrow-start.png");
 
282
  -moz-image-region: rect(0, 11px, 14px, 0);
 
283
  background-repeat: no-repeat;
 
284
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-enabled.png");
 
285
  background-color: -moz-dialog;
 
286
  -moz-border-radius-topright: 5px;
 
287
}
 
288
 
 
289
.tabbrowser-arrowscrollbox[chromedir="rtl"] > .scrollbutton-up {
 
290
  list-style-image: url("chrome://global/skin/icons/tab-arrow-end.png");
 
291
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-enabled.png");
 
292
  -moz-border-radius-topleft: 5px;
 
293
  -moz-border-radius-topright: 0px;
 
294
}
 
295
 
 
296
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled="true"] {
 
297
  -moz-image-region: rect(0, 33px, 14px, 22px);
 
298
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-disabled.png");
 
299
}
 
300
 
 
301
.tabbrowser-arrowscrollbox[chromedir="rtl"] > .scrollbutton-up[disabled="true"] {
 
302
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-disabled.png");
 
303
}
 
304
 
 
305
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover {
 
306
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-hover.png");
 
307
  -moz-image-region: rect(0, 22px, 14px, 11px);
 
308
}
 
309
 
 
310
.tabbrowser-arrowscrollbox[chromedir="rtl"] > .scrollbutton-up:not([disabled="true"]):hover {
 
311
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-hover.png");
 
312
}
 
313
 
 
314
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover:active {
 
315
  -moz-image-region: rect(0, 44px, 14px, 33px);
 
316
}
 
317
 
 
318
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon {    
 
319
  margin: 6px 0px 0px 0px;
 
320
}                                                                            
 
321
 
 
322
.tabbrowser-arrowscrollbox > .scrollbutton-down-stack {
 
323
  margin-top: 2px;
 
324
  margin-bottom: 4px;
 
325
  height: 23px;
 
326
}
 
327
 
 
328
.scrollbutton-rel-box > .scrollbutton-down-box {
 
329
  -moz-appearance: none !important;
 
330
  border: none !important;
 
331
  width: 18px;
 
332
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-enabled.png");
 
333
  background-repeat: no-repeat; 
 
334
  background-color: -moz-dialog;
 
335
  -moz-border-radius-topleft: 5px;
 
336
}
 
337
 
 
338
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down-box {
 
339
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-enabled.png");
 
340
  -moz-border-radius-topleft: 0px;
 
341
  -moz-border-radius-topright: 5px;
 
342
}
 
343
 
 
344
.scrollbutton-rel-box > .scrollbutton-down-box[disabled="true"] {
 
345
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-disabled.png");
 
346
}
 
347
 
 
348
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down-box[disabled="true"] {
 
349
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-disabled.png");
 
350
}
 
351
 
 
352
.scrollbutton-rel-box > .scrollbutton-down-box-animate {
 
353
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-animate.png");
 
354
  background-repeat: no-repeat;
 
355
  opacity: 0.0;
 
356
}
 
357
 
 
358
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down-box-animate {
 
359
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-animate.png");
 
360
}
 
361
 
 
362
.scrollbutton-rel-box > .scrollbutton-down {
 
363
  -moz-appearance: none !important;
 
364
  border: none !important;
 
365
  width: 18px;
 
366
  list-style-image: url("chrome://global/skin/icons/tab-arrow-end.png");
 
367
  -moz-image-region: rect(0, 11px, 14px, 0);
 
368
  margin: 0px;
 
369
  padding: 0px;
 
370
}
 
371
 
 
372
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down {
 
373
  list-style-image: url("chrome://global/skin/icons/tab-arrow-start.png");
 
374
}
 
375
 
 
376
.scrollbutton-rel-box > .scrollbutton-down[disabled="true"] {
 
377
  -moz-image-region: rect(0, 33px, 14px, 22px);
 
378
}
 
379
 
 
380
.scrollbutton-rel-box > .scrollbutton-down:not([disabled="true"]):hover {
 
381
  -moz-image-region: rect(0, 22px, 14px, 11px);
 
382
  background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-hover.png");
 
383
  background-repeat: no-repeat;
 
384
  background-position: top left;
 
385
}
 
386
 
 
387
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down:not([disabled="true"]):hover {
 
388
  background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-hover.png");
 
389
}
 
390
 
 
391
.scrollbutton-rel-box > .scrollbutton-down:not([disabled="true"]):hover:active {
 
392
  -moz-image-region: rect(0, 44px, 14px, 33px);
 
393
}
 
394
 
 
395
.scrollbutton-rel-box > .scrollbutton-down > .toolbarbutton-icon {
 
396
  margin: 6px 0px 0px 1px;
 
397
}
 
398
 
 
399
/**
 
400
 * All Tabs Button
 
401
 */
 
402
 
 
403
.tabs-alltabs-box {
 
404
  margin-top: 2px;
 
405
  margin-bottom: 4px;
 
406
  width: 18px !important;
 
407
  height: 23px !important;
 
408
  background-image: url("chrome://global/skin/icons/alltabs-box-end-bkgnd.png");
 
409
  background-repeat: no-repeat;
 
410
  background-color: -moz-dialog; 
 
411
  -moz-border-radius-topleft: 5px;
 
412
}
 
413
 
 
414
stack[chromedir="rtl"] > hbox > .tabs-alltabs-box {
 
415
  background-image: url("chrome://global/skin/icons/alltabs-box-start-bkgnd.png");
 
416
  -moz-border-radius-topleft: 0px;
 
417
  -moz-border-radius-topright: 5px;
 
418
}
 
419
 
 
420
.tabbrowser-tabs[overflow="true"] .tabs-alltabs-box {
 
421
  background-image: url("chrome://global/skin/icons/alltabs-box-overflow-end-bkgnd.png");
 
422
  -moz-border-radius-topleft: 0px;
 
423
  -moz-border-radius-topright: 0px;
 
424
}
 
425
 
 
426
.tabbrowser-tabs[overflow="true"] stack[chromedir="rtl"] > hbox > .tabs-alltabs-box {
 
427
  background-image: url("chrome://global/skin/icons/alltabs-box-overflow-start-bkgnd.png");
 
428
}
 
429
 
 
430
.tabs-alltabs-button {
 
431
  -moz-appearance: none !important;
 
432
  border: 0px !important;
 
433
  margin-top: 2px;
 
434
  margin-bottom: 4px;
 
435
  width: 18px !important;
 
436
  height: 23px !important;
 
437
  border: 0px !important;
 
438
  -moz-padding-start: 4px !important;
 
439
  -moz-padding-end: 4px !important;
 
440
  padding: 0px;
 
441
}
 
442
 
 
443
.tabs-alltabs-button > .toolbarbutton-text {
 
444
  display: none;
 
445
}
 
446
 
 
447
.tabs-alltabs-button > .toolbarbutton-icon {
 
448
  -moz-margin-end: 2px;
 
449
}
 
450
 
 
451
.tabs-alltabs-button > .toolbarbutton-menu-dropmarker {
 
452
  margin-top: 3px !important;
 
453
}
 
454
 
 
455
.tabs-alltabs-button:hover {
 
456
  background-image: url("chrome://global/skin/icons/alltabs-box-end-bkgnd-hover.png");
 
457
  background-repeat: no-repeat;
 
458
}
 
459
 
 
460
stack[chromedir="rtl"] > hbox > .tabs-alltabs-button:hover {
 
461
  background-image: url("chrome://global/skin/icons/alltabs-box-start-bkgnd-hover.png");
 
462
}
 
463
 
 
464
.tabbrowser-tabs[overflow="true"] .tabs-alltabs-button:hover {
 
465
  background-image: url("chrome://global/skin/icons/alltabs-box-overflow-end-bkgnd-hover.png");
 
466
}
 
467
 
 
468
.tabbrowser-tabs[overflow="true"] stack[chromedir="rtl"] > hbox > .tabs-alltabs-button:hover {
 
469
  background-image: url("chrome://global/skin/icons/alltabs-box-overflow-start-bkgnd-hover.png");
 
470
}
 
471
 
 
472
.tabs-alltabs-box-animate {
 
473
  margin-top: 2px;
 
474
  margin-bottom: 4px;
 
475
  width: 18px !important;
 
476
  height: 23px !important;
 
477
  background-image: url("chrome://global/skin/icons/alltabs-box-overflow-end-bkgnd-animate.png");
 
478
  background-repeat: no-repeat;
 
479
  opacity: 0.0;
 
480
}
 
481
 
 
482
stack[chromedir="rtl"] > hbox > .tabs-alltabs-box-animate {
 
483
  background-image: url("chrome://global/skin/icons/alltabs-box-overflow-start-bkgnd-animate.png");
 
484
}
 
485
 
 
486
/**
 
487
 * All Tabs Menupopup 
 
488
 */
 
489
 
 
490
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
 
491
  width: 16px;
 
492
  height: 16px;
 
493
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
 
494
  -moz-image-region: rect(0px, 16px, 16px, 0px);
 
495
}
 
496
 
 
497
.alltabs-item[selected="true"] {
 
498
  font-weight: bold;
 
499
}
 
500
 
 
501
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
 
502
  list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");
 
503
  opacity: 0.6;
 
504
}