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