bundle: add parse_bundle_header() helper function
[git.git] / gitweb / static / gitweb.css
blob7d88509208417e4b1222629002ea339ecc32526e
1 body {
2 font-family: sans-serif;
3 font-size: small;
4 border: solid #d9d8d1;
5 border-width: 1px;
6 margin: 10px;
7 background-color: #ffffff;
8 color: #000000;
11 a {
12 color: #0000cc;
15 a:hover, a:visited, a:active {
16 color: #880000;
19 span.cntrl {
20 border: dashed #aaaaaa;
21 border-width: 1px;
22 padding: 0px 2px 0px 2px;
23 margin: 0px 2px 0px 2px;
26 img.logo {
27 float: right;
28 border-width: 0px;
31 img.avatar {
32 vertical-align: middle;
35 a.list img.avatar {
36 border-style: none;
39 div.page_header {
40 height: 25px;
41 padding: 8px;
42 font-size: 150%;
43 font-weight: bold;
44 background-color: #d9d8d1;
47 div.page_header a:visited, a.header {
48 color: #0000cc;
51 div.page_header a:hover {
52 color: #880000;
55 div.page_nav {
56 padding: 8px;
59 div.page_nav a:visited {
60 color: #0000cc;
63 div.page_path {
64 padding: 8px;
65 font-weight: bold;
66 border: solid #d9d8d1;
67 border-width: 0px 0px 1px;
70 div.page_footer {
71 height: 17px;
72 padding: 4px 8px;
73 background-color: #d9d8d1;
76 div.page_footer_text {
77 float: left;
78 color: #555555;
79 font-style: italic;
82 div#generating_info {
83 margin: 4px;
84 font-size: smaller;
85 text-align: center;
86 color: #505050;
89 div.page_body {
90 padding: 8px;
91 font-family: monospace;
94 div.title, a.title {
95 display: block;
96 padding: 6px 8px;
97 font-weight: bold;
98 background-color: #edece6;
99 text-decoration: none;
100 color: #000000;
103 div.readme {
104 padding: 8px;
107 a.title:hover {
108 background-color: #d9d8d1;
111 div.title_text {
112 padding: 6px 0px;
113 border: solid #d9d8d1;
114 border-width: 0px 0px 1px;
115 font-family: monospace;
118 div.log_body {
119 padding: 8px 8px 8px 150px;
122 span.age {
123 position: relative;
124 float: left;
125 width: 142px;
126 font-style: italic;
129 span.signoff {
130 color: #888888;
133 div.log_link {
134 padding: 0px 8px;
135 font-size: 70%;
136 font-family: sans-serif;
137 font-style: normal;
138 position: relative;
139 float: left;
140 width: 136px;
143 div.list_head {
144 padding: 6px 8px 4px;
145 border: solid #d9d8d1;
146 border-width: 1px 0px 0px;
147 font-style: italic;
150 .author_date, .author {
151 font-style: italic;
154 div.author_date {
155 padding: 8px;
156 border: solid #d9d8d1;
157 border-width: 0px 0px 1px 0px;
160 a.list {
161 text-decoration: none;
162 color: #000000;
165 a.subject, a.name {
166 font-weight: bold;
169 table.tags a.subject {
170 font-weight: normal;
173 a.list:hover {
174 text-decoration: underline;
175 color: #880000;
178 a.text {
179 text-decoration: none;
180 color: #0000cc;
183 a.text:visited {
184 text-decoration: none;
185 color: #880000;
188 a.text:hover {
189 text-decoration: underline;
190 color: #880000;
193 table {
194 padding: 8px 4px;
195 border-spacing: 0;
198 table.diff_tree {
199 font-family: monospace;
202 table.combined.diff_tree th {
203 text-align: center;
206 table.combined.diff_tree td {
207 padding-right: 24px;
210 table.combined.diff_tree th.link,
211 table.combined.diff_tree td.link {
212 padding: 0px 2px;
215 table.combined.diff_tree td.nochange a {
216 color: #6666ff;
219 table.combined.diff_tree td.nochange a:hover,
220 table.combined.diff_tree td.nochange a:visited {
221 color: #d06666;
224 table.blame {
225 border-collapse: collapse;
228 table.blame td {
229 padding: 0px 5px;
230 font-size: 100%;
231 vertical-align: top;
234 th {
235 padding: 2px 5px;
236 font-size: 100%;
237 text-align: left;
240 /* do not change row style on hover for 'blame' view */
241 tr.light,
242 table.blame .light:hover {
243 background-color: #ffffff;
246 tr.dark,
247 table.blame .dark:hover {
248 background-color: #f6f6f0;
251 /* currently both use the same, but it can change */
252 tr.light:hover,
253 tr.dark:hover {
254 background-color: #edece6;
257 /* boundary commits in 'blame' view */
258 /* and commits without "previous" */
259 tr.boundary td.sha1,
260 tr.no-previous td.linenr {
261 font-weight: bold;
264 /* for 'blame_incremental', during processing */
265 tr.color1 { background-color: #f6fff6; }
266 tr.color2 { background-color: #f6f6ff; }
267 tr.color3 { background-color: #fff6f6; }
269 td {
270 padding: 2px 5px;
271 font-size: 100%;
272 vertical-align: top;
275 td.link, td.selflink {
276 padding: 2px 5px;
277 font-family: sans-serif;
278 font-size: 70%;
281 td.selflink {
282 padding-right: 0px;
285 td.sha1 {
286 font-family: monospace;
289 .error {
290 color: red;
291 background-color: yellow;
294 td.current_head {
295 text-decoration: underline;
298 td.category {
299 background-color: #d9d8d1;
300 border-top: 1px solid #000000;
301 border-left: 1px solid #000000;
302 font-weight: bold;
305 table.diff_tree span.file_status.new {
306 color: #008000;
309 table.diff_tree span.file_status.deleted {
310 color: #c00000;
313 table.diff_tree span.file_status.moved,
314 table.diff_tree span.file_status.mode_chnge {
315 color: #777777;
318 table.diff_tree span.file_status.copied {
319 color: #70a070;
322 /* noage: "No commits" */
323 table.project_list td.noage {
324 color: #808080;
325 font-style: italic;
328 /* age2: 60*60*24*2 <= age */
329 table.project_list td.age2, table.blame td.age2 {
330 font-style: italic;
333 /* age1: 60*60*2 <= age < 60*60*24*2 */
334 table.project_list td.age1 {
335 color: #009900;
336 font-style: italic;
339 table.blame td.age1 {
340 color: #009900;
341 background: transparent;
344 /* age0: age < 60*60*2 */
345 table.project_list td.age0 {
346 color: #009900;
347 font-style: italic;
348 font-weight: bold;
351 table.blame td.age0 {
352 color: #009900;
353 background: transparent;
354 font-weight: bold;
357 td.pre, div.pre, div.diff {
358 font-family: monospace;
359 font-size: 12px;
360 white-space: pre;
363 td.mode {
364 font-family: monospace;
367 /* progress of blame_interactive */
368 div#progress_bar {
369 height: 2px;
370 margin-bottom: -2px;
371 background-color: #d8d9d0;
373 div#progress_info {
374 float: right;
375 text-align: right;
378 /* format of (optional) objects size in 'tree' view */
379 td.size {
380 font-family: monospace;
381 text-align: right;
384 /* styling of diffs (patchsets): commitdiff and blobdiff views */
385 div.diff.header,
386 div.diff.extended_header {
387 white-space: normal;
390 div.diff.header {
391 font-weight: bold;
393 background-color: #edece6;
395 margin-top: 4px;
396 padding: 4px 0px 2px 0px;
397 border: solid #d9d8d1;
398 border-width: 1px 0px 1px 0px;
401 div.diff.header a.path {
402 text-decoration: underline;
405 div.diff.extended_header,
406 div.diff.extended_header a.path,
407 div.diff.extended_header a.hash {
408 color: #777777;
411 div.diff.extended_header .info {
412 color: #b0b0b0;
415 div.diff.extended_header {
416 background-color: #f6f5ee;
417 padding: 2px 0px 2px 0px;
420 div.diff a.list,
421 div.diff a.path,
422 div.diff a.hash {
423 text-decoration: none;
426 div.diff a.list:hover,
427 div.diff a.path:hover,
428 div.diff a.hash:hover {
429 text-decoration: underline;
432 div.diff.to_file a.path,
433 div.diff.to_file {
434 color: #007000;
437 div.diff.add {
438 color: #008800;
441 div.diff.from_file a.path,
442 div.diff.from_file {
443 color: #aa0000;
446 div.diff.rem {
447 color: #cc0000;
450 div.diff.chunk_header a,
451 div.diff.chunk_header {
452 color: #990099;
455 div.diff.chunk_header {
456 border: dotted #ffe0ff;
457 border-width: 1px 0px 0px 0px;
458 margin-top: 2px;
461 div.diff.chunk_header span.chunk_info {
462 background-color: #ffeeff;
465 div.diff.chunk_header span.section {
466 color: #aa22aa;
469 div.diff.incomplete {
470 color: #cccccc;
473 div.diff.nodifferences {
474 font-weight: bold;
475 color: #600000;
478 div.index_include {
479 border: solid #d9d8d1;
480 border-width: 0px 0px 1px;
481 padding: 12px 8px;
484 div.search {
485 font-size: 100%;
486 font-weight: normal;
487 margin: 4px 8px;
488 float: right;
489 top: 56px;
490 right: 12px
493 p.projsearch {
494 text-align: center;
497 td.linenr {
498 text-align: right;
501 a.linenr {
502 color: #999999;
503 text-decoration: none
506 a.rss_logo {
507 float: right;
508 padding: 3px 0px;
509 width: 35px;
510 line-height: 10px;
511 border: 1px solid;
512 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
513 color: #ffffff;
514 background-color: #ff6600;
515 font-weight: bold;
516 font-family: sans-serif;
517 font-size: 70%;
518 text-align: center;
519 text-decoration: none;
522 a.rss_logo:hover {
523 background-color: #ee5500;
526 a.rss_logo.generic {
527 background-color: #ff8800;
530 a.rss_logo.generic:hover {
531 background-color: #ee7700;
534 span.refs span {
535 padding: 0px 4px;
536 font-size: 70%;
537 font-weight: normal;
538 border: 1px solid;
539 background-color: #ffaaff;
540 border-color: #ffccff #ff00ee #ff00ee #ffccff;
543 span.refs span a {
544 text-decoration: none;
545 color: inherit;
548 span.refs span a:hover {
549 text-decoration: underline;
552 span.refs span.indirect {
553 font-style: italic;
556 span.refs span.ref {
557 background-color: #aaaaff;
558 border-color: #ccccff #0033cc #0033cc #ccccff;
561 span.refs span.tag {
562 background-color: #ffffaa;
563 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
566 span.refs span.head {
567 background-color: #aaffaa;
568 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
571 span.atnight {
572 color: #cc0000;
575 span.match {
576 color: #e00000;
579 div.binary {
580 font-style: italic;
583 div.remote {
584 margin: .5em;
585 border: 1px solid #d9d8d1;
586 display: inline-block;
589 /* JavaScript-based timezone manipulation */
591 .popup { /* timezone selection UI */
592 position: absolute;
593 /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
594 top: 0; left: 0;
595 border: 1px solid;
596 padding: 2px;
597 background-color: #f0f0f0;
598 font-style: normal;
599 color: #000000;
600 cursor: auto;
603 .close-button { /* close timezone selection UI without selecting */
604 /* float doesn't work within absolutely positioned container,
605 * if width of container is not set explicitly */
606 /* float: right; */
607 position: absolute;
608 top: 0px; right: 0px;
609 border: 1px solid green;
610 margin: 1px 1px 1px 1px;
611 padding-bottom: 2px;
612 width: 12px;
613 height: 10px;
614 font-size: 9px;
615 font-weight: bold;
616 text-align: center;
617 background-color: #fff0f0;
618 cursor: pointer;
622 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
624 /* Highlighting theme definition: */
626 .num { color:#2928ff; }
627 .esc { color:#ff00ff; }
628 .str { color:#ff0000; }
629 .dstr { color:#818100; }
630 .slc { color:#838183; font-style:italic; }
631 .com { color:#838183; font-style:italic; }
632 .dir { color:#008200; }
633 .sym { color:#000000; }
634 .line { color:#555555; }
635 .kwa { color:#000000; font-weight:bold; }
636 .kwb { color:#830000; }
637 .kwc { color:#000000; font-weight:bold; }
638 .kwd { color:#010181; }