Added icons
[m6w6/gitweb-theme] / gitweb.css
1 /* Reset
2 ------------------------------------------------------------------------- */
3
4 /* Based on http://meyerweb.com/eric/tools/css/reset/ */
5 /* v1.0 | 20080212 */
6
7 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
8 blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
9 font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b,
10 u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
11 caption, tbody, tfoot, thead, tr, th, td {
12 margin: 0;
13 padding: 0;
14 border: 0;
15 outline: 0;
16 font-size: 100%;
17 vertical-align: baseline;
18 background: transparent;
19 }
20
21 ol, ul { list-style: none; }
22
23 blockquote, q { quotes: none; }
24
25 blockquote:before, blockquote:after,
26 q:before, q:after {
27 content: '';
28 content: none;
29 }
30
31 :focus { outline: 0; }
32
33 ins { text-decoration: none; }
34
35 del { text-decoration: line-through; }
36
37 table {
38 border-collapse: collapse;
39 border-spacing: 0;
40 }
41
42 a { outline: none; }
43
44 /* General
45 ---------------------------------------------------------------------------- */
46
47 html {
48 position: relative;
49 min-height: 100%;
50 }
51
52 body {
53 font: 13px Helvetica,arial,freesans,clean,sans-serif;
54 line-height: 1.4;
55 margin: 0 0 105px;
56 background-color: #fff;
57 color: #000000;
58 }
59
60 /* Monospaced Fonts */
61 .sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
62 font-family: 'Consolas','Bitstream Vera Sans Mono',monospace;
63 }
64
65 a:link, a:visited {
66 color: #4183C4;
67 text-decoration: none;
68 }
69
70 a:hover {
71 text-decoration: underline;
72 }
73
74 td.list a[href*='a=tree'], td.list a[href*='a=blob'] {
75 padding-left: 20px;
76 display: block;
77 float: left;
78 height: 16px;
79 line-height: 16px;
80 }
81
82 td.list a[href*='a=tree'] {
83 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABq0lEQVQ4y8WTu4oUQRSGv+rtGVuxhwVFdFEEE2c3d0HYTEMTn8DEVxADQTDUF9DMwMxQMBMx8AEWzRQ3cBHd9TI91+2urjq/QbczY2IygSep4nD+79yqnCRWsYQVbWVACvDh5ZXdrLe15dwyT1TjT/sxFFeB6i+VA2B6+cb7kAI4Jf0LO087zjlQI8Y5Qvnj0sHug321XoC1bk+K9eHk6+s7wPMUgKAS88eqb4+Jfg2SHs7lZBvX2Nh+2EUCDGSAcMnJsx9f7NxfAGqXyDzRd5EJO/pMPT1gcviGTnYOVIN5pAAE8v7dLrKL8xnglFk4ws9Afko9HpH3b5Gd2mwb/lOBmgrSdYhJugDUCenxM6xv3p4HCsP8F0LxCsUhCkMURihOyM7fg0osASTFEpu9a4LjGIUCqwcoDiEUrX+E4hRUQb20RiokC1j9vckUhygU7X3QZh7NAVKYL7YBeMkRUfjVCotF2XGIwnghtrJpMywB5G0QZj9P1JNujuWJ1AHLQadRrACPkuZ0SSSWpeStWgDK6tHek5vbiOs48n++XQHurcf0rFng//6NvwG+iB9/4duaTgAAAABJRU5ErkJgggo=) center left no-repeat;
84 }
85
86 td.list a[href*='a=blob'] {
87 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAA6ElEQVQoFQXBMW5TQRgGwNnHnoE0QbiCjoIooUmTU3AuS1BwIoTSUdJBigg3GCWOg9/++zHTop078wIAsPMrE4SL5/1aIyMjIyMjz/m0tbFECFdrPeaQQw75mz/5nZH7fN7aWILmauSYfznmmIfss8vIUx7zZWsTTXM5vpWvTk5Wq9VHQP/gtgOLa0Qpw940vAQdaG6thpOhlOkG0AEuAVGmEkAH+G4YSikxXQM6wDsAMRFAB/ihDNNUmN4DOsAbBAEAdICfpmmaAt4COoj2GgCASbIkZh1NAACznhQt2itnFgAAlF3u/gMDtJXPzQxoswAAAABJRU5ErkJgggo=) center left no-repeat;
88 }
89
90 i {
91 font-style: normal;
92 }
93
94 td, th {
95 padding: 5px;
96 }
97
98 .page_nav br {
99 display: none;
100 }
101
102 /* Page Header
103 ---------------------------------------------------------------------------- */
104
105 .page_header {
106 height: 50px;
107 line-height: 50px;
108 position: relative;
109 padding: 0 27px;
110 margin-bottom: 20px;
111 font-size: 20px;
112 font-family: Helvetica, Arial, Freesans, Clean, sans-serif;
113 background: #FFFFFF; /* old browsers */
114 background: -moz-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); /* firefox */
115 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#F5F5F5)); /* webkit */
116 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F5F5F5',GradientType=0 ); /* ie */
117 background: -o-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);
118 border-bottom: 1px solid #dfdfdf;
119 }
120
121 .page_header a:link, .page_header a:visited {
122 color: #4183C4;
123 text-decoration: none;
124 padding: 3px;
125 font-weight: bold;
126 }
127
128 .page_header a:hover {
129 font-weight: bold;
130 padding: 3px;
131 text-decoration: underline;
132 }
133
134 .page_header a:first-child {
135 background: transparent;
136 }
137
138 .page_header img.logo {
139 position: relative;
140 top: 7px;
141 margin-right: 5px;
142 }
143
144 /* Page Footer
145 ---------------------------------------------------------------------------- */
146
147 .page_footer {
148 position: absolute;
149 left: 0;
150 bottom: 0;
151 width: 100%;
152 height: 80px;
153 line-height: 80px;
154 margin-top: 15px;
155 background: #f1f1f1;
156 border-top: 2px solid #ddd;
157 border-bottom: 1px solid #ddd;
158 }
159
160 .page_footer_text {
161 color: #666;
162 display: inline;
163 float: left;
164 margin-left: 25px;
165 }
166
167 a.rss_logo {
168 float: right;
169 padding: 3px 1px;
170 width: 35px;
171 line-height: 10px;
172 border: 1px solid;
173 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
174 color: #ffffff;
175 background-color: #ff6600;
176 font-weight: bold;
177 font-family: sans-serif;
178 font-size: 80%;
179 text-align: center;
180 text-decoration: none;
181 margin-top: 30px;
182 margin-left: 5px;
183 }
184
185 a.rss_logo:hover {
186 background-color: #ee5500;
187 }
188
189 .rss_logo {
190 margin-right: 25px;
191 background: yellow;
192 }
193
194 .rss_logo:last-child {
195 margin-right: 5px;
196 }
197
198 /* Index include
199 ---------------------------------------------------------------------------- */
200
201 .index_include {
202 width: 95%;
203 margin: 0 auto 15px;
204 background: -moz-linear-gradient(center top , #FFFFFF 0%, #F5F5F5 100%) repeat scroll 0 0 transparent;
205 border: 1px solid #DFDFDF;
206 padding: 8px;
207 -webkit-box-sizing: border-box;
208 -moz-box-sizing: border-box;
209 box-sizing: border-box;
210 }
211
212 /* Elements
213 ---------------------------------------------------------------------------- */
214
215 .project_list,
216 .shortlog,
217 .tree,
218 .commit_search,
219 .history {
220 width: 95%;
221 margin: 0 auto 15px auto;
222 border: 1px solid #d8d8d8;
223 -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
224 -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
225 box-shadow: 0 0 3px rgba(0,0,0,0.2);
226 }
227
228 .project_list th,
229 .shortlog th,
230 .tree th,
231 .commit_search th {
232 color: #afafaf;
233 font-weight: normal;
234 }
235
236 .project_list th {
237 font-weight: bold;
238 }
239
240 .project_list tr,
241 .shortlog tr,
242 .tree tr,
243 .commit_search tr {
244 background: #eaeaea;
245 height: 2.5em;
246 text-align: left;
247 color: #545454;
248 }
249
250 .project_list tr.dark, .project_list tr.light,
251 .shortlog tr.dark, .shortlog tr.light,
252 .tree tr.dark, .tree tr.light,
253 .commit_search tr.dark, .commit_search tr.light,
254 .history tr.dark, .history tr.light,
255 .heads tr.dark, .heads tr.light {
256 background: #F9F9F9; /* old browsers */
257 background: -moz-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%); /* firefox */
258 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F9F9F9), color-stop(100%,#EFEFEF)); /* webkit */
259 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F9F9F9', endColorstr='#EFEFEF',GradientType=0 ); /* ie */
260 background: -o-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%);
261 height: 2.5em;
262 border-bottom: 1px solid #e1e1e1;
263 }
264
265 th .header {
266 background: transparent;
267 border: 0;
268 padding: 0;
269 font-weight: bold;
270 }
271
272 .tree {
273 width: 100%;
274 margin: 0;
275 }
276
277 .projsearch {
278 position: absolute;
279 right: 4%;
280 top: 15px;
281 }
282
283 .projsearch a {
284 display: none;
285 }
286
287 .commit_search {
288 background: #eaeaea;
289 }
290
291 .page_nav,
292 .list_head,
293 .page_path,
294 .search {
295 width: 94%;
296 background: #eaeaea;
297 color: #545454;
298 border: 1px solid #d8d8d8;
299 padding: 5px;
300 margin: 0 auto 15px auto;
301 }
302
303 .history {
304 background: #eaeaea;
305 }
306
307 .title {
308 margin: 0 auto 15px auto;
309 padding: 5px;
310 width: 95%;
311 }
312
313 .readme {
314 background: #eaf2f5;
315 border: 1px solid #bedce7;
316 -moz-box-sizing: border-box;
317 -webkit-box-sizing: border-box;
318 box-sizing: border-box;
319 margin: 0 auto 15px auto;
320 padding: 15px;
321 width: 95%;
322 }
323
324 .readme h1 {
325 display: block;
326 font-size: 2em;
327 font-weight: bold;
328 margin-bottom: 0.67em;
329 margin-top: 0;
330 }
331
332 .readme h2 {
333 font-size: 1.5em;
334 font-weight: bold;
335 margin-bottom: 0.83em;
336 }
337
338
339 .readme h3 {
340 font-size: 1.17em;
341 font-weight: bold;
342 margin-bottom: 1em;
343 }
344
345 .readme p {
346 margin-bottom: 1em;
347 }
348
349 .readme ul {
350 list-style: disc;
351 margin-bottom: 1em;
352 margin-left: 1.5em;
353 }
354
355 .readme ul ul {
356 margin-bottom: 0;
357 }
358
359 .readme ol {
360 list-style: decimal;
361 margin-bottom: 1em;
362 margin-left: 1.5em;
363 }
364
365 .readme ol ol {
366 margin-bottom: 0;
367 }
368
369 .readme pre {
370 font-family: monospace;
371 margin: 1em 0;
372 white-space: pre;
373 }
374
375 .readme tt, .readme code, .readme kbd, .readme samp {
376 font-family: monospace;
377 }
378
379 .readme blockquote {
380 margin: 1em;
381 }
382
383 .projects_list,
384 .tags {
385 width: 95%;
386 background: #f0f0f0;
387 color: #545454;
388 border: 1px solid #d8d8d8;
389 padding: 5px;
390 margin: 0 auto 15px auto;
391 }
392
393 .heads {
394 width: 95%;
395 color: #545454;
396 border: 1px solid #d8d8d8;
397 padding: 5px;
398 margin: 0 auto 15px auto;
399 }
400
401 .header {
402 width: 94%;
403 margin: 0 auto 15px auto;
404 background: #eaf2f5;
405 border: 1px solid #bedce7;
406 padding: 5px;
407 }
408
409 .header .age {
410 float: left;
411 color: #000;
412 font-weight: bold;
413 width: 10em;
414 }
415
416 .title_text {
417 width: 94%;
418 background: #eaf2f5;
419 border: 1px solid #bedce7;
420 padding: 5px;
421 margin: 0 auto 0 auto;
422 }
423
424 .log_body {
425 width: 94%;
426 background: #eaf2f5;
427 border: 1px solid #bedce7;
428 border-top: 0;
429 padding: 5px;
430 margin: 0 auto 15px auto;
431 }
432
433 .page_body {
434 line-height: 1.4em;
435 width: 94%;
436 background: #f8f8f8;
437 border: 1px solid #d8d8d8;
438 padding: 5px;
439 margin: 15px auto 15px auto;
440 }
441
442 .diff_tree {
443 width: 95%;
444 background: #f0f0f0;
445 border: 1px solid #d8d8d8;
446 padding: 5px;
447 margin: 0 auto 15px auto;
448 }
449
450 .page_body > .list_head {
451 width: 98.5%;
452 }
453
454 .page_body > .diff_tree {
455 width: 99.5%;
456 }
457
458 .patch > .header {
459 width: 99%;
460 }
461
462 .author .avatar,
463 .author_date .avatar {
464 position: relative;
465 top: 3px;
466 }
467
468 .object_header .avatar {
469 border: 1px solid #D8D8D8;
470 float: right;
471 }
472
473 .object_header td,
474 .object_header th {
475 vertical-align: top;
476 }
477
478 /* Refs
479 ---------------------------------------------------------------------------- */
480
481 span.refs span {
482 color: #707070;
483 display: inline-block;
484 margin: 0;
485 background-color: #eee;
486 border: 1px solid #ccc;
487 border-radius: 3px;
488 height: 18px;
489 padding: 0 6px;
490 text-overflow: ellipsis;
491 }
492
493 span.refs span.ref {
494 color: #707070;
495 display: inline-block;
496 margin: 0;
497 background-color: #c4c4ff;
498 border: 1px solid #7878ff;
499 border-radius: 3px;
500 height: 18px;
501 padding: 0 6px;
502 text-overflow: ellipsis;
503 background-image: url('ref.png');
504 background-repeat: no-repeat;
505 padding-left: 18px;
506 }
507
508 span.refs span.tag {
509 color: #707070;
510 display: inline-block;
511 margin: 0;
512 background-color: #ffffab;
513 border: 1px solid #d9d93b;
514 border-radius: 3px;
515 height: 18px;
516 padding: 0 6px;
517 text-overflow: ellipsis;
518 background-image: url('tag.png');
519 background-repeat: no-repeat;
520 padding-left: 18px;
521 }
522
523 span.refs span.head {
524 color: #707070;
525 display: inline-block;
526 margin: 0;
527 background-color: #c4ffc4;
528 border: 1px solid #78ff78;
529 border-radius: 3px;
530 height: 18px;
531 padding: 0 6px;
532 text-overflow: ellipsis;
533 background-image: url('head.png');
534 background-repeat: no-repeat;
535 padding-left: 18px;
536 }
537
538 span.refs a {
539 color: #4e4e4e;
540 font: 11px "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, monospace;
541 line-height: 18px;
542 }
543
544 /* Diffs
545 ---------------------------------------------------------------------------- */
546
547 div.diff.to_file a.path,
548 div.diff.to_file {
549 color: #007000;
550 }
551
552 div.diff.from_file a.path,
553 div.diff.from_file {
554 color: #aa0000;
555 }
556
557 .patch .header {
558 margin: 0;
559 }
560
561 .patchset {
562 overflow-x: auto;
563 overflow-y: hidden;
564 }
565
566 .chunk_header {
567 background: #eaf2f5;
568 color: #999;
569 }
570
571 .rem {
572 background: #ffdddd;
573 }
574 .add {
575 background: #ddffdd;
576 }
577
578 .extended_header {
579 width: 99.5%;
580 }
581
582 div.chunk_block {
583 overflow: hidden;
584 }
585
586 div.chunk_block div.old {
587 float: left;
588 width: 50%;
589 overflow: hidden;
590 border-right: 5px solid #EAF2F5;
591 }
592
593 div.chunk_block.rem,
594 div.chunk_block.add {
595 background: transparent;
596 }
597
598 div.chunk_block div.old .add,
599 div.chunk_block div.old .rem {
600 padding-right: 3px;
601 }
602
603 div.chunk_block div.new .add,
604 div.chunk_block div.new .rem {
605 padding-left: 3px;
606 }
607
608 div.chunk_block div.new {
609 margin-left: 50%;
610 width: 50%;
611 border-left: 5px solid #EAF2F5;
612 }
613
614 /* Age
615 ---------------------------------------------------------------------------- */
616
617 /* noage: "No commits" */
618 .project_list td.noage {
619 color: #cdcdcd;
620 }
621
622 /* age2: 60*60*24*2 <= age */
623 .project_list td.age2, .blame td.age2 {
624 color: #545454;
625 }
626
627 /* age1: 60*60*2 <= age < 60*60*24*2 */
628 .project_list td.age1 {
629 color: #009900;
630 }
631
632 /* age0: age < 60*60*2 */
633 .project_list td.age0 {
634 color: #009900;
635 font-weight: bold;
636 }
637
638 /* File status
639 ---------------------------------------------------------------------------- */
640
641 .diff_tree span.file_status.new {
642 color: #008000;
643 }
644
645 table.diff_tree span.file_status.deleted {
646 color: #c00000;
647 }
648
649 table.diff_tree span.file_status.moved,
650 table.diff_tree span.file_status.mode_chnge {
651 color: #545454;
652 }
653
654 table.diff_tree span.file_status.copied {
655 color: #70a070;
656 }
657
658 span.cntrl {
659 border: dashed #aaaaaa;
660 border-width: 1px;
661 padding: 0px 2px 0px 2px;
662 margin: 0px 2px 0px 2px;
663 }
664
665 span.match {
666 background: #aaffaa;
667 color: #000;
668 }
669
670 td.error {
671 color: red;
672 background: yellow;
673 }
674
675 /* blob view */
676
677 td.pre, div.pre, div.diff {
678 white-space: pre-wrap;
679 }
680
681 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
682
683 /* Highlighting theme definition: */
684
685 .num { color:#6ecf36; }
686 .esc { color:#ff00ff; }
687 .str { color:#ff00d3; background-color: #edc9ec }
688 .dstr { color:#818100; }
689 .slc { color:#838183; font-style:italic; }
690 .com { color:#838183; font-style:italic; }
691 .dir { color:#008200; }
692 .sym { color:#000000; }
693 .line { color:#555555; }
694 .kwa { color:#666666; font-weight:bold; }
695 .kwb { color:#6b3099; }
696 .kwc { color:#d4663d; }
697 .kwd { color:#2928ff; }
698