~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/static/css/style.css

  • Committer: Michael Hudson
  • Date: 2008-06-16 10:03:24 UTC
  • mfrom: (159.1.7 remove_caches)
  • Revision ID: michael.hudson@canonical.com-20080616100324-dyzbdp3xk2i1g34a
merge martin's remove caches branch, which removes the sql revision cache and
the textindexing code.
we still have the files changed cache.
(some further changes by me)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/* from launchpad */
3
 
body {
4
 
    background-color: #fcfcfc;
5
 
    color: black;
6
 
    font-family: "Lucida Grande", "Trebuchet MS", sans-serif;
7
 
    font-size: 12pt;
8
 
    padding: 0px;
9
 
    text-align: left;
10
 
}
11
 
 
12
 
a {
13
 
    text-decoration: none;
14
 
    color: #000088;
15
 
}
16
 
a:hover {
17
 
    color: black;
18
 
}
19
 
 
20
 
img {
21
 
    border: none;
22
 
}
23
 
 
24
 
h1 {
25
 
    color: #708a96;
26
 
    font-weight: normal;
27
 
    font-size: 1.6em;
28
 
    margin-bottom: 1em;
29
 
}
30
 
h1 .filename {
31
 
    font-family: monospace;
32
 
}
33
 
 
34
 
.branch-name {
35
 
    color: #47626e;
36
 
}
37
 
 
38
 
.footer {
39
 
    margin-top: 1em;
40
 
    margin-bottom: 1em;
41
 
}
42
 
.footer .banner {
43
 
    margin-right: 5px;
44
 
}
45
 
.footer .banner img {
46
 
    border: 1px solid #8cacbb;
47
 
}
48
 
 
49
 
.collapse-triangle {
50
 
    padding-right: 0.5em;
51
 
}
52
 
 
53
 
.hide-all {
54
 
    font-size: smaller;
55
 
    padding: 0.25em 0.75em 0.25em 0.75em;
56
 
}
57
 
 
58
 
 
59
 
 
60
 
/* ----- navigation bar at the top ----- */
61
 
 
62
 
.navbar {
63
 
}
64
 
 
65
 
.bar table {
66
 
    width: 100%;
67
 
    border-collapse: collapse;
68
 
}
69
 
 
70
 
/* safari gives forms a big default margin, to vex me */
71
 
.bar form {
72
 
    margin: 0px;
73
 
}
74
 
 
75
 
.bar {
76
 
    background-color: #dee7ec;
77
 
    border: 1px solid #8cacbb;
78
 
    font-size: smaller;
79
 
    padding-top: 0px;
80
 
    padding-bottom: 0px;
81
 
}
82
 
 
83
 
/* revision navigation buttons (the ones at the top right) */
84
 
.navbuttons {
85
 
    padding: 2px;
86
 
    bottom: 0px;
87
 
    text-align: right;
88
 
    width: auto;
89
 
    border-left: 1px dotted #8cacbb;
90
 
    padding-left: 0.5em;
91
 
    padding-right: 0.5em;
92
 
}
93
 
 
94
 
.navbuttons a {
95
 
    font-weight: normal;
96
 
    margin-left: 2px;
97
 
    margin-right: 2px;
98
 
}
99
 
 
100
 
.navbuttons a:hover {
101
 
    padding: 0;
102
 
    color: blue;
103
 
}
104
 
 
105
 
/* navigation button in the pages (the ones at the top left, and bottom) */
106
 
.buttons {
107
 
}
108
 
 
109
 
.buttons a,.buttons .search {
110
 
    font-weight: normal;
111
 
    color: #000088;
112
 
    font-size: 12pt;
113
 
    padding-left: 10px;
114
 
    padding-right: 7px;
115
 
    border-right: 1px dotted #8cacbb;
116
 
}
117
 
 
118
 
.buttons a:hover,.rbuttons a:hover {
119
 
    font-weight: normal;
120
 
    color: blue;
121
 
}
122
 
 
123
 
.feed img {
124
 
    vertical-align: text-top;
125
 
}
126
 
 
127
 
