Merge branch 'next' into refs/top-bases/pu
[git/gitweb.git] / gitweb / gitweb.css
blob30e57797de2ca96d7d6180a508a8ce5d3e1e6d20
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.page_body {
83 padding: 8px;
84 font-family: monospace;
87 div.title, a.title {
88 display: block;
89 padding: 6px 8px;
90 font-weight: bold;
91 background-color: #edece6;
92 text-decoration: none;
93 color: #000000;
96 div.stale_info {
97 display: block;
98 text-align: right;
99 font-style: italic;
102 div.readme {
103 padding: 8px;
106 a.title:hover {
107 background-color: #d9d8d1;
110 div.title_text {
111 padding: 6px 0px;
112 border: solid #d9d8d1;
113 border-width: 0px 0px 1px;
114 font-family: monospace;
117 div.log_body {
118 padding: 8px 8px 8px 150px;
121 span.age {
122 position: relative;
123 float: left;
124 width: 142px;
125 font-style: italic;
128 span.signoff {
129 color: #888888;
132 div.log_link {
133 padding: 0px 8px;
134 font-size: 70%;
135 font-family: sans-serif;
136 font-style: normal;
137 position: relative;
138 float: left;
139 width: 136px;
142 div.list_head {
143 padding: 6px 8px 4px;
144 border: solid #d9d8d1;
145 border-width: 1px 0px 0px;
146 font-style: italic;
149 .author_date, .author {
150 font-style: italic;
153 div.author_date {
154 padding: 8px;
155 border: solid #d9d8d1;
156 border-width: 0px 0px 1px 0px;
159 a.list {
160 text-decoration: none;
161 color: #000000;
164 a.subject, a.name {
165 font-weight: bold;
168 table.tags a.subject {
169 font-weight: normal;
172 a.list:hover {
173 text-decoration: underline;
174 color: #880000;
177 a.text {
178 text-decoration: none;
179 color: #0000cc;
182 a.text:visited {
183 text-decoration: none;
184 color: #880000;
187 a.text:hover {
188 text-decoration: underline;
189 color: #880000;
192 table {
193 padding: 8px 4px;
194 border-spacing: 0;
197 table.diff_tree {
198 font-family: monospace;
201 table.combined.diff_tree th {
202 text-align: center;
205 table.combined.diff_tree td {
206 padding-right: 24px;
209 table.combined.diff_tree th.link,
210 table.combined.diff_tree td.link {
211 padding: 0px 2px;
214 table.combined.diff_tree td.nochange a {
215 color: #6666ff;
218 table.combined.diff_tree td.nochange a:hover,
219 table.combined.diff_tree td.nochange a:visited {
220 color: #d06666;
223 table.blame {
224 border-collapse: collapse;
227 table.blame td {
228 padding: 0px 5px;
229 font-size: 100%;
230 vertical-align: top;
233 th {
234 padding: 2px 5px;
235 font-size: 100%;
236 text-align: left;
239 /* do not change row style on hover for 'blame' view */
240 tr.light,
241 table.blame .light:hover {
242 background-color: #ffffff;
245 tr.dark,
246 table.blame .dark:hover {
247 background-color: #f6f6f0;
250 /* currently both use the same, but it can change */
251 tr.light:hover,
252 tr.dark:hover {
253 background-color: #edece6;
256 /* boundary commits in 'blame' view */
257 /* and commits without "previous" */
258 tr.boundary td.sha1,
259 tr.no-previous td.linenr {
260 font-weight: bold;
263 td {
264 padding: 2px 5px;
265 font-size: 100%;
266 vertical-align: top;
269 td.link, td.selflink {
270 padding: 2px 5px;
271 font-family: sans-serif;
272 font-size: 70%;
275 td.selflink {
276 padding-right: 0px;
279 td.sha1 {
280 font-family: monospace;
283 .error {
284 color: red;
285 background-color: yellow;
288 td.current_head {
289 text-decoration: underline;
292 table.diff_tree span.file_status.new {
293 color: #008000;
296 table.diff_tree span.file_status.deleted {
297 color: #c00000;
300 table.diff_tree span.file_status.moved,
301 table.diff_tree span.file_status.mode_chnge {
302 color: #777777;
305 table.diff_tree span.file_status.copied {
306 color: #70a070;
309 /* noage: "No commits" */
310 table.project_list td.noage {
311 color: #808080;
312 font-style: italic;
315 /* age2: 60*60*24*2 <= age */
316 table.project_list td.age2, table.blame td.age2 {
317 font-style: italic;
320 /* age1: 60*60*2 <= age < 60*60*24*2 */
321 table.project_list td.age1 {
322 color: #009900;
323 font-style: italic;
326 table.blame td.age1 {
327 color: #009900;
328 background: transparent;
331 /* age0: age < 60*60*2 */
332 table.project_list td.age0 {
333 color: #009900;
334 font-style: italic;
335 font-weight: bold;
338 table.blame td.age0 {
339 color: #009900;
340 background: transparent;
341 font-weight: bold;
344 td.pre, div.pre, div.diff {
345 font-family: monospace;
346 font-size: 12px;
347 white-space: pre;
350 td.mode {
351 font-family: monospace;
354 /* format of (optional) objects size in 'tree' view */
355 td.size {
356 font-family: monospace;
357 text-align: right;
360 /* styling of diffs (patchsets): commitdiff and blobdiff views */
361 div.diff.header,
362 div.diff.extended_header {
363 white-space: normal;
366 div.diff.header {
367 font-weight: bold;
369 background-color: #edece6;
371 margin-top: 4px;
372 padding: 4px 0px 2px 0px;
373 border: solid #d9d8d1;
374 border-width: 1px 0px 1px 0px;
377 div.diff.header a.path {
378 text-decoration: underline;
381 div.diff.extended_header,
382 div.diff.extended_header a.path,
383 div.diff.extended_header a.hash {
384 color: #777777;
387 div.diff.extended_header .info {
388 color: #b0b0b0;
391 div.diff.extended_header {
392 background-color: #f6f5ee;
393 padding: 2px 0px 2px 0px;
396 div.diff a.list,
397 div.diff a.path,
398 div.diff a.hash {
399 text-decoration: none;
402 div.diff a.list:hover,
403 div.diff a.path:hover,
404 div.diff a.hash:hover {
405 text-decoration: underline;
408 div.diff.to_file a.path,
409 div.diff.to_file {
410 color: #007000;
413 div.diff.add {
414 color: #008800;
417 div.diff.from_file a.path,
418 div.diff.from_file {
419 color: #aa0000;
422 div.diff.rem {
423 color: #cc0000;
426 div.diff.chunk_header a,
427 div.diff.chunk_header {
428 color: #990099;
431 div.diff.chunk_header {
432 border: dotted #ffe0ff;
433 border-width: 1px 0px 0px 0px;
434 margin-top: 2px;
437 div.diff.chunk_header span.chunk_info {
438 background-color: #ffeeff;
441 div.diff.chunk_header span.section {
442 color: #aa22aa;
445 div.diff.incomplete {
446 color: #cccccc;
449 div.diff.nodifferences {
450 font-weight: bold;
451 color: #600000;
454 div.index_include {
455 border: solid #d9d8d1;
456 border-width: 0px 0px 1px;
457 padding: 12px 8px;
460 div.search {
461 font-size: 100%;
462 font-weight: normal;
463 margin: 4px 8px;
464 float: right;
465 top: 56px;
466 right: 12px
469 p.projsearch {
470 text-align: center;
473 td.linenr {
474 text-align: right;
477 a.linenr {
478 color: #999999;
479 text-decoration: none
482 a.rss_logo {
483 float: right;
484 padding: 3px 0px;
485 width: 35px;
486 line-height: 10px;
487 border: 1px solid;
488 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
489 color: #ffffff;
490 background-color: #ff6600;
491 font-weight: bold;
492 font-family: sans-serif;
493 font-size: 70%;
494 text-align: center;
495 text-decoration: none;
498 a.rss_logo:hover {
499 background-color: #ee5500;
502 a.rss_logo.generic {
503 background-color: #ff8800;
506 a.rss_logo.generic:hover {
507 background-color: #ee7700;
510 span.refs span {
511 padding: 0px 4px;
512 font-size: 70%;
513 font-weight: normal;
514 border: 1px solid;
515 background-color: #ffaaff;
516 border-color: #ffccff #ff00ee #ff00ee #ffccff;
519 span.refs span a {
520 text-decoration: none;
521 color: inherit;
524 span.refs span a:hover {
525 text-decoration: underline;
528 span.refs span.indirect {
529 font-style: italic;
532 span.refs span.ref {
533 background-color: #aaaaff;
534 border-color: #ccccff #0033cc #0033cc #ccccff;
537 span.refs span.tag {
538 background-color: #ffffaa;
539 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
542 span.refs span.head {
543 background-color: #aaffaa;
544 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
547 span.atnight {
548 color: #cc0000;
551 span.match {
552 color: #e00000;
555 div.binary {
556 font-style: italic;
559 /* This selector is hardcoded in gitweb.perl */
560 .extra_column {
561 display: none;