Merge pull request #15 from tvlooy/index_include
[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 body {
48 font: 13px Helvetica,arial,freesans,clean,sans-serif;
49 line-height: 1.4;
50 margin: 0;
51 background-color: #fff;
52 color: #000000;
53 }
54
55 /* Monospaced Fonts */
56 .sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
57 font-family: 'Consolas','Bitstream Vera Sans Mono',monospace;
58 }
59
60 a:link, a:visited {
61 color: #4183C4;
62 text-decoration: none;
63 }
64
65 a:hover {
66 text-decoration: underline;
67 }
68
69 td.list a[href*='a=tree'], td.list a[href*='a=blob'] {
70 padding-left: 20px;
71 display: block;
72 float: left;
73 height: 16px;
74 line-height: 16px;
75 }
76
77 td.list a[href*='a=tree'] {
78 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;
79 }
80
81 td.list a[href*='a=blob'] {
82 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAA6ElEQVQoFQXBMW5TQRgGwNnHnoE0QbiCjoIooUmTU3AuS1BwIoTSUdJBigg3GCWOg9/++zHTop078wIAsPMrE4SL5/1aIyMjIyMjz/m0tbFECFdrPeaQQw75mz/5nZH7fN7aWILmauSYfznmmIfss8vIUx7zZWsTTXM5vpWvTk5Wq9VHQP/gtgOLa0Qpw940vAQdaG6thpOhlOkG0AEuAVGmEkAH+G4YSikxXQM6wDsAMRFAB/ihDNNUmN4DOsAbBAEAdICfpmmaAt4COoj2GgCASbIkZh1NAACznhQt2itnFgAAlF3u/gMDtJXPzQxoswAAAABJRU5ErkJgggo=) center left no-repeat;
83 }
84
85 i {
86 font-style: normal;
87 }
88
89 td, th {
90 padding: 5px;
91 }
92
93 .page_nav br {
94 display: none;
95 }
96
97 /* Page Header
98 ---------------------------------------------------------------------------- */
99
100 .page_header {
101 height: 50px;
102 line-height: 50px;
103 position: relative;
104 padding: 0 27px;
105 margin-bottom: 20px;
106 font-size: 20px;
107 font-family: Helvetica, Arial, Freesans, Clean, sans-serif;
108 background: #FFFFFF; /* old browsers */
109 background: -moz-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%); /* firefox */
110 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#F5F5F5)); /* webkit */
111 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F5F5F5',GradientType=0 ); /* ie */
112 background: -o-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);
113 border-bottom: 1px solid #dfdfdf;
114 }
115
116 .page_header a:link, .page_header a:visited {
117 color: #4183C4;
118 text-decoration: none;
119 padding: 3px;
120 font-weight: bold;
121 }
122
123 .page_header a:hover {
124 font-weight: bold;
125 padding: 3px;
126 text-decoration: underline;
127 }
128
129 .page_header a:first-child {
130 background: transparent;
131 }
132
133 .page_header img.logo {
134 position: relative;
135 top: 7px;
136 margin-right: 5px;
137 }
138
139 /* Page Footer
140 ---------------------------------------------------------------------------- */
141
142 .page_footer {
143 height: 80px;
144 line-height: 80px;
145 padding: 0 30px;
146 margin-top: 15px;
147 margin-bottom: 30px;
148 background: #f1f1f1;
149 border-top: 2px solid #ddd;
150 border-bottom: 1px solid #ddd;
151 }
152
153 .page_footer_text {
154 color: #666;
155 display: inline;
156 float: left;
157 }
158
159 a.rss_logo {
160 float: right;
161 padding: 3px 1px;
162 width: 35px;
163 line-height: 10px;
164 border: 1px solid;
165 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
166 color: #ffffff;
167 background-color: #ff6600;
168 font-weight: bold;
169 font-family: sans-serif;
170 font-size: 80%;
171 text-align: center;
172 text-decoration: none;
173 margin-top: 30px;
174 margin-left: 5px;
175 }
176
177 a.rss_logo:hover {
178 background-color: #ee5500;
179 }
180
181 /* Index include
182 ---------------------------------------------------------------------------- */
183
184 .index_include {
185 width: 95%;
186 margin: 0 auto 15px;
187 background: -moz-linear-gradient(center top , #FFFFFF 0%, #F5F5F5 100%) repeat scroll 0 0 transparent;
188 border: 1px solid #DFDFDF;
189 padding: 8px;
190 -webkit-box-sizing: border-box;
191 -moz-box-sizing: border-box;
192 box-sizing: border-box;
193 }
194
195 /* Elements
196 ---------------------------------------------------------------------------- */
197
198 .project_list,
199 .shortlog,
200 .tree,
201 .commit_search,
202 .history {
203 width: 95%;
204 margin: 0 auto 15px auto;
205 border: 1px solid #d8d8d8;
206 -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
207 -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
208 box-shadow: 0 0 3px rgba(0,0,0,0.2);
209 }
210
211 .project_list th,
212 .shortlog th,
213 .tree th,
214 .commit_search th {
215 color: #afafaf;
216 font-weight: normal;
217 }
218
219 .project_list th {
220 font-weight: bold;
221 }
222
223 .project_list tr,
224 .shortlog tr,
225 .tree tr,
226 .commit_search tr {
227 background: #eaeaea;
228 height: 2.5em;
229 text-align: left;
230 color: #545454;
231 }
232
233 .project_list tr.dark, .project_list tr.light,
234 .shortlog tr.dark, .shortlog tr.light,
235 .tree tr.dark, .tree tr.light,
236 .commit_search tr.dark, .commit_search tr.light,
237 .history tr.dark, .history tr.light,
238 .heads tr.dark, .heads tr.light {
239 background: #F9F9F9; /* old browsers */
240 background: -moz-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%); /* firefox */
241 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F9F9F9), color-stop(100%,#EFEFEF)); /* webkit */
242 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F9F9F9', endColorstr='#EFEFEF',GradientType=0 ); /* ie */
243 background: -o-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%);
244 height: 2.5em;
245 border-bottom: 1px solid #e1e1e1;
246 }
247
248 th .header {
249 background: transparent;
250 border: 0;
251 padding: 0;
252 font-weight: bold;
253 }
254
255 .tree {
256 width: 100%;
257 margin: 0;
258 }
259
260 .projsearch {
261 position: absolute;
262 right: 4%;
263 top: 15px;
264 }
265
266 .projsearch a {
267 display: none;
268 }
269
270 .commit_search {
271 background: #eaeaea;
272 }
273
274 .page_nav,
275 .list_head,
276 .page_path,
277 .search {
278 width: 94%;
279 background: #eaeaea;
280 color: #545454;
281 border: 1px solid #d8d8d8;
282 padding: 5px;
283 margin: 0 auto 15px auto;
284 }
285
286 .history {
287 background: #eaeaea;
288 }
289
290 .title {
291 width: 95%;
292 padding: 5px;
293 margin: 0 auto 15px auto;
294 }
295
296 .projects_list,
297 .tags {
298 width: 95%;
299 background: #f0f0f0;
300 color: #545454;
301 border: 1px solid #d8d8d8;
302 padding: 5px;
303 margin: 0 auto 15px auto;
304 }
305
306 .heads {
307 width: 95%;
308 color: #545454;
309 border: 1px solid #d8d8d8;
310 padding: 5px;
311 margin: 0 auto 15px auto;
312 }
313
314 .header {
315 width: 94%;
316 margin: 0 auto 15px auto;
317 background: #eaf2f5;
318 border: 1px solid #bedce7;
319 padding: 5px;
320 }
321
322 .header .age {
323 float: left;
324 color: #000;
325 font-weight: bold;
326 width: 10em;
327 }
328
329 .title_text {
330 width: 94%;
331 background: #eaf2f5;
332 border: 1px solid #bedce7;
333 padding: 5px;
334 margin: 0 auto 0 auto;
335 }
336
337 .log_body {
338 width: 94%;
339 background: #eaf2f5;
340 border: 1px solid #bedce7;
341 border-top: 0;
342 padding: 5px;
343 margin: 0 auto 15px auto;
344 }
345
346 .page_body {
347 line-height: 1.4em;
348 width: 94%;
349 background: #f8f8f8;
350 border: 1px solid #d8d8d8;
351 padding: 5px;
352 margin: 15px auto 15px auto;
353 }
354
355 .diff_tree {
356 width: 95%;
357 background: #f0f0f0;
358 border: 1px solid #d8d8d8;
359 padding: 5px;
360 margin: 0 auto 15px auto;
361 }
362
363 .page_body > .list_head {
364 width: 98.5%;
365 }
366
367 .page_body > .diff_tree {
368 width: 99.5%;
369 }
370
371 .patch > .header {
372 width: 99%;
373 }
374
375 .author .avatar,
376 .author_date .avatar {
377 position: relative;
378 top: 3px;
379 }
380
381 .object_header .avatar {
382 border: 1px solid #D8D8D8;
383 float: right;
384 }
385
386 .object_header td,
387 .object_header th {
388 vertical-align: top;
389 }
390
391 /* Refs
392 ---------------------------------------------------------------------------- */
393
394 span.refs span {
395 color: #000;
396 padding: 0px 4px;
397 font-size: 10px;
398 font-weight: normal;
399 border: 1px solid;
400 background-color: #ffaaff;
401 border-color: #ffccff #ff00ee #ff00ee #ffccff;
402 }
403
404 span.refs span.ref {
405 background-color: #aaaaff;
406 border-color: #ccccff #0033cc #0033cc #ccccff;
407 }
408
409 span.refs span.tag {
410 background-color: #ffffaa;
411 border-color: #ffffcc #dccd00 #dccd00 #ffffcc;
412 }
413
414 span.refs span.head {
415 background-color: #aaffaa;
416 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
417 }
418
419 span.refs a {
420 color: #000;
421 }
422
423 /* Diffs
424 ---------------------------------------------------------------------------- */
425
426 div.diff.to_file a.path,
427 div.diff.to_file {
428 color: #007000;
429 }
430
431 div.diff.from_file a.path,
432 div.diff.from_file {
433 color: #aa0000;
434 }
435
436 .patch .header {
437 margin: 0;
438 }
439
440 .patchset {
441 overflow-x: auto;
442 overflow-y: hidden;
443 }
444
445 .chunk_header {
446 background: #eaf2f5;
447 color: #999;
448 }
449
450 .rem {
451 background: #ffdddd;
452 }
453 .add {
454 background: #ddffdd;
455 }
456
457 .extended_header {
458 width: 99.5%;
459 }
460
461 div.chunk_block {
462 overflow: hidden;
463 }
464
465 div.chunk_block div.old {
466 float: left;
467 width: 50%;
468 overflow: hidden;
469 border-right: 5px solid #EAF2F5;
470 }
471
472 div.chunk_block.rem,
473 div.chunk_block.add {
474 background: transparent;
475 }
476
477 div.chunk_block div.old .add,
478 div.chunk_block div.old .rem {
479 padding-right: 3px;
480 }
481
482 div.chunk_block div.new .add,
483 div.chunk_block div.new .rem {
484 padding-left: 3px;
485 }
486
487 div.chunk_block div.new {
488 margin-left: 50%;
489 width: 50%;
490 border-left: 5px solid #EAF2F5;
491 }
492
493 /* Age
494 ---------------------------------------------------------------------------- */
495
496 /* noage: "No commits" */
497 .project_list td.noage {
498 color: #cdcdcd;
499 }
500
501 /* age2: 60*60*24*2 <= age */
502 .project_list td.age2, .blame td.age2 {
503 color: #545454;
504 }
505
506 /* age1: 60*60*2 <= age < 60*60*24*2 */
507 .project_list td.age1 {
508 color: #009900;
509 }
510
511 /* age0: age < 60*60*2 */
512 .project_list td.age0 {
513 color: #009900;
514 font-weight: bold;
515 }
516
517 /* File status
518 ---------------------------------------------------------------------------- */
519
520 .diff_tree span.file_status.new {
521 color: #008000;
522 }
523
524 table.diff_tree span.file_status.deleted {
525 color: #c00000;
526 }
527
528 table.diff_tree span.file_status.moved,
529 table.diff_tree span.file_status.mode_chnge {
530 color: #545454;
531 }
532
533 table.diff_tree span.file_status.copied {
534 color: #70a070;
535 }
536
537 span.cntrl {
538 border: dashed #aaaaaa;
539 border-width: 1px;
540 padding: 0px 2px 0px 2px;
541 margin: 0px 2px 0px 2px;
542 }
543
544 span.match {
545 background: #aaffaa;
546 color: #000;
547 }
548
549 td.error {
550 color: red;
551 background: yellow;
552 }
553
554 /* blob view */
555
556 td.pre, div.pre, div.diff {
557 white-space: pre-wrap;
558 }
559
560 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
561
562 /* Highlighting theme definition: */
563
564 .num { color:#6ecf36; }
565 .esc { color:#ff00ff; }
566 .str { color:#ff00d3; background-color: #edc9ec }
567 .dstr { color:#818100; }
568 .slc { color:#838183; font-style:italic; }
569 .com { color:#838183; font-style:italic; }
570 .dir { color:#008200; }
571 .sym { color:#000000; }
572 .line { color:#555555; }
573 .kwa { color:#666666; font-weight:bold; }
574 .kwb { color:#6b3099; }
575 .kwc { color:#d4663d; }
576 .kwd { color:#2928ff; }
577