.rbuttons a {
128
 
    font-weight: normal;
129
 
    color: #000088;
130
 
    font-size: 12pt;
131
 
    padding-right: 7px;
132
 
    padding-left: 10px;
133
 
    border-left: 1px dotted #8cacbb;
134
 
    text-align: right;
135
 
    width: auto;
136
 
}
137
 
 
138
 
 
139
 
/* ----- revision display in various places ----- */
140
 
 
141
 
.revision .revno {
142
 
    font-weight: bold;
143
 
}
144
 
 
145
 
.revision .revid {
146
 
    font-family: monospace;
147
 
    font-size: smaller;
148
 
    padding-left: 1em;
149
 
}
150
 
 
151
 
.revision .log {
152
 
    font-size: smaller;
153
 
}
154
 
 
155
 
 
156
 
/* ---- sub-links underneath the headline on some pages ----- */
157
 
 
158
 
div.links {
159
 
    padding-top: 0.5em;
160
 
    padding-left: 3em;
161
 
    font-size: 50%;
162
 
}
163
 
 
164
 
div.links div {
165
 
    margin-bottom: 3px;
166
 
}
167
 
 
168
 
 
169
 
/* ----- list of merge points for a revision ----- */
170
 
 
171
 
.info-entry {
172
 
    font-size: smaller;
173
 
    margin-bottom: 2em;
174
 
    padding: 0px;
175
 
    background-color: #f4f5f8;
176
 
    border: 1px solid #8cacbb;
177
 
    width: 60%;
178
 
}
179
 
 
180
 
.info-entry th {
181
 
    background-color: #dee7ec;
182
 
    font-weight: normal;
183
 
    color: black;
184
 
    text-align: right;
185
 
    vertical-align: top;
186
 
 
187
 
    padding-left: 0.5em;
188
 
    padding-right: 0.5em;
189
 
    padding-top: 2px;
190
 
    padding-bottom: 2px;
191
 
}
192
 
 
193
 
.info-entry td {
194
 
    font-weight: normal;
195
 
    padding-left: 0.5em;
196
 
    padding-top: 2px;
197
 
    padding-bottom: 2px;
198
 
}
199
 
 
200
 
 
201
 
/* ----- changelog page ----- */
202
 
 
203
 
/* secret css-jutsu to make hidden margins vanish on a table */
204
 
.log-entries {
205
 
    border-collapse: collapse;
206
 
    width: 98%;
207
 
    margin-top: 0.5em;
208
 
    margin-left: 1em;
209
 
}
210
 
 
211
 
.log-entries .log-header {
212
 
    background-color: #8cacbb;
213
 
    padding-top: 3px;
214
 
    padding-bottom: 3px;
215
 
    text-align: left;
216
 
}
217
 
 
218
 
.log-entries .revision-header {
219
 
    font-size: 1.0em;
220
 
}
221
 
 
222
 
.log-entries .revision-header td {
223
 
    padding-top: 2px;
224
 
    padding-bottom: 2px;
225
 
}
226
 
 
227
 
.log-entries .revision-header td.expand-button {
228
 
    width: 20px;
229
 
}
230
 
 
231
 
.log-entries .revision-number {
232
 
    padding-left: 0.5em;
233
 
}
234
 
 
235
 
.log-entries .revision-header td.date {
236
 
    font-size: smaller;
237
 
}
238
 
 
239
 
.log-entries .revision-header td.author {
240
 
    font-size: smaller;
241
 
    padding-right: 0.5em;
242
 
}
243
 
 
244
 
.log-entries .revision-header .inventory-link {
245
 
    font-size: smaller;
246
 
    vertical-align: middle;
247
 
    text-align: left;
248
 
    padding-right: 0.5em;
249
 
}
250
 
 
251
 
.log-entries table.revision-details {
252
 
    font-size: smaller;
253
 
    margin-bottom: 1.0em;
254
 
}
255
 
 
256
 
.log-entries table.revision-details th {
257
 
    text-align: right;
258
 
    padding-right: 0.5em;
259
 
    vertical-align: top;
260
 
}
261
 
 
262
 
