]> Lady’s Gitweb - Git/blob - static/gitweb.css
Initial commit
[Git] / static / gitweb.css
1 /*
2 SPDX-FileCopyrightText: 2007 Petr Baudis <pasky@suse.cz>
3 SPDX-FileCopyrightText: 2008-2011 Jakub Narebski <jnareb@gmail.com>
4 SPDX-License-Identifier: GPL-2.0-only
5 */
6
7 body {
8 font-family: sans-serif;
9 font-size: small;
10 border: solid #d9d8d1;
11 border-width: 1px;
12 margin: 10px;
13 background-color: #ffffff;
14 color: #000000;
15 }
16
17 a {
18 color: #0000cc;
19 }
20
21 a:hover, a:visited, a:active {
22 color: #880000;
23 }
24
25 span.cntrl {
26 border: dashed #aaaaaa;
27 border-width: 1px;
28 padding: 0px 2px 0px 2px;
29 margin: 0px 2px 0px 2px;
30 }
31
32 img.logo {
33 float: right;
34 border-width: 0px;
35 }
36
37 img.avatar {
38 vertical-align: middle;
39 }
40
41 img.blob {
42 max-height: 100%;
43 max-width: 100%;
44 }
45
46 a.list img.avatar {
47 border-style: none;
48 }
49
50 div.page_header {
51 height: 25px;
52 padding: 8px;
53 font-size: 150%;
54 font-weight: bold;
55 background-color: #d9d8d1;
56 }
57
58 div.page_header a:visited, a.header {
59 color: #0000cc;
60 }
61
62 div.page_header a:hover {
63 color: #880000;
64 }
65
66 div.page_nav {
67 padding: 8px;
68 }
69
70 div.page_nav a:visited {
71 color: #0000cc;
72 }
73
74 div.page_path {
75 padding: 8px;
76 font-weight: bold;
77 border: solid #d9d8d1;
78 border-width: 0px 0px 1px;
79 }
80
81 div.page_footer {
82 height: 22px;
83 padding: 4px 8px;
84 background-color: #d9d8d1;
85 }
86
87 div.page_footer_text {
88 line-height: 22px;
89 float: left;
90 color: #555555;
91 font-style: italic;
92 }
93
94 div#generating_info {
95 margin: 4px;
96 font-size: smaller;
97 text-align: center;
98 color: #505050;
99 }
100
101 div.page_body {
102 padding: 8px;
103 font-family: monospace;
104 }
105
106 div.title, a.title {
107 display: block;
108 padding: 6px 8px;
109 font-weight: bold;
110 background-color: #edece6;
111 text-decoration: none;
112 color: #000000;
113 }
114
115 div.readme {
116 padding: 8px;
117 }
118
119 a.title:hover {
120 background-color: #d9d8d1;
121 }
122
123 div.title_text {
124 padding: 6px 0px;
125 border: solid #d9d8d1;
126 border-width: 0px 0px 1px;
127 font-family: monospace;
128 }
129
130 div.log_body {
131 padding: 8px 8px 8px 150px;
132 }
133
134 span.age {
135 position: relative;
136 float: left;
137 width: 142px;
138 font-style: italic;
139 }
140
141 span.signoff {
142 color: #888888;
143 }
144
145 div.log_link {
146 padding: 0px 8px;
147 font-size: 70%;
148 font-family: sans-serif;
149 font-style: normal;
150 position: relative;
151 float: left;
152 width: 136px;
153 }
154
155 div.list_head {
156 padding: 6px 8px 4px;
157 border: solid #d9d8d1;
158 border-width: 1px 0px 0px;
159 font-style: italic;
160 }
161
162 .author_date, .author {
163 font-style: italic;
164 }
165
166 div.author_date {
167 padding: 8px;
168 border: solid #d9d8d1;
169 border-width: 0px 0px 1px 0px;
170 }
171
172 a.list {
173 text-decoration: none;
174 color: #000000;
175 }
176
177 a.subject, a.name {
178 font-weight: bold;
179 }
180
181 table.tags a.subject {
182 font-weight: normal;
183 }
184
185 a.list:hover {
186 text-decoration: underline;
187 color: #880000;
188 }
189
190 a.text {
191 text-decoration: none;
192 color: #0000cc;
193 }
194
195 a.text:visited {
196 text-decoration: none;
197 color: #880000;
198 }
199
200 a.text:hover {
201 text-decoration: underline;
202 color: #880000;
203 }
204
205 table {
206 padding: 8px 4px;
207 border-spacing: 0;
208 }
209
210 table.diff_tree {
211 font-family: monospace;
212 }
213
214 table.combined.diff_tree th {
215 text-align: center;
216 }
217
218 table.combined.diff_tree td {
219 padding-right: 24px;
220 }
221
222 table.combined.diff_tree th.link,
223 table.combined.diff_tree td.link {
224 padding: 0px 2px;
225 }
226
227 table.combined.diff_tree td.nochange a {
228 color: #6666ff;
229 }
230
231 table.combined.diff_tree td.nochange a:hover,
232 table.combined.diff_tree td.nochange a:visited {
233 color: #d06666;
234 }
235
236 table.blame {
237 border-collapse: collapse;
238 }
239
240 table.blame td {
241 padding: 0px 5px;
242 font-size: 100%;
243 vertical-align: top;
244 }
245
246 th {
247 padding: 2px 5px;
248 font-size: 100%;
249 text-align: left;
250 }
251
252 /* do not change row style on hover for 'blame' view */
253 tr.light,
254 table.blame .light:hover {
255 background-color: #ffffff;
256 }
257
258 tr.dark,
259 table.blame .dark:hover {
260 background-color: #f6f6f0;
261 }
262
263 /* currently both use the same, but it can change */
264 tr.light:hover,
265 tr.dark:hover {
266 background-color: #edece6;
267 }
268
269 /* boundary commits in 'blame' view */
270 /* and commits without "previous" */
271 tr.boundary td.sha1,
272 tr.no-previous td.linenr {
273 font-weight: bold;
274 }
275
276 /* for 'blame_incremental', during processing */
277 tr.color1 { background-color: #f6fff6; }
278 tr.color2 { background-color: #f6f6ff; }
279 tr.color3 { background-color: #fff6f6; }
280
281 td {
282 padding: 2px 5px;
283 font-size: 100%;
284 vertical-align: top;
285 }
286
287 td.link, td.selflink {
288 padding: 2px 5px;
289 font-family: sans-serif;
290 font-size: 70%;
291 }
292
293 td.selflink {
294 padding-right: 0px;
295 }
296
297 td.sha1 {
298 font-family: monospace;
299 }
300
301 .error {
302 color: red;
303 background-color: yellow;
304 }
305
306 td.current_head {
307 text-decoration: underline;
308 }
309
310 td.category {
311 background-color: #d9d8d1;
312 border-top: 1px solid #000000;
313 border-left: 1px solid #000000;
314 font-weight: bold;
315 }
316
317 table.diff_tree span.file_status.new {
318 color: #008000;
319 }
320
321 table.diff_tree span.file_status.deleted {
322 color: #c00000;
323 }
324
325 table.diff_tree span.file_status.moved,
326 table.diff_tree span.file_status.mode_chnge {
327 color: #777777;
328 }
329
330 table.diff_tree span.file_status.copied {
331 color: #70a070;
332 }
333
334 /* noage: "No commits" */
335 table.project_list td.noage {
336 color: #808080;
337 font-style: italic;
338 }
339
340 /* age2: 60*60*24*2 <= age */
341 table.project_list td.age2, table.blame td.age2 {
342 font-style: italic;
343 }
344
345 /* age1: 60*60*2 <= age < 60*60*24*2 */
346 table.project_list td.age1 {
347 color: #009900;
348 font-style: italic;
349 }
350
351 table.blame td.age1 {
352 color: #009900;
353 background: transparent;
354 }
355
356 /* age0: age < 60*60*2 */
357 table.project_list td.age0 {
358 color: #009900;
359 font-style: italic;
360 font-weight: bold;
361 }
362
363 table.blame td.age0 {
364 color: #009900;
365 background: transparent;
366 font-weight: bold;
367 }
368
369 td.pre, div.pre, div.diff {
370 font-family: monospace;
371 font-size: 12px;
372 white-space: pre;
373 }
374
375 td.mode {
376 font-family: monospace;
377 }
378
379 /* progress of blame_interactive */
380 div#progress_bar {
381 height: 2px;
382 margin-bottom: -2px;
383 background-color: #d8d9d0;
384 }
385 div#progress_info {
386 float: right;
387 text-align: right;
388 }
389
390 /* format of (optional) objects size in 'tree' view */
391 td.size {
392 font-family: monospace;
393 text-align: right;
394 }
395
396 /* styling of diffs (patchsets): commitdiff and blobdiff views */
397 div.diff.header,
398 div.diff.extended_header {
399 white-space: normal;
400 }
401
402 div.diff.header {
403 font-weight: bold;
404
405 background-color: #edece6;
406
407 margin-top: 4px;
408 padding: 4px 0px 2px 0px;
409 border: solid #d9d8d1;
410 border-width: 1px 0px 1px 0px;
411 }
412
413 div.diff.header a.path {
414 text-decoration: underline;
415 }
416
417 div.diff.extended_header,
418 div.diff.extended_header a.path,
419 div.diff.extended_header a.hash {
420 color: #777777;
421 }
422
423 div.diff.extended_header .info {
424 color: #b0b0b0;
425 }
426
427 div.diff.extended_header {
428 background-color: #f6f5ee;
429 padding: 2px 0px 2px 0px;
430 }
431
432 div.diff a.list,
433 div.diff a.path,
434 div.diff a.hash {
435 text-decoration: none;
436 }
437
438 div.diff a.list:hover,
439 div.diff a.path:hover,
440 div.diff a.hash:hover {
441 text-decoration: underline;
442 }
443
444 div.diff.to_file a.path,
445 div.diff.to_file {
446 color: #007000;
447 }
448
449 div.diff.add {
450 color: #008800;
451 }
452
453 div.diff.add span.marked {
454 background-color: #aaffaa;
455 }
456
457 div.diff.from_file a.path,
458 div.diff.from_file {
459 color: #aa0000;
460 }
461
462 div.diff.rem {
463 color: #cc0000;
464 }
465
466 div.diff.rem span.marked {
467 background-color: #ffaaaa;
468 }
469
470 div.diff.chunk_header a,
471 div.diff.chunk_header {
472 color: #990099;
473 }
474
475 div.diff.chunk_header {
476 border: dotted #ffe0ff;
477 border-width: 1px 0px 0px 0px;
478 margin-top: 2px;
479 }
480
481 div.diff.chunk_header span.chunk_info {
482 background-color: #ffeeff;
483 }
484
485 div.diff.chunk_header span.section {
486 color: #aa22aa;
487 }
488
489 div.diff.incomplete {
490 color: #cccccc;
491 }
492
493 div.diff.nodifferences {
494 font-weight: bold;
495 color: #600000;
496 }
497
498 /* side-by-side diff */
499 div.chunk_block {
500 overflow: hidden;
501 }
502
503 div.chunk_block div.old {
504 float: left;
505 width: 50%;
506 overflow: hidden;
507 }
508
509 div.chunk_block div.new {
510 margin-left: 50%;
511 width: 50%;
512 }
513
514 div.chunk_block.rem div.old div.diff.rem {
515 background-color: #fff5f5;
516 }
517 div.chunk_block.add div.new div.diff.add {
518 background-color: #f8fff8;
519 }
520 div.chunk_block.chg div div.diff {
521 background-color: #fffff0;
522 }
523 div.chunk_block.ctx div div.diff.ctx {
524 color: #404040;
525 }
526
527
528 div.index_include {
529 border: solid #d9d8d1;
530 border-width: 0px 0px 1px;
531 padding: 12px 8px;
532 }
533
534 div.search {
535 font-size: 100%;
536 font-weight: normal;
537 margin: 4px 8px;
538 float: right;
539 top: 56px;
540 right: 12px
541 }
542
543 div.projsearch {
544 text-align: center;
545 margin: 20px 0px;
546 }
547
548 div.projsearch form {
549 margin-bottom: 2px;
550 }
551
552 td.linenr {
553 text-align: right;
554 }
555
556 a.linenr {
557 color: #999999;
558 text-decoration: none
559 }
560
561 a.rss_logo {
562 float: right;
563 padding: 3px 5px;
564 line-height: 10px;
565 border: 1px solid;
566 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
567 color: #ffffff;
568 background-color: #ff6600;
569 font-weight: bold;
570 font-family: sans-serif;
571 font-size: 70%;
572 text-align: center;
573 text-decoration: none;
574 }
575
576 a.rss_logo:hover {
577 background-color: #ee5500;
578 }
579
580 a.rss_logo.generic {
581 background-color: #ff8800;
582 }
583
584 a.rss_logo.generic:hover {
585 background-color: #ee7700;
586 }
587
588 span.refs span {
589 padding: 0px 4px;
590 font-size: 70%;
591 font-weight: normal;
592 border: 1px solid;
593 background-color: #ffaaff;
594 border-color: #ffccff #ff00ee #ff00ee #ffccff;
595 }
596
597 span.refs span a {
598 text-decoration: none;
599 color: inherit;
600 }
601
602 span.refs span a:hover {
603 text-decoration: underline;
604 }
605
606 span.refs span.indirect {
607 font-style: italic;
608 }
609
610 span.refs span.ref {
611 background-color: #aaaaff;
612 border-color: #ccccff #0033cc #0033cc #ccccff;
613 }
614
615 span.refs span.tag {
616 background-color: #ffffaa;
617 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
618 }
619
620 span.refs span.head {
621 background-color: #aaffaa;
622 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
623 }
624
625 span.atnight {
626 color: #cc0000;
627 }
628
629 span.match {
630 color: #e00000;
631 }
632
633 div.binary {
634 font-style: italic;
635 }
636
637 div.remote {
638 margin: .5em;
639 border: 1px solid #d9d8d1;
640 display: inline-block;
641 }
642
643 /* JavaScript-based timezone manipulation */
644
645 .popup { /* timezone selection UI */
646 position: absolute;
647 /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
648 top: 0; left: 0;
649 border: 1px solid;
650 padding: 2px;
651 background-color: #f0f0f0;
652 font-style: normal;
653 color: #000000;
654 cursor: auto;
655 }
656
657 .close-button { /* close timezone selection UI without selecting */
658 /* float doesn't work within absolutely positioned container,
659 * if width of container is not set explicitly */
660 /* float: right; */
661 position: absolute;
662 top: 0px; right: 0px;
663 border: 1px solid green;
664 margin: 1px 1px 1px 1px;
665 padding-bottom: 2px;
666 width: 12px;
667 height: 10px;
668 font-size: 9px;
669 font-weight: bold;
670 text-align: center;
671 background-color: #fff0f0;
672 cursor: pointer;
673 }
674
675
676 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
677
678 /* Highlighting theme definition: */
679
680 .num { color:#2928ff; }
681 .esc { color:#ff00ff; }
682 .str { color:#ff0000; }
683 .dstr { color:#818100; }
684 .slc { color:#838183; font-style:italic; }
685 .com { color:#838183; font-style:italic; }
686 .dir { color:#008200; }
687 .sym { color:#000000; }
688 .line { color:#555555; }
689 .kwa { color:#000000; font-weight:bold; }
690 .kwb { color:#830000; }
691 .kwc { color:#000000; font-weight:bold; }
692 .kwd { color:#010181; }
This page took 0.195854 seconds and 5 git commands to generate.