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