.log-entries table.revision-details td.files .filename {
263
 
    font-family: monospace;
264
 
}
265
 
 
266
 
.log-entries .revision-details td.files .jump {
267
 
    font-size: smaller;
268
 
}
269
 
 
270
 
.log-entries .revision-details td.description {
271
 
    font-family: monospace;
272
 
}
273
 
 
274
 
/* default state: hide all */
275
 
.revision-header .hide-button { display: none; }
276
 
.hidden-details { display: none; }
277
 
.changelog .collapse-cl-hideall { display: none; }
278
 
 
279
 
 
280
 
/* ----- revision page ----- */
281
 
 
282
 
.revision-info {
283
 
    border: none;
284
 
    font-size: smaller;
285
 
    margin-bottom: 1em;
286
 
    padding: 0;
287
 
    background-color: #f4f5f8;
288
 
    border: 1px solid #8cacbb;
289
 
    width: 80%;
290
 
}
291
 
 
292
 
/* secret css-jutsu to make hidden margins vanish on a table */
293
 
.revision-info table {
294
 
    border-collapse: collapse;
295
 
    width: 100%;
296
 
}
297
 
 
298
 
.revision-info th {
299
 
    background-color: #dee7ec;
300
 
    color: black;
301
 
    font-weight: normal;
302
 
    text-align: right;
303
 
    vertical-align: top;
304
 
    
305
 
    padding-left: 0.5em;
306
 
    padding-right: 0.5em;
307
 
    padding-top: 2px;
308
 
    padding-bottom: 2px;
309
 
}
310
 
 
311
 
.revision-info td {
312
 
    font-weight: normal;
313
 
    padding-left: 0.5em;
314
 
    padding-top: 2px;
315
 
    padding-bottom: 2px;
316
 
}
317
 
 
318
 
.revision-info table td.description {
319
 
    font-family: monospace;
320
 
}
321
 
 
322
 
.revision-info table td.files .filename {
323
 
    font-family: monospace;
324
 
}
325
 
 
326
 
.revision-info table td.files a.jump {
327
 
    font-size: smaller;
328
 
}
329
 
    
330
 
.revision-info table tr.divider {
331
 
    border-top: 1px solid #8cacbb;
332
 
}
333
 
 
334
 
 
335
 
/* ----- overly complex diff display ----- */
336
 
 
337
 
.diff {
338
 
    margin-bottom: 1em;
339
 
    padding-top: 10px;
340
 
    width: 100%;
341
 
    background-color: #fcfcfc;
342
 
    font-family: monospace;
343
 
}
344
 
 
345
 
 
346
 
.diff-block {
347
 
    border-collapse: collapse;
348
 
    width: 100%;
349
 
    margin-bottom: 1em;
350
 
}
351
 
 
352
 
.diff-block th.filename {
353
 
    font-family: monospace;
354
 
    font-weight: normal;
355
 
    font-size: smaller;
356
 
    padding-left: 1em;
357
 
    padding-top: 1em;
358
 
    padding-bottom: 1em;
359
 
    text-align: left;
360
 
    background-color: #dee7ec;
361
 
}
362
 
 
363
 
.diff-block .diff-chunk {
364
 
    font-size: 66%;
365
 
    margin-top: 0px;
366
 
    margin-bottom: 2em;
367
 
}
368
 
 
369
 
.diff-block th.lineno {
370
 
    font-weight: bold;
371
 
    border-bottom: 1px solid #8cacbb;
372
 
    border-top: 1px solid #dee7ec;
373
 
}
374
 
 
375
 
.diff-block .diff-spacing {
376
 
    line-height: 1em;
377
 
}
378
 
 
379
 
.diff-option-buttons {
380
 
    margin-top: 1.0em;
381
 
    margin-bottom: 1.0em;
382
 
    border-collapse: collapse;
383
 
}
384
 
.diff-option-buttons td {
385
 
    line-height: 1em;
386
 
    height: 1em;
387
 
    vertical-align: middle;
388
 
    padding: 0px;
389
 
}
390
 
