01d86d96c106f7aa99e609a8e61a363ac7dc2f1e
[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 .author .avatar,
362 .author_date .avatar {
363 position: relative;
364 top: 3px;
365 }
366
367 .object_header .avatar {
368 border: 1px solid #D8D8D8;
369 float: right;
370 }
371
372 .object_header td,
373 .object_header th {
374 vertical-align: top;
375 }
376
377 /* Refs
378 ---------------------------------------------------------------------------- */
379
380 span.refs span {
381 color: #000;
382 padding: 0px 4px;
383 font-size: 10px;
384 font-weight: normal;
385 border: 1px solid;
386 background-color: #ffaaff;
387 border-color: #ffccff #ff00ee #ff00ee #ffccff;
388 }
389
390 span.refs span.ref {
391 background-color: #aaaaff;
392 border-color: #ccccff #0033cc #0033cc #ccccff;
393 }
394
395 span.refs span.tag {
396 background-color: #ffffaa;
397 border-color: #ffffcc #dccd00 #dccd00 #ffffcc;
398 }
399
400 span.refs span.head {
401 background-color: #aaffaa;
402 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
403 }
404
405 span.refs a {
406 color: #000;
407 }
408
409 /* Diffs
410 ---------------------------------------------------------------------------- */
411
412 div.diff.to_file a.path,
413 div.diff.to_file {
414 color: #007000;
415 }
416
417 div.diff.from_file a.path,
418 div.diff.from_file {
419 color: #aa0000;
420 }
421
422 .patch .header {
423 margin: 0;
424 }
425
426 .patchset {
427 overflow-x: auto;
428 overflow-y: hidden;
429 }
430
431 .chunk_header {
432 background: #eaf2f5;
433 color: #999;
434 }
435
436 .rem {
437 background: #ffdddd;
438 }
439 .add {
440 background: #ddffdd;
441 }
442
443 .extended_header {
444 width: 99.5%;
445 }
446
447 div.chunk_block {
448 overflow: hidden;
449 }
450
451 div.chunk_block div.old {
452 float: left;
453 width: 50%;
454 overflow: hidden;
455 border-right: 5px solid #EAF2F5;
456 }
457
458 div.chunk_block.rem,
459 div.chunk_block.add {
460 background: transparent;
461 }
462
463 div.chunk_block div.old .add,
464 div.chunk_block div.old .rem {
465 padding-right: 3px;
466 }
467
468 div.chunk_block div.new .add,
469 div.chunk_block div.new .rem {
470 padding-left: 3px;
471 }
472
473 div.chunk_block div.new {
474 margin-left: 50%;
475 width: 50%;
476 border-left: 5px solid #EAF2F5;
477 }
478
479 /* Age
480 ---------------------------------------------------------------------------- */
481
482 /* noage: "No commits" */
483 .project_list td.noage {
484 color: #cdcdcd;
485 }
486
487 /* age2: 60*60*24*2 <= age */
488 .project_list td.age2, .blame td.age2 {
489 color: #545454;
490 }
491
492 /* age1: 60*60*2 <= age < 60*60*24*2 */
493 .project_list td.age1 {
494 color: #009900;
495 }
496
497 /* age0: age < 60*60*2 */
498 .project_list td.age0 {
499 color: #009900;
500 font-weight: bold;
501 }
502
503 /* File status
504 ---------------------------------------------------------------------------- */
505
506 .diff_tree span.file_status.new {
507 color: #008000;
508 }
509
510 table.diff_tree span.file_status.deleted {
511 color: #c00000;
512 }
513
514 table.diff_tree span.file_status.moved,
515 table.diff_tree span.file_status.mode_chnge {
516 color: #545454;
517 }
518
519 table.diff_tree span.file_status.copied {
520 color: #70a070;
521 }
522
523 span.cntrl {
524 border: dashed #aaaaaa;
525 border-width: 1px;
526 padding: 0px 2px 0px 2px;
527 margin: 0px 2px 0px 2px;
528 }
529
530 span.match {
531 background: #aaffaa;
532 color: #000;
533 }
534
535 td.error {
536 color: red;
537 background: yellow;
538 }
539
540 /* blob view */
541
542 td.pre, div.pre, div.diff {
543 white-space: pre;
544 }
545
546 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
547
548 /* Highlighting theme definition: */
549
550 .num { color:#6ecf36; }
551 .esc { color:#ff00ff; }
552 .str { color:#ff00d3; background-color: #edc9ec }
553 .dstr { color:#818100; }
554 .slc { color:#838183; font-style:italic; }
555 .com { color:#838183; font-style:italic; }
556 .dir { color:#008200; }
557 .sym { color:#000000; }
558 .line { color:#555555; }
559 .kwa { color:#666666; font-weight:bold; }
560 .kwb { color:#6b3099; }
561 .kwc { color:#d4663d; }
562 .kwd { color:#2928ff; }
563