ui-blob: Do not accept mimetype from user
[cgit.git] / cgit.css
blob82c755cfeabe6d3bad303d4e0e1d540ad19956f1
1 div#cgit {
2 padding: 0em;
3 margin: 0em;
4 font-family: sans-serif;
5 font-size: 10pt;
6 color: #333;
7 background: white;
8 padding: 4px;
11 div#cgit a {
12 color: blue;
13 text-decoration: none;
16 div#cgit a:hover {
17 text-decoration: underline;
20 div#cgit table {
21 border-collapse: collapse;
24 div#cgit table#header {
25 width: 100%;
26 margin-bottom: 1em;
29 div#cgit table#header td.logo {
30 width: 96px;
31 vertical-align: top;
34 div#cgit table#header td.main {
35 font-size: 250%;
36 padding-left: 10px;
37 white-space: nowrap;
40 div#cgit table#header td.main a {
41 color: #000;
44 div#cgit table#header td.form {
45 text-align: right;
46 vertical-align: bottom;
47 padding-right: 1em;
48 padding-bottom: 2px;
49 white-space: nowrap;
52 div#cgit table#header td.form form,
53 div#cgit table#header td.form input,
54 div#cgit table#header td.form select {
55 font-size: 90%;
58 div#cgit table#header td.sub {
59 color: #777;
60 border-top: solid 1px #ccc;
61 padding-left: 10px;
64 div#cgit table.tabs {
65 border-bottom: solid 3px #ccc;
66 border-collapse: collapse;
67 margin-top: 2em;
68 margin-bottom: 0px;
69 width: 100%;
72 div#cgit table.tabs td {
73 padding: 0px 1em;
74 vertical-align: bottom;
77 div#cgit table.tabs td a {
78 padding: 2px 0.75em;
79 color: #777;
80 font-size: 110%;
83 div#cgit table.tabs td a.active {
84 color: #000;
85 background-color: #ccc;
88 div#cgit table.tabs td.form {
89 text-align: right;
92 div#cgit table.tabs td.form form {
93 padding-bottom: 2px;
94 font-size: 90%;
95 white-space: nowrap;
98 div#cgit table.tabs td.form input,
99 div#cgit table.tabs td.form select {
100 font-size: 90%;
103 div#cgit div.path {
104 margin: 0px;
105 padding: 5px 2em 2px 2em;
106 color: #000;
107 background-color: #eee;
110 div#cgit div.content {
111 margin: 0px;
112 padding: 2em;
113 border-bottom: solid 3px #ccc;
117 div#cgit table.list {
118 width: 100%;
119 border: none;
120 border-collapse: collapse;
123 div#cgit table.list tr {
124 background: white;
127 div#cgit table.list tr.logheader {
128 background: #eee;
131 div#cgit table.list tr:hover {
132 background: #eee;
135 div#cgit table.list tr.nohover:hover {
136 background: white;
139 div#cgit table.list th {
140 font-weight: bold;
141 /* color: #888;
142 border-top: dashed 1px #888;
143 border-bottom: dashed 1px #888;
145 padding: 0.1em 0.5em 0.05em 0.5em;
146 vertical-align: baseline;
149 div#cgit table.list td {
150 border: none;
151 padding: 0.1em 0.5em 0.1em 0.5em;
154 div#cgit table.list td.commitgraph {
155 font-family: monospace;
156 white-space: pre;
159 div#cgit table.list td.commitgraph .column1 {
160 color: #a00;
163 div#cgit table.list td.commitgraph .column2 {
164 color: #0a0;
167 div#cgit table.list td.commitgraph .column3 {
168 color: #aa0;
171 div#cgit table.list td.commitgraph .column4 {
172 color: #00a;
175 div#cgit table.list td.commitgraph .column5 {
176 color: #a0a;
179 div#cgit table.list td.commitgraph .column6 {
180 color: #0aa;
183 div#cgit table.list td.logsubject {
184 font-family: monospace;
185 font-weight: bold;
188 div#cgit table.list td.logmsg {
189 font-family: monospace;
190 white-space: pre;
191 padding: 0 0.5em;
194 div#cgit table.list td a {
195 color: black;
198 div#cgit table.list td a.ls-dir {
199 font-weight: bold;
200 color: #00f;
203 div#cgit table.list td a:hover {
204 color: #00f;
207 div#cgit img {
208 border: none;
211 div#cgit input#switch-btn {
212 margin: 2px 0px 0px 0px;
215 div#cgit td#sidebar input.txt {
216 width: 100%;
217 margin: 2px 0px 0px 0px;
220 div#cgit table#grid {
221 margin: 0px;
224 div#cgit td#content {
225 vertical-align: top;
226 padding: 1em 2em 1em 1em;
227 border: none;
230 div#cgit div#summary {
231 vertical-align: top;
232 margin-bottom: 1em;
235 div#cgit table#downloads {
236 float: right;
237 border-collapse: collapse;
238 border: solid 1px #777;
239 margin-left: 0.5em;
240 margin-bottom: 0.5em;
243 div#cgit table#downloads th {
244 background-color: #ccc;
247 div#cgit div#blob {
248 border: solid 1px black;
251 div#cgit div.error {
252 color: red;
253 font-weight: bold;
254 margin: 1em 2em;
257 div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
258 font-family: monospace;
261 div#cgit td.ls-size {
262 text-align: right;
263 font-family: monospace;
264 width: 10em;
267 div#cgit td.ls-mode {
268 font-family: monospace;
269 width: 10em;
272 div#cgit table.blob {
273 margin-top: 0.5em;
274 border-top: solid 1px black;
277 div#cgit table.blob td.lines {
278 margin: 0; padding: 0 0 0 0.5em;
279 vertical-align: top;
280 color: black;
283 div#cgit table.blob td.linenumbers {
284 margin: 0; padding: 0 0.5em 0 0.5em;
285 vertical-align: top;
286 text-align: right;
287 border-right: 1px solid gray;
290 div#cgit table.blob pre {
291 padding: 0; margin: 0;
294 div#cgit table.blob td.linenumbers a,
295 div#cgit table.ssdiff td.lineno a {
296 color: gray;
297 text-align: right;
298 text-decoration: none;
301 div#cgit table.blob td.linenumbers a:hover,
302 div#cgit table.ssdiff td.lineno a:hover {
303 color: black;
306 div#cgit table.bin-blob {
307 margin-top: 0.5em;
308 border: solid 1px black;
311 div#cgit table.bin-blob th {
312 font-family: monospace;
313 white-space: pre;
314 border: solid 1px #777;
315 padding: 0.5em 1em;
318 div#cgit table.bin-blob td {
319 font-family: monospace;
320 white-space: pre;
321 border-left: solid 1px #777;
322 padding: 0em 1em;
325 div#cgit table.nowrap td {
326 white-space: nowrap;
329 div#cgit table.commit-info {
330 border-collapse: collapse;
331 margin-top: 1.5em;
334 div#cgit div.cgit-panel {
335 float: right;
336 margin-top: 1.5em;
339 div#cgit div.cgit-panel table {
340 border-collapse: collapse;
341 border: solid 1px #aaa;
342 background-color: #eee;
345 div#cgit div.cgit-panel th {
346 text-align: center;
349 div#cgit div.cgit-panel td {
350 padding: 0.25em 0.5em;
353 div#cgit div.cgit-panel td.label {
354 padding-right: 0.5em;
357 div#cgit div.cgit-panel td.ctrl {
358 padding-left: 0.5em;
361 div#cgit table.commit-info th {
362 text-align: left;
363 font-weight: normal;
364 padding: 0.1em 1em 0.1em 0.1em;
365 vertical-align: top;
368 div#cgit table.commit-info td {
369 font-weight: normal;
370 padding: 0.1em 1em 0.1em 0.1em;
373 div#cgit div.commit-subject {
374 font-weight: bold;
375 font-size: 125%;
376 margin: 1.5em 0em 0.5em 0em;
377 padding: 0em;
380 div#cgit div.commit-msg {
381 white-space: pre;
382 font-family: monospace;
385 div#cgit div.notes-header {
386 font-weight: bold;
387 padding-top: 1.5em;
390 div#cgit div.notes {
391 white-space: pre;
392 font-family: monospace;
393 border: solid 1px #ee9;
394 background-color: #ffd;
395 padding: 0.3em 2em 0.3em 1em;
396 float: left;
399 div#cgit div.notes-footer {
400 clear: left;
403 div#cgit div.diffstat-header {
404 font-weight: bold;
405 padding-top: 1.5em;
408 div#cgit table.diffstat {
409 border-collapse: collapse;
410 border: solid 1px #aaa;
411 background-color: #eee;
414 div#cgit table.diffstat th {
415 font-weight: normal;
416 text-align: left;
417 text-decoration: underline;
418 padding: 0.1em 1em 0.1em 0.1em;
419 font-size: 100%;
422 div#cgit table.diffstat td {
423 padding: 0.2em 0.2em 0.1em 0.1em;
424 font-size: 100%;
425 border: none;
428 div#cgit table.diffstat td.mode {
429 white-space: nowrap;
432 div#cgit table.diffstat td span.modechange {
433 padding-left: 1em;
434 color: red;
437 div#cgit table.diffstat td.add a {
438 color: green;
441 div#cgit table.diffstat td.del a {
442 color: red;
445 div#cgit table.diffstat td.upd a {
446 color: blue;
449 div#cgit table.diffstat td.graph {
450 width: 500px;
451 vertical-align: middle;
454 div#cgit table.diffstat td.graph table {
455 border: none;
458 div#cgit table.diffstat td.graph td {
459 padding: 0px;
460 border: 0px;
461 height: 7pt;
464 div#cgit table.diffstat td.graph td.add {
465 background-color: #5c5;
468 div#cgit table.diffstat td.graph td.rem {
469 background-color: #c55;
472 div#cgit div.diffstat-summary {
473 color: #888;
474 padding-top: 0.5em;
477 div#cgit table.diff {
478 width: 100%;
481 div#cgit table.diff td {
482 font-family: monospace;
483 white-space: pre;
486 div#cgit table.diff td div.head {
487 font-weight: bold;
488 margin-top: 1em;
489 color: black;
492 div#cgit table.diff td div.hunk {
493 color: #009;
496 div#cgit table.diff td div.add {
497 color: green;
500 div#cgit table.diff td div.del {
501 color: red;
504 div#cgit .sha1 {
505 font-family: monospace;
506 font-size: 90%;
509 div#cgit .left {
510 text-align: left;
513 div#cgit .right {
514 text-align: right;
517 div#cgit table.list td.reposection {
518 font-style: italic;
519 color: #888;
522 div#cgit a.button {
523 font-size: 80%;
524 padding: 0em 0.5em;
527 div#cgit a.primary {
528 font-size: 100%;
531 div#cgit a.secondary {
532 font-size: 90%;
535 div#cgit td.toplevel-repo {
539 div#cgit table.list td.sublevel-repo {
540 padding-left: 1.5em;
543 div#cgit ul.pager {
544 list-style-type: none;
545 text-align: center;
546 margin: 1em 0em 0em 0em;
547 padding: 0;
550 div#cgit ul.pager li {
551 display: inline-block;
552 margin: 0.25em 0.5em;
555 div#cgit ul.pager a {
556 color: #777;
559 div#cgit ul.pager .current {
560 font-weight: bold;
563 div#cgit span.age-mins {
564 font-weight: bold;
565 color: #080;
568 div#cgit span.age-hours {
569 color: #080;
572 div#cgit span.age-days {
573 color: #040;
576 div#cgit span.age-weeks {
577 color: #444;
580 div#cgit span.age-months {
581 color: #888;
584 div#cgit span.age-years {
585 color: #bbb;
587 div#cgit div.footer {
588 margin-top: 0.5em;
589 text-align: center;
590 font-size: 80%;
591 color: #ccc;
593 div#cgit div.footer a {
594 color: #ccc;
595 text-decoration: none;
597 div#cgit div.footer a:hover {
598 text-decoration: underline;
600 div#cgit a.branch-deco {
601 color: #000;
602 margin: 0px 0.5em;
603 padding: 0px 0.25em;
604 background-color: #88ff88;
605 border: solid 1px #007700;
607 div#cgit a.tag-deco {
608 color: #000;
609 margin: 0px 0.5em;
610 padding: 0px 0.25em;
611 background-color: #ffff88;
612 border: solid 1px #777700;
614 div#cgit a.remote-deco {
615 color: #000;
616 margin: 0px 0.5em;
617 padding: 0px 0.25em;
618 background-color: #ccccff;
619 border: solid 1px #000077;
621 div#cgit a.deco {
622 color: #000;
623 margin: 0px 0.5em;
624 padding: 0px 0.25em;
625 background-color: #ff8888;
626 border: solid 1px #770000;
629 div#cgit div.commit-subject a.branch-deco,
630 div#cgit div.commit-subject a.tag-deco,
631 div#cgit div.commit-subject a.remote-deco,
632 div#cgit div.commit-subject a.deco {
633 margin-left: 1em;
634 font-size: 75%;
637 div#cgit table.stats {
638 border: solid 1px black;
639 border-collapse: collapse;
642 div#cgit table.stats th {
643 text-align: left;
644 padding: 1px 0.5em;
645 background-color: #eee;
646 border: solid 1px black;
649 div#cgit table.stats td {
650 text-align: right;
651 padding: 1px 0.5em;
652 border: solid 1px black;
655 div#cgit table.stats td.total {
656 font-weight: bold;
657 text-align: left;
660 div#cgit table.stats td.sum {
661 color: #c00;
662 font-weight: bold;
663 /* background-color: #eee; */
666 div#cgit table.stats td.left {
667 text-align: left;
670 div#cgit table.vgraph {
671 border-collapse: separate;
672 border: solid 1px black;
673 height: 200px;
676 div#cgit table.vgraph th {
677 background-color: #eee;
678 font-weight: bold;
679 border: solid 1px white;
680 padding: 1px 0.5em;
683 div#cgit table.vgraph td {
684 vertical-align: bottom;
685 padding: 0px 10px;
688 div#cgit table.vgraph div.bar {
689 background-color: #eee;
692 div#cgit table.hgraph {
693 border: solid 1px black;
694 width: 800px;
697 div#cgit table.hgraph th {
698 background-color: #eee;
699 font-weight: bold;
700 border: solid 1px black;
701 padding: 1px 0.5em;
704 div#cgit table.hgraph td {
705 vertical-align: middle;
706 padding: 2px 2px;
709 div#cgit table.hgraph div.bar {
710 background-color: #eee;
711 height: 1em;
714 div#cgit table.ssdiff {
715 width: 100%;
718 div#cgit table.ssdiff td {
719 font-size: 75%;
720 font-family: monospace;
721 white-space: pre;
722 padding: 1px 4px 1px 4px;
723 border-left: solid 1px #aaa;
724 border-right: solid 1px #aaa;
727 div#cgit table.ssdiff td.add {
728 color: black;
729 background: #cfc;
730 min-width: 50%;
733 div#cgit table.ssdiff td.add_dark {
734 color: black;
735 background: #aca;
736 min-width: 50%;
739 div#cgit table.ssdiff span.add {
740 background: #cfc;
741 font-weight: bold;
744 div#cgit table.ssdiff td.del {
745 color: black;
746 background: #fcc;
747 min-width: 50%;
750 div#cgit table.ssdiff td.del_dark {
751 color: black;
752 background: #caa;
753 min-width: 50%;
756 div#cgit table.ssdiff span.del {
757 background: #fcc;
758 font-weight: bold;
761 div#cgit table.ssdiff td.changed {
762 color: black;
763 background: #ffc;
764 min-width: 50%;
767 div#cgit table.ssdiff td.changed_dark {
768 color: black;
769 background: #cca;
770 min-width: 50%;
773 div#cgit table.ssdiff td.lineno {
774 color: black;
775 background: #eee;
776 text-align: right;
777 width: 3em;
778 min-width: 3em;
781 div#cgit table.ssdiff td.hunk {
782 color: black;
783 background: #ccf;
784 border-top: solid 1px #aaa;
785 border-bottom: solid 1px #aaa;
788 div#cgit table.ssdiff td.head {
789 border-top: solid 1px #aaa;
790 border-bottom: solid 1px #aaa;
793 div#cgit table.ssdiff td.head div.head {
794 font-weight: bold;
795 color: black;
798 div#cgit table.ssdiff td.foot {
799 border-top: solid 1px #aaa;
800 border-left: none;
801 border-right: none;
802 border-bottom: none;
805 div#cgit table.ssdiff td.space {
806 border: none;
809 div#cgit table.ssdiff td.space div {
810 min-height: 3em;