.diff-option-buttons .label {
391
 
    font-size: smaller;
392
 
    padding-left: 0.75em;
393
 
    padding-right: 2em;
394
 
    line-height: 1em;
395
 
}
396
 
.diff-option-buttons .spacey {
397
 
    padding-right: 5em;
398
 
}
399
 
 
400
 
.diff-option-buttons .collapse-file-showall { display: none; }
401
 
 
402
 
.diff-block .show-button { display: none; }
403
 
.collapse-style-unified-content { display: none; }
404
 
.collapse-style-sbs-show { display: none; }
405
 
 
406
 
.diff-insert {
407
 
    background-color: #9cc8ff;
408
 
}
409
 
.diff-delete {
410
 
    background-color: #ffa0a0;
411
 
}
412
 
.diff-chunk td.text {
413
 
    padding-left: 1em;
414
 
}
415
 
 
416
 
.diff-key {
417
 
    display: inline;
418
 
    font-size: smaller;
419
 
}
420
 
 
421
 
.diff-key-block {
422
 
    width: 1em;
423
 
    height: 1em;
424
 
    border: 1px solid #8cacbb;
425
 
}
426
 
 
427
 
.diff-key .label {
428
 
    padding-right: 2em;
429
 
}
430
 
 
431
 
.diff .lineno {
432
 
    color: purple;
433
 
    background-color: #dee7ec; 
434
 
    width: 4em;
435
 
    text-align: right;
436
 
    padding-right: 3px;
437
 
    border-bottom: 1px solid #8cacbb;
438
 
}
439
 
.diff .lineno-skip {
440
 
    width: 4em;
441
 
    background-color: #dee7ec;
442
 
}
443
 
.diff .info {
444
 
    color: blue;
445
 
    background-color: #dee7ec;
446
 
    margin-top: 15px;
447
 
}
448
 
/*
449
 
.diff-context-skip {
450
 
    background-color: #dee7ec;
451
 
}*/
452
 
 
453
 
pre.diff-plain {
454
 
    border: 1px solid #8cacbb;
455
 
    background-color: #f4f5f8;
456
 
    padding: 1em;
457
 
    font-size: smaller;
458
 
}
459
 
 
460
 
/* ----- file inventory ----- */
461
 
 
462
 
.inventory-path {
463
 
    margin-top: 2em;
464
 
}
465
 
 
466
 
table.inventory {
467
 
    border-collapse: collapse;
468
 
    width: 100%;
469
 
    font-size: smaller;
470
 
    margin-top: 1em;
471
 
    border: 1px solid #8cacbb;
472
 
}
473
 
 
474
 
table.inventory td {
475
 
    padding-top: 3px;
476
 
    padding-bottom: 3px;
477
 
    vertical-align: middle;
478
 
}
479
 
 
480
 
table.inventory th {
481
 
    background-color: #8cacbb;
482
 
    padding-top: 3px;
483
 
    padding-bottom: 3px;
484
 
    text-align: left;
485
 
}
486
 
 
487
 
table.inventory th.permissions {
488
 
    padding-left: 0.5em;
489
 
}
490
 
 
491
 
