Merge branch 't/projlist-cache/caching' into refs/top-bases/pu
[git/gitweb.git] / gitweb / gitweb.css
blob7455fa7f5c73ac955999234fcfd3ebc6289769bc
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 p.projectlist_link {
107 text-align: center;
108 font-weight: bold;
111 a.title:hover {
112 background-color: #d9d8d1;
115 div.title_text {
116 padding: 6px 0px;
117 border: solid #d9d8d1;
118 border-width: 0px 0px 1px;
119 font-family: monospace;
122 div.log_body {
123 padding: 8px 8px 8px 150px;
126 span.age {
127 position: relative;
128 float: left;
129 width: 142px;
130 font-style: italic;
133 span.signoff {
134 color: #888888;
137 div.log_link {
138 padding: 0px 8px;
139 font-size: 70%;
140 font-family: sans-serif;
141 font-style: normal;
142 position: relative;
143 float: left;
144 width: 136px;
147 div.list_head {
148 padding: 6px 8px 4px;
149 border: solid #d9d8d1;
150 border-width: 1px 0px 0px;
151 font-style: italic;
154 .author_date, .author {
155 font-style: italic;
158 div.author_date {
159 padding: 8px;
160 border: solid #d9d8d1;
161 border-width: 0px 0px 1px 0px;
164 a.list {
165 text-decoration: none;
166 color: #000000;
169 a.subject, a.name {
170 font-weight: bold;
173 table.tags a.subject {
174 font-weight: normal;
177 a.list:hover {
178 text-decoration: underline;
179 color: #880000;
182 a.text {
183 text-decoration: none;
184 color: #0000cc;
187 a.text:visited {
188 text-decoration: none;
189 color: #880000;
192 a.text:hover {
193 text-decoration: underline;
194 color: #880000;
197 table {
198 padding: 8px 4px;
199 border-spacing: 0;
202 table.diff_tree {
203 font-family: monospace;
206 table.combined.diff_tree th {
207 text-align: center;
210 table.combined.diff_tree td {
211 padding-right: 24px;
214 table.combined.diff_tree th.link,
215 table.combined.diff_tree td.link {
216 padding: 0px 2px;
219 table.combined.diff_tree td.nochange a {
220 color: #6666ff;
223 table.combined.diff_tree td.nochange a:hover,
224 table.combined.diff_tree td.nochange a:visited {
225 color: #d06666;
228 table.blame {
229 border-collapse: collapse;
232 table.blame td {
233 padding: 0px 5px;
234 font-size: 100%;
235 vertical-align: top;
238 th {
239 padding: 2px 5px;
240 font-size: 100%;
241 text-align: left;
244 /* do not change row style on hover for 'blame' view */
245 tr.light,
246 table.blame .light:hover {
247 background-color: #ffffff;
250 tr.dark,
251 table.blame .dark:hover {
252 background-color: #f6f6f0;
255 /* currently both use the same, but it can change */
256 tr.light:hover,
257 tr.dark:hover {
258 background-color: #edece6;
261 /* boundary commits in 'blame' view */
262 /* and commits without "previous" */
263 tr.boundary td.sha1,
264 tr.no-previous td.linenr {
265 font-weight: bold;
268 td {
269 padding: 2px 5px;
270 font-size: 100%;
271 vertical-align: top;
274 td.link, td.selflink {
275 padding: 2px 5px;
276 font-family: sans-serif;
277 font-size: 70%;
280 td.selflink {
281 padding-right: 0px;
284 td.sha1 {
285 font-family: monospace;
288 .error {
289 color: red;
290 background-color: yellow;
293 td.current_head {
294 text-decoration: underline;
297 table.diff_tree span.file_status.new {
298 color: #008000;
301 table.diff_tree span.file_status.deleted {
302 color: #c00000;
305 table.diff_tree span.file_status.moved,
306 table.diff_tree span.file_status.mode_chnge {
307 color: #777777;
310 table.diff_tree span.file_status.copied {
311 color: #70a070;
314 /* noage: "No commits" */
315 table.project_list td.noage {
316 color: #808080;
317 font-style: italic;
320 /* age2: 60*60*24*2 <= age */
321 table.project_list td.age2, table.blame td.age2 {
322 font-style: italic;
325 /* age1: 60*60*2 <= age < 60*60*24*2 */
326 table.project_list td.age1 {
327 color: #009900;
328 font-style: italic;
331 table.blame td.age1 {
332 color: #009900;
333 background: transparent;
336 /* age0: age < 60*60*2 */
337 table.project_list td.age0 {
338 color: #009900;
339 font-style: italic;
340 font-weight: bold;
343 table.blame td.age0 {
344 color: #009900;
345 background: transparent;
346 font-weight: bold;
349 td.pre, div.pre, div.diff {
350 font-family: monospace;
351 font-size: 12px;
352 white-space: pre;
355 td.mode {
356 font-family: monospace;
359 /* format of (optional) objects size in 'tree' view */
360 td.size {
361 font-family: monospace;
362 text-align: right;
365 /* styling of diffs (patchsets): commitdiff and blobdiff views */
366 div.diff.header,
367 div.diff.extended_header {
368 white-space: normal;
371 div.diff.header {
372 font-weight: bold;
374 background-color: #edece6;
376 margin-top: 4px;
377 padding: 4px 0px 2px 0px;
378 border: solid #d9d8d1;
379 border-width: 1px 0px 1px 0px;
382 div.diff.header a.path {
383 text-decoration: underline;
386 div.diff.extended_header,
387 div.diff.extended_header a.path,
388 div.diff.extended_header a.hash {
389 color: #777777;
392 div.diff.extended_header .info {
393 color: #b0b0b0;
396 div.diff.extended_header {
397 background-color: #f6f5ee;
398 padding: 2px 0px 2px 0px;
401 div.diff a.list,
402 div.diff a.path,
403 div.diff a.hash {
404 text-decoration: none;
407 div.diff a.list:hover,
408 div.diff a.path:hover,
409 div.diff a.hash:hover {
410 text-decoration: underline;
413 div.diff.to_file a.path,
414 div.diff.to_file {
415 color: #007000;
418 div.diff.add {
419 color: #008800;
422 div.diff.from_file a.path,
423 div.diff.from_file {
424 color: #aa0000;
427 div.diff.rem {
428 color: #cc0000;
431 div.diff.chunk_header a,
432 div.diff.chunk_header {
433 color: #990099;
436 div.diff.chunk_header {
437 border: dotted #ffe0ff;
438 border-width: 1px 0px 0px 0px;
439 margin-top: 2px;
442 div.diff.chunk_header span.chunk_info {
443 background-color: #ffeeff;
446 div.diff.chunk_header span.section {
447 color: #aa22aa;
450 div.diff.incomplete {
451 color: #cccccc;
454 div.diff.nodifferences {
455 font-weight: bold;
456 color: #600000;
459 div.index_include {
460 border: solid #d9d8d1;
461 border-width: 0px 0px 1px;
462 padding: 12px 8px;
465 div.search {
466 font-size: 100%;
467 font-weight: normal;
468 margin: 4px 8px;
469 float: right;
470 top: 56px;
471 right: 12px
474 p.projsearch {
475 text-align: center;
478 td.linenr {
479 text-align: right;
482 a.linenr {
483 color: #999999;
484 text-decoration: none
487 a.rss_logo {
488 float: right;
489 padding: 3px 0px;
490 width: 35px;
491 line-height: 10px;
492 border: 1px solid;
493 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
494 color: #ffffff;
495 background-color: #ff6600;
496 font-weight: bold;
497 font-family: sans-serif;
498 font-size: 70%;
499 text-align: center;
500 text-decoration: none;
503 a.rss_logo:hover {
504 background-color: #ee5500;
507 a.rss_logo.generic {
508 background-color: #ff8800;
511 a.rss_logo.generic:hover {
512 background-color: #ee7700;
515 span.refs span {
516 padding: 0px 4px;
517 font-size: 70%;
518 font-weight: normal;
519 border: 1px solid;
520 background-color: #ffaaff;
521 border-color: #ffccff #ff00ee #ff00ee #ffccff;
524 span.refs span a {
525 text-decoration: none;
526 color: inherit;
529 span.refs span a:hover {
530 text-decoration: underline;
533 span.refs span.indirect {
534 font-style: italic;
537 span.refs span.ref {
538 background-color: #aaaaff;
539 border-color: #ccccff #0033cc #0033cc #ccccff;
542 span.refs span.tag {
543 background-color: #ffffaa;
544 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
547 span.refs span.head {
548 background-color: #aaffaa;
549 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
552 span.atnight {
553 color: #cc0000;
556 span.match {
557 color: #e00000;
560 div.binary {
561 font-style: italic;
564 /* This selector is hardcoded in gitweb.perl */
565 .extra_column {
566 display: none;