summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (show whitespace changes)
-rw-r--r--cgit.css104
1 files changed, 104 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index c47ebc9..0cb894a 100644
--- a/cgit.css
+++ b/cgit.css
@@ -69,192 +69,197 @@ table.tabs {
69 margin-top: 2em; 69 margin-top: 2em;
70 margin-bottom: 0px; 70 margin-bottom: 0px;
71 width: 100%; 71 width: 100%;
72} 72}
73 73
74table.tabs td { 74table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79table.tabs td a {
80 padding: 2px 0.75em; 80 padding: 2px 0.75em;
81 color: #777; 81 color: #777;
82 font-size: 110%; 82 font-size: 110%;
83} 83}
84 84
85table.tabs td a.active { 85table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94table.tabs td.form form {
95 padding-bottom: 2px; 95 padding-bottom: 2px;
96 font-size: 90%; 96 font-size: 90%;
97 white-space: nowrap; 97 white-space: nowrap;
98} 98}
99 99
100table.tabs td.form input, 100table.tabs td.form input,
101table.tabs td.form select { 101table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.content { 105div.content {
106 margin: 0px; 106 margin: 0px;
107 padding: 2em; 107 padding: 2em;
108 border-top: solid 3px #ccc; 108 border-top: solid 3px #ccc;
109 border-bottom: solid 3px #ccc; 109 border-bottom: solid 3px #ccc;
110} 110}
111 111
112 112
113table.list { 113table.list {
114 width: 100%; 114 width: 100%;
115 border: none; 115 border: none;
116 border-collapse: collapse; 116 border-collapse: collapse;
117} 117}
118 118
119table.list tr { 119table.list tr {
120 background: white; 120 background: white;
121} 121}
122 122
123table.list tr.logheader { 123table.list tr.logheader {
124 background: #eee; 124 background: #eee;
125} 125}
126 126
127table.list tr:hover { 127table.list tr:hover {
128 background: #eee; 128 background: #eee;
129} 129}
130 130
131table.list tr.nohover:hover { 131table.list tr.nohover:hover {
132 background: white; 132 background: white;
133} 133}
134 134
135table.list th { 135table.list th {
136 font-weight: bold; 136 font-weight: bold;
137 /* color: #888; 137 /* color: #888;
138 border-top: dashed 1px #888; 138 border-top: dashed 1px #888;
139 border-bottom: dashed 1px #888; 139 border-bottom: dashed 1px #888;
140 */ 140 */
141 padding: 0.1em 0.5em 0.05em 0.5em; 141 padding: 0.1em 0.5em 0.05em 0.5em;
142 vertical-align: baseline; 142 vertical-align: baseline;
143} 143}
144 144
145table.list td { 145table.list td {
146 border: none; 146 border: none;
147 padding: 0.1em 0.5em 0.1em 0.5em; 147 padding: 0.1em 0.5em 0.1em 0.5em;
148} 148}
149 149
150table.list td.logsubject { 150table.list td.logsubject {
151 font-family: monospace; 151 font-family: monospace;
152 font-weight: bold; 152 font-weight: bold;
153} 153}
154 154
155table.list td.logmsg { 155table.list td.logmsg {
156 font-family: monospace; 156 font-family: monospace;
157 white-space: pre; 157 white-space: pre;
158 padding: 1em 0.5em 2em 0.5em; 158 padding: 1em 0.5em 2em 0.5em;
159} 159}
160 160
161table.list td a { 161table.list td a {
162 color: black; 162 color: black;
163} 163}
164 164
165table.list td a.ls-dir {
166 font-weight: bold;
167 color: #00f;
168}
169
165table.list td a:hover { 170table.list td a:hover {
166 color: #00f; 171 color: #00f;
167} 172}
168 173
169img { 174img {
170 border: none; 175 border: none;
171} 176}
172 177
173input#switch-btn { 178input#switch-btn {
174 margin: 2px 0px 0px 0px; 179 margin: 2px 0px 0px 0px;
175} 180}
176 181
177td#sidebar input.txt { 182td#sidebar input.txt {
178 width: 100%; 183 width: 100%;
179 margin: 2px 0px 0px 0px; 184 margin: 2px 0px 0px 0px;
180} 185}
181 186
182table#grid { 187table#grid {
183 margin: 0px; 188 margin: 0px;
184} 189}
185 190
186td#content { 191td#content {
187 vertical-align: top; 192 vertical-align: top;
188 padding: 1em 2em 1em 1em; 193 padding: 1em 2em 1em 1em;
189 border: none; 194 border: none;
190} 195}
191 196
192div#summary { 197div#summary {
193 vertical-align: top; 198 vertical-align: top;
194 margin-bottom: 1em; 199 margin-bottom: 1em;
195} 200}
196 201
197table#downloads { 202table#downloads {
198 float: right; 203 float: right;
199 border-collapse: collapse; 204 border-collapse: collapse;
200 border: solid 1px #777; 205 border: solid 1px #777;
201 margin-left: 0.5em; 206 margin-left: 0.5em;
202 margin-bottom: 0.5em; 207 margin-bottom: 0.5em;
203} 208}
204 209
205table#downloads th { 210table#downloads th {
206 background-color: #ccc; 211 background-color: #ccc;
207} 212}
208 213
209div#blob { 214div#blob {
210 border: solid 1px black; 215 border: solid 1px black;
211} 216}
212 217
213div.error { 218div.error {
214 color: red; 219 color: red;
215 font-weight: bold; 220 font-weight: bold;
216 margin: 1em 2em; 221 margin: 1em 2em;
217} 222}
218 223
219a.ls-blob, a.ls-dir, a.ls-mod { 224a.ls-blob, a.ls-dir, a.ls-mod {
220 font-family: monospace; 225 font-family: monospace;
221} 226}
222 227
223td.ls-size { 228td.ls-size {
224 text-align: right; 229 text-align: right;
225 font-family: monospace; 230 font-family: monospace;
226 width: 10em; 231 width: 10em;
227} 232}
228 233
229td.ls-mode { 234td.ls-mode {
230 font-family: monospace; 235 font-family: monospace;
231 width: 10em; 236 width: 10em;
232} 237}
233 238
234table.blob { 239table.blob {
235 margin-top: 0.5em; 240 margin-top: 0.5em;
236 border-top: solid 1px black; 241 border-top: solid 1px black;
237} 242}
238 243
239table.blob td.lines { 244table.blob td.lines {
240 margin: 0; padding: 0 0 0 0.5em; 245 margin: 0; padding: 0 0 0 0.5em;
241 vertical-align: top; 246 vertical-align: top;
242 color: black; 247 color: black;
243} 248}
244 249
245table.blob td.linenumbers { 250table.blob td.linenumbers {
246 margin: 0; padding: 0 0.5em 0 0.5em; 251 margin: 0; padding: 0 0.5em 0 0.5em;
247 vertical-align: top; 252 vertical-align: top;
248 text-align: right; 253 text-align: right;
249 border-right: 1px solid gray; 254 border-right: 1px solid gray;
250} 255}
251 256
252table.blob pre { 257table.blob pre {
253 padding: 0; margin: 0; 258 padding: 0; margin: 0;
254} 259}
255 260
256table.blob a.no { 261table.blob a.no {
257 color: gray; 262 color: gray;
258 text-align: right; 263 text-align: right;
259 text-decoration: none; 264 text-decoration: none;
260} 265}
@@ -508,96 +513,195 @@ a.tag-deco {
508 border: solid 1px #777700; 513 border: solid 1px #777700;
509} 514}
510a.remote-deco { 515a.remote-deco {
511 margin: 0px 0.5em; 516 margin: 0px 0.5em;
512 padding: 0px 0.25em; 517 padding: 0px 0.25em;
513 background-color: #ccccff; 518 background-color: #ccccff;
514 border: solid 1px #000077; 519 border: solid 1px #000077;
515} 520}
516a.deco { 521a.deco {
517 margin: 0px 0.5em; 522 margin: 0px 0.5em;
518 padding: 0px 0.25em; 523 padding: 0px 0.25em;
519 background-color: #ff8888; 524 background-color: #ff8888;
520 border: solid 1px #770000; 525 border: solid 1px #770000;
521} 526}
522 527
523div.commit-subject a { 528div.commit-subject a {
524 margin-left: 1em; 529 margin-left: 1em;
525 font-size: 75%; 530 font-size: 75%;
526} 531}
527 532
528table.stats { 533table.stats {
529 border: solid 1px black; 534 border: solid 1px black;
530 border-collapse: collapse; 535 border-collapse: collapse;
531} 536}
532 537
533table.stats th { 538table.stats th {
534 text-align: left; 539 text-align: left;
535 padding: 1px 0.5em; 540 padding: 1px 0.5em;
536 background-color: #eee; 541 background-color: #eee;
537 border: solid 1px black; 542 border: solid 1px black;
538} 543}
539 544
540table.stats td { 545table.stats td {
541 text-align: right; 546 text-align: right;
542 padding: 1px 0.5em; 547 padding: 1px 0.5em;
543 border: solid 1px black; 548 border: solid 1px black;
544} 549}
545 550
546table.stats td.total { 551table.stats td.total {
547 font-weight: bold; 552 font-weight: bold;
548 text-align: left; 553 text-align: left;
549} 554}
550 555
551table.stats td.sum { 556table.stats td.sum {
552 color: #c00; 557 color: #c00;
553 font-weight: bold; 558 font-weight: bold;
554 /*background-color: #eee; */ 559 /*background-color: #eee; */
555} 560}
556 561
557table.stats td.left { 562table.stats td.left {
558 text-align: left; 563 text-align: left;
559} 564}
560 565
561table.vgraph { 566table.vgraph {
562 border-collapse: separate; 567 border-collapse: separate;
563 border: solid 1px black; 568 border: solid 1px black;
564 height: 200px; 569 height: 200px;
565} 570}
566 571
567table.vgraph th { 572table.vgraph th {
568 background-color: #eee; 573 background-color: #eee;
569 font-weight: bold; 574 font-weight: bold;
570 border: solid 1px white; 575 border: solid 1px white;
571 padding: 1px 0.5em; 576 padding: 1px 0.5em;
572} 577}
573 578
574table.vgraph td { 579table.vgraph td {
575 vertical-align: bottom; 580 vertical-align: bottom;
576 padding: 0px 10px; 581 padding: 0px 10px;
577} 582}
578 583
579table.vgraph div.bar { 584table.vgraph div.bar {
580 background-color: #eee; 585 background-color: #eee;
581} 586}
582 587
583table.hgraph { 588table.hgraph {
584 border: solid 1px black; 589 border: solid 1px black;
585 width: 800px; 590 width: 800px;
586} 591}
587 592
588table.hgraph th { 593table.hgraph th {
589 background-color: #eee; 594 background-color: #eee;
590 font-weight: bold; 595 font-weight: bold;
591 border: solid 1px black; 596 border: solid 1px black;
592 padding: 1px 0.5em; 597 padding: 1px 0.5em;
593} 598}
594 599
595table.hgraph td { 600table.hgraph td {
596 vertical-align: center; 601 vertical-align: center;
597 padding: 2px 2px; 602 padding: 2px 2px;
598} 603}
599 604
600table.hgraph div.bar { 605table.hgraph div.bar {
601 background-color: #eee; 606 background-color: #eee;
602 height: 1em; 607 height: 1em;
603} 608}
609
610table.ssdiff {
611 width: 100%;
612}
613
614table.ssdiff td {
615 font-size: 75%;
616 font-family: monospace;
617 white-space: pre;
618 padding: 1px 4px 1px 4px;
619 border-left: solid 1px #aaa;
620 border-right: solid 1px #aaa;
621}
622
623table.ssdiff td.add {
624 color: black;
625 background: #cfc;
626 min-width: 50%;
627}
628
629table.ssdiff td.add_dark {
630 color: black;
631 background: #aca;
632 min-width: 50%;
633}
634
635table.ssdiff span.add {
636 background: #cfc;
637 font-weight: bold;
638}
639
640table.ssdiff td.del {
641 color: black;
642 background: #fcc;
643 min-width: 50%;
644}
645
646table.ssdiff td.del_dark {
647 color: black;
648 background: #caa;
649 min-width: 50%;
650}
651
652table.ssdiff span.del {
653 background: #fcc;
654 font-weight: bold;
655}
656
657table.ssdiff td.changed {
658 color: black;
659 background: #ffc;
660 min-width: 50%;
661}
662
663table.ssdiff td.changed_dark {
664 color: black;
665 background: #cca;
666 min-width: 50%;
667}
668
669table.ssdiff td.lineno {
670 color: black;
671 background: #eee;
672 text-align: right;
673 width: 3em;
674 min-width: 3em;
675}
676
677table.ssdiff td.hunk {
678 color: #black;
679 background: #ccf;
680 border-top: solid 1px #aaa;
681 border-bottom: solid 1px #aaa;
682}
683
684table.ssdiff td.head {
685 border-top: solid 1px #aaa;
686 border-bottom: solid 1px #aaa;
687}
688
689table.ssdiff td.head div.head {
690 font-weight: bold;
691 color: black;
692}
693
694table.ssdiff td.foot {
695 border-top: solid 1px #aaa;
696 border-left: none;
697 border-right: none;
698 border-bottom: none;
699}
700
701table.ssdiff td.space {
702 border: none;
703}
704
705table.ssdiff td.space div {
706 min-height: 3em;
707} \ No newline at end of file