.parity0 { background-color: #dee7ec; }
492
 
.parity1 { background-color: #eff8fd; }
493
 
 
494
 
.inventory td.permissions {
495
 
    font-family: monospace;
496
 
    padding-left: 0.5em;
497
 
    width: 9em;
498
 
}
499
 
 
500
 
.inventory td.filename {
501
 
    font-family: monospace;
502
 
}
503
 
 
504
 
.inventory td.size {
505
 
    font-family: monospace;
506
 
    font-size: smaller;
507
 
    width: 5em;
508
 
    line-height: 1em;
509
 
    vertical-align: bottom;
510
 
}
511
 
 
512
 
.inventory td.revision {
513
 
    padding-right: 1em;
514
 
    text-align: left;
515
 
    width: 8em;
516
 
}
517
 
 
518
 
.inventory td.date {
519
 
    padding-right: 1em;
520
 
    width: 11em;
521
 
}
522
 
 
523
 
.inventory td.changes-link {
524
 
    font-size: smaller;
525
 
    width: 6em;
526
 
}
527
 
 
528
 
.inventory td.download-link {
529
 
    font-size: smaller;
530
 
    width: 8em;
531
 
}
532
 
 
533
 
span.folder {
534
 
    font-family: monospace;
535
 
}
536
 
 
537
 
 
538
 
/* ----- file annotation ----- */
539
 
 
540
 
.annotate-path {
541
 
    font-family: monospace;
542
 
}
543
 
 
544
 
.annotate table {
545
 
    border-collapse: collapse;
546
 
    width: 100%;
547
 
    font-size: 66%;
548
 
}
549
 
 
550
 
.annotate td {
551
 
    padding-top: 2px;
552
 
    padding-bottom: 2px;
553
 
    vertical-align: bottom;
554
 
}
555
 
 
556
 
.annotate td.lineno {
557
 
    font-family: monospace;
558
 
    text-align: right;
559
 
    width: 4em;
560
 
    padding-right: 5px;
561
 
    font-weight: bold;
562
 
    border-bottom: 1px solid #8cacbb;
563
 
}
564
 
 
565
 
.annotate td.revno {
566
 
    font-family: monospace;
567
 
    text-align: right;
568
 
    width: 8em;
569
 
    padding-right: 5px;
570
 
    border-right: 1px solid #8cacbb;
571
 
}
572
 
 
573
 
.annotate td.text {
574
 
    font-family: monospace;
575
 
    padding-left: 1em;
576
 
}
577
 
 
578
 
.annotate th {
579
 
    background-color: #8cacbb;
580
 
    padding-top: 3px;
581
 
    padding-bottom: 3px;
582
 
    text-align: left;
583
 
}
584
 
 
585
 
.annotate th.lineno {
586
 
    text-align: right;
587
 
}
588
 
 
589
 
.annotate th.revision {
590
 
    text-align: right;
591
 
    padding-right: 5px;
592
 
}
593
 
 
594
 
.annotate th.text {
595
 
    padding-left: 1em;
596
 
}
597
 
 
598
 
 
599
 
/* ----- top-level browse page ----- */
600
 
 
601
 
.browse-project-name {
602
 
    background-color: #dee7ec;
603
 
    padding-top: 5px;
604
 
    padding-bottom: 5px;
605
 
    margin-left: 1em;
606
 
    margin-right: 1em;
607
 
    padding-left: 1em;
608
 
    width: 90%;
609
 
    font-weight: bold;
610
 
}
611
 
 
612
 
.browse-project-description {
613
 
        padding-top: 1em;
614
 
        padding-bottom: 1em;
615
 
        margin-left: 2em;
616
 
    width: 90%;
617
 
}
618
 
        
619
 
.browse-view {
620
 
        margin-top: 1em;
621
 
        margin-bottom: 1em;
622
 
        margin-left: 2em;
623
 
}
624
 
 
625
 
.browse-view table {
626
 
    border-collapse: collapse;
627
 
    width: 90%;
628
 
    margin-bottom: 2em;
629
 
}
630
 
 
631
 
.browse-view table tr.heading {
632
 
    background-color: #8cacbb;
633
 
    border-bottom: solid 1px #8cacbb;
634
 
    font-size: smaller;
635
 
}
636
 
 
637
 
.browse-view td,.browse-view th {
638
 
    padding: 0.25em 0.5em 0.25em 0.5em;
639
 
}
640
 
 
641
 
.browse-view td.name {
642
 
    width: 20%;
643
 
}
644
 
 
645
 
.browse-view td.last-update {
646
 
    font-size: smaller;
647
 
    width: 20em;
648
 
}
649
 
 
650
 
.browse-view td.url {
651
 
    font-family: monospace;
652
 
    font-size: smaller;
653
 
    padding-left: 3em;
654
 
    padding-top: 0px;
655
 
}
656
 
 
657
 
.browse-view td.feed {
658
 
        width: 16px;
659
 
}