gitweb: Incremental blame (using JavaScript)
[git/jnareb-git.git] / gitweb / gitweb.css
blob4a2e496568cb6b24fe54f0b668e58c4c428ee4f3
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 div.page_header {
36 height: 25px;
37 padding: 8px;
38 font-size: 150%;
39 font-weight: bold;
40 background-color: #d9d8d1;
43 div.page_header a:visited, a.header {
44 color: #0000cc;
47 div.page_header a:hover {
48 color: #880000;
51 div.page_nav {
52 padding: 8px;
55 div.page_nav a:visited {
56 color: #0000cc;
59 div.page_path {
60 padding: 8px;
61 font-weight: bold;
62 border: solid #d9d8d1;
63 border-width: 0px 0px 1px;
66 div.page_footer {
67 height: 17px;
68 padding: 4px 8px;
69 background-color: #d9d8d1;
72 div.page_footer_text {
73 float: left;
74 color: #555555;
75 font-style: italic;
78 div#generating_info {
79 margin: 4px;
80 font-size: smaller;
81 text-align: center;
82 color: #505050;
85 div.page_body {
86 padding: 8px;
87 font-family: monospace;
90 div.title, a.title {
91 display: block;
92 padding: 6px 8px;
93 font-weight: bold;
94 background-color: #edece6;
95 text-decoration: none;
96 color: #000000;
99 div.readme {
100 padding: 8px;
103 a.title:hover {
104 background-color: #d9d8d1;
107 div.title_text {
108 padding: 6px 0px;
109 border: solid #d9d8d1;
110 border-width: 0px 0px 1px;
111 font-family: monospace;
114 div.log_body {
115 padding: 8px 8px 8px 150px;
118 span.age {
119 position: relative;
120 float: left;
121 width: 142px;
122 font-style: italic;
125 span.signoff {
126 color: #888888;
129 div.log_link {
130 padding: 0px 8px;
131 font-size: 70%;
132 font-family: sans-serif;
133 font-style: normal;
134 position: relative;
135 float: left;
136 width: 136px;
139 div.list_head {
140 padding: 6px 8px 4px;
141 border: solid #d9d8d1;
142 border-width: 1px 0px 0px;
143 font-style: italic;
146 .author_date, .author {
147 font-style: italic;
150 div.author_date {
151 padding: 8px;
152 border: solid #d9d8d1;
153 border-width: 0px 0px 1px 0px;
156 a.list {
157 text-decoration: none;
158 color: #000000;
161 a.subject, a.name {
162 font-weight: bold;
165 table.tags a.subject {
166 font-weight: normal;
169 a.list:hover {
170 text-decoration: underline;
171 color: #880000;
174 a.text {
175 text-decoration: none;
176 color: #0000cc;
179 a.text:visited {
180 text-decoration: none;
181 color: #880000;
184 a.text:hover {
185 text-decoration: underline;
186 color: #880000;
189 table {
190 padding: 8px 4px;
191 border-spacing: 0;
194 table.diff_tree {
195 font-family: monospace;
198 table.combined.diff_tree th {
199 text-align: center;
202 table.combined.diff_tree td {
203 padding-right: 24px;
206 table.combined.diff_tree th.link,
207 table.combined.diff_tree td.link {
208 padding: 0px 2px;
211 table.combined.diff_tree td.nochange a {
212 color: #6666ff;
215 table.combined.diff_tree td.nochange a:hover,
216 table.combined.diff_tree td.nochange a:visited {
217 color: #d06666;
220 table.blame {
221 border-collapse: collapse;
224 table.blame td {
225 padding: 0px 5px;
226 font-size: 100%;
227 vertical-align: top;
230 th {
231 padding: 2px 5px;
232 font-size: 100%;
233 text-align: left;
236 /* do not change row style on hover for 'blame' view */
237 tr.light,
238 table.blame .light:hover {
239 background-color: #ffffff;
242 tr.dark,
243 table.blame .dark:hover {
244 background-color: #f6f6f0;
247 /* currently both use the same, but it can change */
248 tr.light:hover,
249 tr.dark:hover {
250 background-color: #edece6;
253 /* boundary commits in 'blame' view */
254 /* and commits without "previous" */
255 tr.boundary td.sha1,
256 tr.no-previous td.linenr {
257 font-weight: bold;
260 td {
261 padding: 2px 5px;
262 font-size: 100%;
263 vertical-align: top;
266 td.link, td.selflink {
267 padding: 2px 5px;
268 font-family: sans-serif;
269 font-size: 70%;
272 td.selflink {
273 padding-right: 0px;
276 td.sha1 {
277 font-family: monospace;
280 .error {
281 color: red;
282 background-color: yellow;
285 td.current_head {
286 text-decoration: underline;
289 table.diff_tree span.file_status.new {
290 color: #008000;
293 table.diff_tree span.file_status.deleted {
294 color: #c00000;
297 table.diff_tree span.file_status.moved,
298 table.diff_tree span.file_status.mode_chnge {
299 color: #777777;
302 table.diff_tree span.file_status.copied {
303 color: #70a070;
306 /* noage: "No commits" */
307 table.project_list td.noage {
308 color: #808080;
309 font-style: italic;
312 /* age2: 60*60*24*2 <= age */
313 table.project_list td.age2, table.blame td.age2 {
314 font-style: italic;
317 /* age1: 60*60*2 <= age < 60*60*24*2 */
318 table.project_list td.age1 {
319 color: #009900;
320 font-style: italic;
323 table.blame td.age1 {
324 color: #009900;
325 background: transparent;
328 /* age0: age < 60*60*2 */
329 table.project_list td.age0 {
330 color: #009900;
331 font-style: italic;
332 font-weight: bold;
335 table.blame td.age0 {
336 color: #009900;
337 background: transparent;
338 font-weight: bold;
341 td.pre, div.pre, div.diff {
342 font-family: monospace;
343 font-size: 12px;
344 white-space: pre;
347 td.mode {
348 font-family: monospace;
351 /* progress of blame_interactive */
352 div#progress_bar {
353 height: 2px;
354 margin-bottom: -2px;
355 background-color: #d8d9d0;
357 div#progress_info {
358 float: right;
359 text-align: right;
362 /* styling of diffs (patchsets): commitdiff and blobdiff views */
363 div.diff.header,
364 div.diff.extended_header {
365 white-space: normal;
368 div.diff.header {
369 font-weight: bold;
371 background-color: #edece6;
373 margin-top: 4px;
374 padding: 4px 0px 2px 0px;
375 border: solid #d9d8d1;
376 border-width: 1px 0px 1px 0px;
379 div.diff.header a.path {
380 text-decoration: underline;
383 div.diff.extended_header,
384 div.diff.extended_header a.path,
385 div.diff.extended_header a.hash {
386 color: #777777;
389 div.diff.extended_header .info {
390 color: #b0b0b0;
393 div.diff.extended_header {
394 background-color: #f6f5ee;
395 padding: 2px 0px 2px 0px;
398 div.diff a.list,
399 div.diff a.path,
400 div.diff a.hash {
401 text-decoration: none;
404 div.diff a.list:hover,
405 div.diff a.path:hover,
406 div.diff a.hash:hover {
407 text-decoration: underline;
410 div.diff.to_file a.path,
411 div.diff.to_file {
412 color: #007000;
415 div.diff.add {
416 color: #008800;
419 div.diff.from_file a.path,
420 div.diff.from_file {
421 color: #aa0000;
424 div.diff.rem {
425 color: #cc0000;
428 div.diff.chunk_header a,
429 div.diff.chunk_header {
430 color: #990099;
433 div.diff.chunk_header {
434 border: dotted #ffe0ff;
435 border-width: 1px 0px 0px 0px;
436 margin-top: 2px;
439 div.diff.chunk_header span.chunk_info {
440 background-color: #ffeeff;
443 div.diff.chunk_header span.section {
444 color: #aa22aa;
447 div.diff.incomplete {
448 color: #cccccc;
451 div.diff.nodifferences {
452 font-weight: bold;
453 color: #600000;
456 div.index_include {
457 border: solid #d9d8d1;
458 border-width: 0px 0px 1px;
459 padding: 12px 8px;
462 div.search {
463 font-size: 100%;
464 font-weight: normal;
465 margin: 4px 8px;
466 float: right;
467 top: 56px;
468 right: 12px
471 p.projsearch {
472 text-align: center;
475 td.linenr {
476 text-align: right;
479 a.linenr {
480 color: #999999;
481 text-decoration: none
484 a.rss_logo {
485 float: right;
486 padding: 3px 0px;
487 width: 35px;
488 line-height: 10px;
489 border: 1px solid;
490 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
491 color: #ffffff;
492 background-color: #ff6600;
493 font-weight: bold;
494 font-family: sans-serif;
495 font-size: 70%;
496 text-align: center;
497 text-decoration: none;
500 a.rss_logo:hover {
501 background-color: #ee5500;
504 a.rss_logo.generic {
505 background-color: #ff8800;
508 a.rss_logo.generic:hover {
509 background-color: #ee7700;
512 span.refs span {
513 padding: 0px 4px;
514 font-size: 70%;
515 font-weight: normal;
516 border: 1px solid;
517 background-color: #ffaaff;
518 border-color: #ffccff #ff00ee #ff00ee #ffccff;
521 span.refs span a {
522 text-decoration: none;
523 color: inherit;
526 span.refs span a:hover {
527 text-decoration: underline;
530 span.refs span.indirect {
531 font-style: italic;
534 span.refs span.ref {
535 background-color: #aaaaff;
536 border-color: #ccccff #0033cc #0033cc #ccccff;
539 span.refs span.tag {
540 background-color: #ffffaa;
541 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
544 span.refs span.head {
545 background-color: #aaffaa;
546 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
549 span.atnight {
550 color: #cc0000;
553 span.match {
554 color: #e00000;
557 div.binary {
558 font-style: italic;