Made it compatible to Gitweb 1.7.12
[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 /* Elements
182 ---------------------------------------------------------------------------- */
183
184 .project_list,
185 .shortlog,
186 .tree,
187 .commit_search,
188 .history {
189 width: 95%;
190 margin: 0 auto 15px auto;
191 border: 1px solid #d8d8d8;
192 -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
193 -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
194 box-shadow: 0 0 3px rgba(0,0,0,0.2);
195 }
196
197 .project_list th,
198 .shortlog th,
199 .tree th,
200 .commit_search th {
201 color: #afafaf;
202 font-weight: normal;
203 }
204
205 .project_list th {
206 font-weight: bold;
207 }
208
209 .project_list tr,
210 .shortlog tr,
211 .tree tr,
212 .commit_search tr {
213 background: #eaeaea;
214 height: 2.5em;
215 text-align: left;
216 color: #545454;
217 }
218
219 .project_list tr.dark, .project_list tr.light,
220 .shortlog tr.dark, .shortlog tr.light,
221 .tree tr.dark, .tree tr.light,
222 .commit_search tr.dark, .commit_search tr.light,
223 .history tr.dark, .history tr.light,
224 .heads tr.dark, .heads tr.light {
225 background: #F9F9F9; /* old browsers */
226 background: -moz-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%); /* firefox */
227 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F9F9F9), color-stop(100%,#EFEFEF)); /* webkit */
228 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F9F9F9', endColorstr='#EFEFEF',GradientType=0 ); /* ie */
229 background: -o-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%);
230 height: 2.5em;
231 border-bottom: 1px solid #e1e1e1;
232 }
233
234 th .header {
235 background: transparent;
236 border: 0;
237 padding: 0;
238 font-weight: bold;
239 }
240
241 .tree {
242 width: 100%;
243 margin: 0;
244 }
245
246 .projsearch {
247 position: absolute;
248 right: 4%;
249 top: 15px;
250 }
251
252 .projsearch a {
253 display: none;
254 }
255
256 .commit_search {
257 background: #eaeaea;
258 }
259
260 .page_nav,
261 .list_head,
262 .page_path,
263 .search {
264 width: 94%;
265 background: #eaeaea;
266 color: #545454;
267 border: 1px solid #d8d8d8;
268 padding: 5px;
269 margin: 0 auto 15px auto;
270 }
271
272 .history {
273 background: #eaeaea;
274 }
275
276 .title {
277 width: 95%;
278 padding: 5px;
279 margin: 0 auto 15px auto;
280 }
281
282 .projects_list,
283 .tags {
284 width: 95%;
285 background: #f0f0f0;
286 color: #545454;
287 border: 1px solid #d8d8d8;
288 padding: 5px;
289 margin: 0 auto 15px auto;
290 }
291
292 .heads {
293 width: 95%;
294 color: #545454;
295 border: 1px solid #d8d8d8;
296 padding: 5px;
297 margin: 0 auto 15px auto;
298 }
299
300 .header {
301 width: 94%;
302 margin: 0 auto 15px auto;
303 background: #eaf2f5;
304 border: 1px solid #bedce7;
305 padding: 5px;
306 }
307
308 .header .age {
309 float: left;
310 color: #000;
311 font-weight: bold;
312 width: 10em;
313 }
314
315 .title_text {
316 width: 94%;
317 background: #eaf2f5;
318 border: 1px solid #bedce7;
319 padding: 5px;
320 margin: 0 auto 0 auto;
321 }
322
323 .log_body {
324 width: 94%;
325 background: #eaf2f5;
326 border: 1px solid #bedce7;
327 border-top: 0;
328 padding: 5px;
329 margin: 0 auto 15px auto;
330 }
331
332 .page_body {
333 line-height: 1.4em;
334 width: 94%;
335 background: #f8f8f8;
336 border: 1px solid #d8d8d8;
337 padding: 5px;
338 margin: 15px auto 15px auto;
339 }
340
341 .diff_tree {
342 width: 95%;
343 background: #f0f0f0;
344 border: 1px solid #d8d8d8;
345 padding: 5px;
346 margin: 0 auto 15px auto;
347 }
348
349 .page_body > .list_head {
350 width: 98.5%;
351 }
352
353 .page_body > .diff_tree {
354 width: 99.5%;
355 }
356
357 .patch > .header {
358 width: 99%;
359 }
360
361 /* Refs
362 ---------------------------------------------------------------------------- */
363
364 span.refs span {
365 color: #000;
366 padding: 0px 4px;
367 font-size: 10px;
368 font-weight: normal;
369 border: 1px solid;
370 background-color: #ffaaff;
371 border-color: #ffccff #ff00ee #ff00ee #ffccff;
372 }
373
374 span.refs span.ref {
375 background-color: #aaaaff;
376 border-color: #ccccff #0033cc #0033cc #ccccff;
377 }
378
379 span.refs span.tag {
380 background-color: #ffffaa;
381 border-color: #ffffcc #dccd00 #dccd00 #ffffcc;
382 }
383
384 span.refs span.head {
385 background-color: #aaffaa;
386 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
387 }
388
389 span.refs a {
390 color: #000;
391 }
392
393 /* Diffs
394 ---------------------------------------------------------------------------- */
395
396 div.diff.to_file a.path,
397 div.diff.to_file {
398 color: #007000;
399 }
400
401 div.diff.from_file a.path,
402 div.diff.from_file {
403 color: #aa0000;
404 }
405
406 .patch .header {
407 margin: 0;
408 }
409
410 .patchset {
411 overflow-x: auto;
412 overflow-y: hidden;
413 }
414
415 .chunk_header {
416 background: #eaf2f5;
417 color: #999;
418 }
419
420 .rem {
421 background: #ffdddd;
422 }
423 .add {
424 background: #ddffdd;
425 }
426
427 .extended_header {
428 width: 99.5%;
429 }
430
431 div.chunk_block {
432 overflow: hidden;
433 }
434
435 div.chunk_block div.old {
436 float: left;
437 width: 50%;
438 overflow: hidden;
439 border-right: 5px solid #EAF2F5;
440 }
441
442 div.chunk_block.rem,
443 div.chunk_block.add {
444 background: transparent;
445 }
446
447 div.chunk_block div.old .add,
448 div.chunk_block div.old .rem {
449 padding-right: 3px;
450 }
451
452 div.chunk_block div.new .add,
453 div.chunk_block div.new .rem {
454 padding-left: 3px;
455 }
456
457 div.chunk_block div.new {
458 margin-left: 50%;
459 width: 50%;
460 border-left: 5px solid #EAF2F5;
461 }
462
463 /* Age
464 ---------------------------------------------------------------------------- */
465
466 /* noage: "No commits" */
467 .project_list td.noage {
468 color: #cdcdcd;
469 }
470
471 /* age2: 60*60*24*2 <= age */
472 .project_list td.age2, .blame td.age2 {
473 color: #545454;
474 }
475
476 /* age1: 60*60*2 <= age < 60*60*24*2 */
477 .project_list td.age1 {
478 color: #009900;
479 }
480
481 /* age0: age < 60*60*2 */
482 .project_list td.age0 {
483 color: #009900;
484 font-weight: bold;
485 }
486
487 /* File status
488 ---------------------------------------------------------------------------- */
489
490 .diff_tree span.file_status.new {
491 color: #008000;
492 }
493
494 table.diff_tree span.file_status.deleted {
495 color: #c00000;
496 }
497
498 table.diff_tree span.file_status.moved,
499 table.diff_tree span.file_status.mode_chnge {
500 color: #545454;
501 }
502
503 table.diff_tree span.file_status.copied {
504 color: #70a070;
505 }
506
507 span.cntrl {
508 border: dashed #aaaaaa;
509 border-width: 1px;
510 padding: 0px 2px 0px 2px;
511 margin: 0px 2px 0px 2px;
512 }
513
514 span.match {
515 background: #aaffaa;
516 color: #000;
517 }
518
519 td.error {
520 color: red;
521 background: yellow;
522 }
523
524 /* blob view */
525
526 td.pre, div.pre, div.diff {
527 white-space: pre;
528 }
529
530 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
531
532 /* Highlighting theme definition: */
533
534 .num { color:#6ecf36; }
535 .esc { color:#ff00ff; }
536 .str { color:#ff00d3; background-color: #edc9ec }
537 .dstr { color:#818100; }
538 .slc { color:#838183; font-style:italic; }
539 .com { color:#838183; font-style:italic; }
540 .dir { color:#008200; }
541 .sym { color:#000000; }
542 .line { color:#555555; }
543 .kwa { color:#666666; font-weight:bold; }
544 .kwb { color:#6b3099; }
545 .kwc { color:#d4663d; }
546 .kwd { color:#2928ff; }