]> git.cameronkatri.com Git - cgit.git/blob - cgit.css
ui-log: Implement support for commit graphs
[cgit.git] / cgit.css
1 body, table, form {
2 padding: 0em;
3 margin: 0em;
4 }
5
6 body {
7 font-family: sans-serif;
8 font-size: 10pt;
9 color: #333;
10 background: white;
11 padding: 4px;
12 }
13
14 a {
15 color: blue;
16 text-decoration: none;
17 }
18
19 a:hover {
20 text-decoration: underline;
21 }
22
23 table {
24 border-collapse: collapse;
25 }
26
27 table#header {
28 width: 100%;
29 margin-bottom: 1em;
30 }
31
32 table#header td.logo {
33 width: 96px;
34 }
35
36 table#header td.main {
37 font-size: 250%;
38 padding-left: 10px;
39 white-space: nowrap;
40 }
41
42 table#header td.main a {
43 color: #000;
44 }
45
46 table#header td.form {
47 text-align: right;
48 vertical-align: bottom;
49 padding-right: 1em;
50 padding-bottom: 2px;
51 white-space: nowrap;
52 }
53
54 table#header td.form form,
55 table#header td.form input,
56 table#header td.form select {
57 font-size: 90%;
58 }
59
60 table#header td.sub {
61 color: #777;
62 border-top: solid 1px #ccc;
63 padding-left: 10px;
64 }
65
66 table.tabs {
67 border-bottom: solid 3px #ccc;
68 border-collapse: collapse;
69 margin-top: 2em;
70 margin-bottom: 0px;
71 width: 100%;
72 }
73
74 table.tabs td {
75 padding: 0px 1em;
76 vertical-align: bottom;
77 }
78
79 table.tabs td a {
80 padding: 2px 0.75em;
81 color: #777;
82 font-size: 110%;
83 }
84
85 table.tabs td a.active {
86 color: #000;
87 background-color: #ccc;
88 }
89
90 table.tabs td.form {
91 text-align: right;
92 }
93
94 table.tabs td.form form {
95 padding-bottom: 2px;
96 font-size: 90%;
97 white-space: nowrap;
98 }
99
100 table.tabs td.form input,
101 table.tabs td.form select {
102 font-size: 90%;
103 }
104
105 div.path {
106 margin: 0px;
107 padding: 5px 2em 2px 2em;
108 color: #000;
109 background-color: #eee;
110 }
111
112 div.content {
113 margin: 0px;
114 padding: 2em;
115 border-bottom: solid 3px #ccc;
116 }
117
118
119 table.list {
120 width: 100%;
121 border: none;
122 border-collapse: collapse;
123 }
124
125 table.list tr {
126 background: white;
127 }
128
129 table.list tr.logheader {
130 background: #eee;
131 }
132
133 table.list tr:hover {
134 background: #eee;
135 }
136
137 table.list tr.nohover:hover {
138 background: white;
139 }
140
141 table.list th {
142 font-weight: bold;
143 /* color: #888;
144 border-top: dashed 1px #888;
145 border-bottom: dashed 1px #888;
146 */
147 padding: 0.1em 0.5em 0.05em 0.5em;
148 vertical-align: baseline;
149 }
150
151 table.list td {
152 border: none;
153 padding: 0.1em 0.5em 0.1em 0.5em;
154 }
155
156 table.list td.commitgraph {
157 font-family: monospace;
158 white-space: pre;
159 }
160
161 table.list td.logsubject {
162 font-family: monospace;
163 font-weight: bold;
164 }
165
166 table.list td.logmsg {
167 font-family: monospace;
168 white-space: pre;
169 padding: 0 0.5em;
170 }
171
172 table.list td a {
173 color: black;
174 }
175
176 table.list td a.ls-dir {
177 font-weight: bold;
178 color: #00f;
179 }
180
181 table.list td a:hover {
182 color: #00f;
183 }
184
185 img {
186 border: none;
187 }
188
189 input#switch-btn {
190 margin: 2px 0px 0px 0px;
191 }
192
193 td#sidebar input.txt {
194 width: 100%;
195 margin: 2px 0px 0px 0px;
196 }
197
198 table#grid {
199 margin: 0px;
200 }
201
202 td#content {
203 vertical-align: top;
204 padding: 1em 2em 1em 1em;
205 border: none;
206 }
207
208 div#summary {
209 vertical-align: top;
210 margin-bottom: 1em;
211 }
212
213 table#downloads {
214 float: right;
215 border-collapse: collapse;
216 border: solid 1px #777;
217 margin-left: 0.5em;
218 margin-bottom: 0.5em;
219 }
220
221 table#downloads th {
222 background-color: #ccc;
223 }
224
225 div#blob {
226 border: solid 1px black;
227 }
228
229 div.error {
230 color: red;
231 font-weight: bold;
232 margin: 1em 2em;
233 }
234
235 a.ls-blob, a.ls-dir, a.ls-mod {
236 font-family: monospace;
237 }
238
239 td.ls-size {
240 text-align: right;
241 font-family: monospace;
242 width: 10em;
243 }
244
245 td.ls-mode {
246 font-family: monospace;
247 width: 10em;
248 }
249
250 table.blob {
251 margin-top: 0.5em;
252 border-top: solid 1px black;
253 }
254
255 table.blob td.lines {
256 margin: 0; padding: 0 0 0 0.5em;
257 vertical-align: top;
258 color: black;
259 }
260
261 table.blob td.linenumbers {
262 margin: 0; padding: 0 0.5em 0 0.5em;
263 vertical-align: top;
264 text-align: right;
265 border-right: 1px solid gray;
266 }
267
268 table.blob pre {
269 padding: 0; margin: 0;
270 }
271
272 table.blob a.no {
273 color: gray;
274 text-align: right;
275 text-decoration: none;
276 }
277
278 table.blob a.no a:hover {
279 color: black;
280 }
281
282 table.bin-blob {
283 margin-top: 0.5em;
284 border: solid 1px black;
285 }
286
287 table.bin-blob th {
288 font-family: monospace;
289 white-space: pre;
290 border: solid 1px #777;
291 padding: 0.5em 1em;
292 }
293
294 table.bin-blob td {
295 font-family: monospace;
296 white-space: pre;
297 border-left: solid 1px #777;
298 padding: 0em 1em;
299 }
300
301 table.nowrap td {
302 white-space: nowrap;
303 }
304
305 table.commit-info {
306 border-collapse: collapse;
307 margin-top: 1.5em;
308 }
309
310 table.commit-info th {
311 text-align: left;
312 font-weight: normal;
313 padding: 0.1em 1em 0.1em 0.1em;
314 vertical-align: top;
315 }
316
317 table.commit-info td {
318 font-weight: normal;
319 padding: 0.1em 1em 0.1em 0.1em;
320 }
321
322 div.commit-subject {
323 font-weight: bold;
324 font-size: 125%;
325 margin: 1.5em 0em 0.5em 0em;
326 padding: 0em;
327 }
328
329 div.commit-msg {
330 white-space: pre;
331 font-family: monospace;
332 }
333
334 div.notes-header {
335 font-weight: bold;
336 padding-top: 1.5em;
337 }
338
339 div.notes {
340 white-space: pre;
341 font-family: monospace;
342 border: solid 1px #ee9;
343 background-color: #ffd;
344 padding: 0.3em 2em 0.3em 1em;
345 float: left;
346 }
347
348 div.notes-footer {
349 clear: left;
350 }
351
352 div.diffstat-header {
353 font-weight: bold;
354 padding-top: 1.5em;
355 }
356
357 table.diffstat {
358 border-collapse: collapse;
359 border: solid 1px #aaa;
360 background-color: #eee;
361 }
362
363 table.diffstat th {
364 font-weight: normal;
365 text-align: left;
366 text-decoration: underline;
367 padding: 0.1em 1em 0.1em 0.1em;
368 font-size: 100%;
369 }
370
371 table.diffstat td {
372 padding: 0.2em 0.2em 0.1em 0.1em;
373 font-size: 100%;
374 border: none;
375 }
376
377 table.diffstat td.mode {
378 white-space: nowrap;
379 }
380
381 table.diffstat td span.modechange {
382 padding-left: 1em;
383 color: red;
384 }
385
386 table.diffstat td.add a {
387 color: green;
388 }
389
390 table.diffstat td.del a {
391 color: red;
392 }
393
394 table.diffstat td.upd a {
395 color: blue;
396 }
397
398 table.diffstat td.graph {
399 width: 500px;
400 vertical-align: middle;
401 }
402
403 table.diffstat td.graph table {
404 border: none;
405 }
406
407 table.diffstat td.graph td {
408 padding: 0px;
409 border: 0px;
410 height: 7pt;
411 }
412
413 table.diffstat td.graph td.add {
414 background-color: #5c5;
415 }
416
417 table.diffstat td.graph td.rem {
418 background-color: #c55;
419 }
420
421 div.diffstat-summary {
422 color: #888;
423 padding-top: 0.5em;
424 }
425
426 table.diff {
427 width: 100%;
428 }
429
430 table.diff td {
431 font-family: monospace;
432 white-space: pre;
433 }
434
435 table.diff td div.head {
436 font-weight: bold;
437 margin-top: 1em;
438 color: black;
439 }
440
441 table.diff td div.hunk {
442 color: #009;
443 }
444
445 table.diff td div.add {
446 color: green;
447 }
448
449 table.diff td div.del {
450 color: red;
451 }
452
453 .sha1 {
454 font-family: monospace;
455 font-size: 90%;
456 }
457
458 .left {
459 text-align: left;
460 }
461
462 .right {
463 text-align: right;
464 }
465
466 table.list td.reposection {
467 font-style: italic;
468 color: #888;
469 }
470
471 a.button {
472 font-size: 80%;
473 padding: 0em 0.5em;
474 }
475
476 a.primary {
477 font-size: 100%;
478 }
479
480 a.secondary {
481 font-size: 90%;
482 }
483
484 td.toplevel-repo {
485
486 }
487
488 table.list td.sublevel-repo {
489 padding-left: 1.5em;
490 }
491
492 div.pager {
493 text-align: center;
494 margin: 1em 0em 0em 0em;
495 }
496
497 div.pager a {
498 color: #777;
499 margin: 0em 0.5em;
500 }
501
502 span.age-mins {
503 font-weight: bold;
504 color: #080;
505 }
506
507 span.age-hours {
508 color: #080;
509 }
510
511 span.age-days {
512 color: #040;
513 }
514
515 span.age-weeks {
516 color: #444;
517 }
518
519 span.age-months {
520 color: #888;
521 }
522
523 span.age-years {
524 color: #bbb;
525 }
526 div.footer {
527 margin-top: 0.5em;
528 text-align: center;
529 font-size: 80%;
530 color: #ccc;
531 }
532 a.branch-deco {
533 margin: 0px 0.5em;
534 padding: 0px 0.25em;
535 background-color: #88ff88;
536 border: solid 1px #007700;
537 }
538 a.tag-deco {
539 margin: 0px 0.5em;
540 padding: 0px 0.25em;
541 background-color: #ffff88;
542 border: solid 1px #777700;
543 }
544 a.remote-deco {
545 margin: 0px 0.5em;
546 padding: 0px 0.25em;
547 background-color: #ccccff;
548 border: solid 1px #000077;
549 }
550 a.deco {
551 margin: 0px 0.5em;
552 padding: 0px 0.25em;
553 background-color: #ff8888;
554 border: solid 1px #770000;
555 }
556
557 div.commit-subject a.branch-deco,
558 div.commit-subject a.tag-deco,
559 div.commit-subject a.remote-deco,
560 div.commit-subject a.deco {
561 margin-left: 1em;
562 font-size: 75%;
563 }
564
565 table.stats {
566 border: solid 1px black;
567 border-collapse: collapse;
568 }
569
570 table.stats th {
571 text-align: left;
572 padding: 1px 0.5em;
573 background-color: #eee;
574 border: solid 1px black;
575 }
576
577 table.stats td {
578 text-align: right;
579 padding: 1px 0.5em;
580 border: solid 1px black;
581 }
582
583 table.stats td.total {
584 font-weight: bold;
585 text-align: left;
586 }
587
588 table.stats td.sum {
589 color: #c00;
590 font-weight: bold;
591 /* background-color: #eee; */
592 }
593
594 table.stats td.left {
595 text-align: left;
596 }
597
598 table.vgraph {
599 border-collapse: separate;
600 border: solid 1px black;
601 height: 200px;
602 }
603
604 table.vgraph th {
605 background-color: #eee;
606 font-weight: bold;
607 border: solid 1px white;
608 padding: 1px 0.5em;
609 }
610
611 table.vgraph td {
612 vertical-align: bottom;
613 padding: 0px 10px;
614 }
615
616 table.vgraph div.bar {
617 background-color: #eee;
618 }
619
620 table.hgraph {
621 border: solid 1px black;
622 width: 800px;
623 }
624
625 table.hgraph th {
626 background-color: #eee;
627 font-weight: bold;
628 border: solid 1px black;
629 padding: 1px 0.5em;
630 }
631
632 table.hgraph td {
633 vertical-align: center;
634 padding: 2px 2px;
635 }
636
637 table.hgraph div.bar {
638 background-color: #eee;
639 height: 1em;
640 }
641
642 table.ssdiff {
643 width: 100%;
644 }
645
646 table.ssdiff td {
647 font-size: 75%;
648 font-family: monospace;
649 white-space: pre;
650 padding: 1px 4px 1px 4px;
651 border-left: solid 1px #aaa;
652 border-right: solid 1px #aaa;
653 }
654
655 table.ssdiff td.add {
656 color: black;
657 background: #cfc;
658 min-width: 50%;
659 }
660
661 table.ssdiff td.add_dark {
662 color: black;
663 background: #aca;
664 min-width: 50%;
665 }
666
667 table.ssdiff span.add {
668 background: #cfc;
669 font-weight: bold;
670 }
671
672 table.ssdiff td.del {
673 color: black;
674 background: #fcc;
675 min-width: 50%;
676 }
677
678 table.ssdiff td.del_dark {
679 color: black;
680 background: #caa;
681 min-width: 50%;
682 }
683
684 table.ssdiff span.del {
685 background: #fcc;
686 font-weight: bold;
687 }
688
689 table.ssdiff td.changed {
690 color: black;
691 background: #ffc;
692 min-width: 50%;
693 }
694
695 table.ssdiff td.changed_dark {
696 color: black;
697 background: #cca;
698 min-width: 50%;
699 }
700
701 table.ssdiff td.lineno {
702 color: black;
703 background: #eee;
704 text-align: right;
705 width: 3em;
706 min-width: 3em;
707 }
708
709 table.ssdiff td.hunk {
710 color: #black;
711 background: #ccf;
712 border-top: solid 1px #aaa;
713 border-bottom: solid 1px #aaa;
714 }
715
716 table.ssdiff td.head {
717 border-top: solid 1px #aaa;
718 border-bottom: solid 1px #aaa;
719 }
720
721 table.ssdiff td.head div.head {
722 font-weight: bold;
723 color: black;
724 }
725
726 table.ssdiff td.foot {
727 border-top: solid 1px #aaa;
728 border-left: none;
729 border-right: none;
730 border-bottom: none;
731 }
732
733 table.ssdiff td.space {
734 border: none;
735 }
736
737 table.ssdiff td.space div {
738 min-height: 3em;
739 }