Initial commit of stock (IIRC) gitweb.
[gitweb-sgk] / static / gitweb.css
CommitLineData
f35f44b7
AT
1body {
2 font-family: sans-serif;
3 font-size: large;
4 border: solid #d9d8d1;
5 border-width: 1px;
6 margin: 10px;
7 background-color: #ffffff;
8 color: #000000;
9}
10
11a {
12 color: #0000cc;
13}
14
15a:hover, a:visited, a:active {
16 color: #880000;
17}
18
19span.cntrl {
20 border: dashed #aaaaaa;
21 border-width: 1px;
22 padding: 0px 2px 0px 2px;
23 margin: 0px 2px 0px 2px;
24}
25
26img.logo {
27 float: right;
28 border-width: 0px;
29}
30
31img.avatar {
32 vertical-align: middle;
33}
34
35img.blob {
36 max-height: 100%;
37 max-width: 100%;
38}
39
40a.list img.avatar {
41 border-style: none;
42}
43
44div.page_header {
45 height: 25px;
46 padding: 8px;
47 font-size: 150%;
48 font-weight: bold;
49 background-color: #d9d8d1;
50}
51
52div.page_header a:visited, a.header {
53 color: #0000cc;
54}
55
56div.page_header a:hover {
57 color: #880000;
58}
59
60div.page_nav {
61 padding: 8px;
62}
63
64div.page_nav a:visited {
65 color: #0000cc;
66}
67
68div.page_path {
69 padding: 8px;
70 font-weight: bold;
71 border: solid #d9d8d1;
72 border-width: 0px 0px 1px;
73}
74
75div.page_footer {
76 height: 22px;
77 padding: 4px 8px;
78 background-color: #d9d8d1;
79}
80
81div.page_footer_text {
82 line-height: 22px;
83 float: left;
84 color: #555555;
85 font-style: italic;
86}
87
88div#generating_info {
89 margin: 4px;
90 font-size: smaller;
91 text-align: center;
92 color: #505050;
93}
94
95div.page_body {
96 padding: 8px;
97 font-family: monospace;
98}
99
100div.title, a.title {
101 display: block;
102 padding: 6px 8px;
103 font-weight: bold;
104 background-color: #edece6;
105 text-decoration: none;
106 color: #000000;
107}
108
109div.readme {
110 padding: 8px;
111}
112
113a.title:hover {
114 background-color: #d9d8d1;
115}
116
117div.title_text {
118 padding: 6px 0px;
119 border: solid #d9d8d1;
120 border-width: 0px 0px 1px;
121 font-family: monospace;
122}
123
124div.log_body {
125 padding: 8px 8px 8px 150px;
126}
127
128span.age {
129 position: relative;
130 float: left;
131 width: 142px;
132 font-style: italic;
133}
134
135span.signoff {
136 color: #888888;
137}
138
139div.log_link {
140 padding: 0px 8px;
141 font-size: 70%;
142 font-family: sans-serif;
143 font-style: normal;
144 position: relative;
145 float: left;
146 width: 136px;
147}
148
149div.list_head {
150 padding: 6px 8px 4px;
151 border: solid #d9d8d1;
152 border-width: 1px 0px 0px;
153 font-style: italic;
154}
155
156.author_date, .author {
157 font-style: italic;
158}
159
160div.author_date {
161 padding: 8px;
162 border: solid #d9d8d1;
163 border-width: 0px 0px 1px 0px;
164}
165
166a.list {
167 text-decoration: none;
168 color: #000000;
169}
170
171a.subject, a.name {
172 font-weight: bold;
173}
174
175table.tags a.subject {
176 font-weight: normal;
177}
178
179a.list:hover {
180 text-decoration: underline;
181 color: #880000;
182}
183
184a.text {
185 text-decoration: none;
186 color: #0000cc;
187}
188
189a.text:visited {
190 text-decoration: none;
191 color: #880000;
192}
193
194a.text:hover {
195 text-decoration: underline;
196 color: #880000;
197}
198
199table {
200 padding: 8px 4px;
201 border-spacing: 0;
202}
203
204table.diff_tree {
205 font-family: monospace;
206}
207
208table.combined.diff_tree th {
209 text-align: center;
210}
211
212table.combined.diff_tree td {
213 padding-right: 24px;
214}
215
216table.combined.diff_tree th.link,
217table.combined.diff_tree td.link {
218 padding: 0px 2px;
219}
220
221table.combined.diff_tree td.nochange a {
222 color: #6666ff;
223}
224
225table.combined.diff_tree td.nochange a:hover,
226table.combined.diff_tree td.nochange a:visited {
227 color: #d06666;
228}
229
230table.blame {
231 border-collapse: collapse;
232}
233
234table.blame td {
235 padding: 0px 5px;
236 font-size: 100%;
237 vertical-align: top;
238}
239
240th {
241 padding: 2px 5px;
242 font-size: 100%;
243 text-align: left;
244}
245
246/* do not change row style on hover for 'blame' view */
247tr.light,
248table.blame .light:hover {
249 background-color: #ffffff;
250}
251
252tr.dark,
253table.blame .dark:hover {
254 background-color: #f6f6f0;
255}
256
257/* currently both use the same, but it can change */
258tr.light:hover,
259tr.dark:hover {
260 background-color: #edece6;
261}
262
263/* boundary commits in 'blame' view */
264/* and commits without "previous" */
265tr.boundary td.sha1,
266tr.no-previous td.linenr {
267 font-weight: bold;
268}
269
270/* for 'blame_incremental', during processing */
271tr.color1 { background-color: #f6fff6; }
272tr.color2 { background-color: #f6f6ff; }
273tr.color3 { background-color: #fff6f6; }
274
275td {
276 padding: 10px 20px;
277 font-size: 100%;
278 vertical-align: top;
279}
280
281td.link, td.selflink {
282 padding: 2px 5px;
283 font-family: sans-serif;
284 font-size: 70%;
285}
286
287td.selflink {
288 padding-right: 0px;
289}
290
291td.sha1 {
292 font-family: monospace;
293}
294
295.error {
296 color: red;
297 background-color: yellow;
298}
299
300td.current_head {
301 text-decoration: underline;
302}
303
304td.category {
305 background-color: #d9d8d1;
306 border-top: 1px solid #000000;
307 border-left: 1px solid #000000;
308 font-weight: bold;
309}
310
311table.diff_tree span.file_status.new {
312 color: #008000;
313}
314
315table.diff_tree span.file_status.deleted {
316 color: #c00000;
317}
318
319table.diff_tree span.file_status.moved,
320table.diff_tree span.file_status.mode_chnge {
321 color: #777777;
322}
323
324table.diff_tree span.file_status.copied {
325 color: #70a070;
326}
327
328/* noage: "No commits" */
329table.project_list td.noage {
330 color: #808080;
331 font-style: italic;
332}
333
334/* age2: 60*60*24*2 <= age */
335table.project_list td.age2, table.blame td.age2 {
336 font-style: italic;
337}
338
339/* age1: 60*60*2 <= age < 60*60*24*2 */
340table.project_list td.age1 {
341 color: #009900;
342 font-style: italic;
343}
344
345table.blame td.age1 {
346 color: #009900;
347 background: transparent;
348}
349
350/* age0: age < 60*60*2 */
351table.project_list td.age0 {
352 color: #009900;
353 font-style: italic;
354 font-weight: bold;
355}
356
357table.blame td.age0 {
358 color: #009900;
359 background: transparent;
360 font-weight: bold;
361}
362
363td.pre, div.pre, div.diff {
364 font-family: monospace;
365 font-size: 12px;
366 white-space: pre;
367}
368
369td.mode {
370 font-family: monospace;
371}
372
373/* progress of blame_interactive */
374div#progress_bar {
375 height: 2px;
376 margin-bottom: -2px;
377 background-color: #d8d9d0;
378}
379div#progress_info {
380 float: right;
381 text-align: right;
382}
383
384/* format of (optional) objects size in 'tree' view */
385td.size {
386 font-family: monospace;
387 text-align: right;
388}
389
390/* styling of diffs (patchsets): commitdiff and blobdiff views */
391div.diff.header,
392div.diff.extended_header {
393 white-space: normal;
394}
395
396div.diff.header {
397 font-weight: bold;
398
399 background-color: #edece6;
400
401 margin-top: 4px;
402 padding: 4px 0px 2px 0px;
403 border: solid #d9d8d1;
404 border-width: 1px 0px 1px 0px;
405}
406
407div.diff.header a.path {
408 text-decoration: underline;
409}
410
411div.diff.extended_header,
412div.diff.extended_header a.path,
413div.diff.extended_header a.hash {
414 color: #777777;
415}
416
417div.diff.extended_header .info {
418 color: #b0b0b0;
419}
420
421div.diff.extended_header {
422 background-color: #f6f5ee;
423 padding: 2px 0px 2px 0px;
424}
425
426div.diff a.list,
427div.diff a.path,
428div.diff a.hash {
429 text-decoration: none;
430}
431
432div.diff a.list:hover,
433div.diff a.path:hover,
434div.diff a.hash:hover {
435 text-decoration: underline;
436}
437
438div.diff.to_file a.path,
439div.diff.to_file {
440 color: #007000;
441}
442
443div.diff.add {
444 color: #008800;
445}
446
447div.diff.add span.marked {
448 background-color: #aaffaa;
449}
450
451div.diff.from_file a.path,
452div.diff.from_file {
453 color: #aa0000;
454}
455
456div.diff.rem {
457 color: #cc0000;
458}
459
460div.diff.rem span.marked {
461 background-color: #ffaaaa;
462}
463
464div.diff.chunk_header a,
465div.diff.chunk_header {
466 color: #990099;
467}
468
469div.diff.chunk_header {
470 border: dotted #ffe0ff;
471 border-width: 1px 0px 0px 0px;
472 margin-top: 2px;
473}
474
475div.diff.chunk_header span.chunk_info {
476 background-color: #ffeeff;
477}
478
479div.diff.chunk_header span.section {
480 color: #aa22aa;
481}
482
483div.diff.incomplete {
484 color: #cccccc;
485}
486
487div.diff.nodifferences {
488 font-weight: bold;
489 color: #600000;
490}
491
492/* side-by-side diff */
493div.chunk_block {
494 overflow: hidden;
495}
496
497div.chunk_block div.old {
498 float: left;
499 width: 50%;
500 overflow: hidden;
501}
502
503div.chunk_block div.new {
504 margin-left: 50%;
505 width: 50%;
506}
507
508div.chunk_block.rem div.old div.diff.rem {
509 background-color: #fff5f5;
510}
511div.chunk_block.add div.new div.diff.add {
512 background-color: #f8fff8;
513}
514div.chunk_block.chg div div.diff {
515 background-color: #fffff0;
516}
517div.chunk_block.ctx div div.diff.ctx {
518 color: #404040;
519}
520
521
522div.index_include {
523 border: solid #d9d8d1;
524 border-width: 0px 0px 1px;
525 padding: 12px 8px;
526}
527
528div.search {
529 font-size: 100%;
530 font-weight: normal;
531 margin: 4px 8px;
532 float: right;
533 top: 56px;
534 right: 12px
535}
536
537div.projsearch {
538 text-align: center;
539 margin: 20px 0px;
540}
541
542div.projsearch form {
543 margin-bottom: 2px;
544}
545
546td.linenr {
547 text-align: right;
548}
549
550a.linenr {
551 color: #999999;
552 text-decoration: none
553}
554
555a.rss_logo {
556 float: right;
557 padding: 3px 5px;
558 line-height: 10px;
559 border: 1px solid;
560 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
561 color: #ffffff;
562 background-color: #ff6600;
563 font-weight: bold;
564 font-family: sans-serif;
565 font-size: 70%;
566 text-align: center;
567 text-decoration: none;
568}
569
570a.rss_logo:hover {
571 background-color: #ee5500;
572}
573
574a.rss_logo.generic {
575 background-color: #ff8800;
576}
577
578a.rss_logo.generic:hover {
579 background-color: #ee7700;
580}
581
582span.refs span {
583 padding: 0px 4px;
584 font-size: 70%;
585 font-weight: normal;
586 border: 1px solid;
587 background-color: #ffaaff;
588 border-color: #ffccff #ff00ee #ff00ee #ffccff;
589}
590
591span.refs span a {
592 text-decoration: none;
593 color: inherit;
594}
595
596span.refs span a:hover {
597 text-decoration: underline;
598}
599
600span.refs span.indirect {
601 font-style: italic;
602}
603
604span.refs span.ref {
605 background-color: #aaaaff;
606 border-color: #ccccff #0033cc #0033cc #ccccff;
607}
608
609span.refs span.tag {
610 background-color: #ffffaa;
611 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
612}
613
614span.refs span.head {
615 background-color: #aaffaa;
616 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
617}
618
619span.atnight {
620 color: #cc0000;
621}
622
623span.match {
624 color: #e00000;
625}
626
627div.binary {
628 font-style: italic;
629}
630
631div.remote {
632 margin: .5em;
633 border: 1px solid #d9d8d1;
634 display: inline-block;
635}
636
637/* JavaScript-based timezone manipulation */
638
639.popup { /* timezone selection UI */
640 position: absolute;
641 /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
642 top: 0; left: 0;
643 border: 1px solid;
644 padding: 2px;
645 background-color: #f0f0f0;
646 font-style: normal;
647 color: #000000;
648 cursor: auto;
649}
650
651.close-button { /* close timezone selection UI without selecting */
652 /* float doesn't work within absolutely positioned container,
653 * if width of container is not set explicitly */
654 /* float: right; */
655 position: absolute;
656 top: 0px; right: 0px;
657 border: 1px solid green;
658 margin: 1px 1px 1px 1px;
659 padding-bottom: 2px;
660 width: 12px;
661 height: 10px;
662 font-size: 9px;
663 font-weight: bold;
664 text-align: center;
665 background-color: #fff0f0;
666 cursor: pointer;
667}
668
669
670/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
671
672/* Highlighting theme definition: */
673
674.num { color:#2928ff; }
675.esc { color:#ff00ff; }
676.str { color:#ff0000; }
677.dstr { color:#818100; }
678.slc { color:#838183; font-style:italic; }
679.com { color:#838183; font-style:italic; }
680.dir { color:#008200; }
681.sym { color:#000000; }
682.line { color:#555555; }
683.kwa { color:#000000; font-weight:bold; }
684.kwb { color:#830000; }
685.kwc { color:#000000; font-weight:bold; }
686.kwd { color:#010181; }