gitweb: use new Git::Repo API, and add optional caching
[git/gitweb-caching.git] / gitweb / gitweb.css
blob849bb8e5c71d1bac5ef753fd1b2561ce3687c746
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 div.page_header {
32 height: 25px;
33 padding: 8px;
34 font-size: 150%;
35 font-weight: bold;
36 background-color: #d9d8d1;
39 div.page_header a:visited, a.header {
40 color: #0000cc;
43 div.page_header a:hover {
44 color: #880000;
47 div.page_nav {
48 padding: 8px;
51 div.page_nav a:visited {
52 color: #0000cc;
55 div.page_path {
56 padding: 8px;
57 font-weight: bold;
58 border: solid #d9d8d1;
59 border-width: 0px 0px 1px;
62 div.page_footer {
63 height: 17px;
64 padding: 4px 8px;
65 background-color: #d9d8d1;
68 div.page_footer_text {
69 float: left;
70 color: #555555;
71 font-style: italic;
74 div.page_info {
75 color: #777777;
76 padding: 4px 8px;
77 margin-top: 0.5em;
78 background-color: #ecebe8;
81 div.page_info p {
82 margin: 0px;
83 padding: 0px;
86 pre.cache_list {
87 margin: 0.5em 2em;
90 div.page_body {
91 padding: 8px;
92 font-family: monospace;
95 div.title, a.title {
96 display: block;
97 padding: 6px 8px;
98 font-weight: bold;
99 background-color: #edece6;
100 text-decoration: none;
101 color: #000000;
104 div.readme {
105 padding: 8px;
108 a.title:hover {
109 background-color: #d9d8d1;
112 div.title_text {
113 padding: 6px 0px;
114 border: solid #d9d8d1;
115 border-width: 0px 0px 1px;
116 font-family: monospace;
119 div.log_body {
120 padding: 8px 8px 8px 150px;
123 span.age {
124 position: relative;
125 float: left;
126 width: 142px;
127 font-style: italic;
130 span.signoff {
131 color: #888888;
134 div.log_link {
135 padding: 0px 8px;
136 font-size: 70%;
137 font-family: sans-serif;
138 font-style: normal;
139 position: relative;
140 float: left;
141 width: 136px;
144 div.list_head {
145 padding: 6px 8px 4px;
146 border: solid #d9d8d1;
147 border-width: 1px 0px 0px;
148 font-style: italic;
151 div.author_date {
152 padding: 8px;
153 border: solid #d9d8d1;
154 border-width: 0px 0px 1px 0px;
155 font-style: italic;
158 a.list {
159 text-decoration: none;
160 color: #000000;
163 a.subject, a.name {
164 font-weight: bold;
167 table.tags a.subject {
168 font-weight: normal;
171 a.list:hover {
172 text-decoration: underline;
173 color: #880000;
176 a.text {
177 text-decoration: none;
178 color: #0000cc;
181 a.text:visited {
182 text-decoration: none;
183 color: #880000;
186 a.text:hover {
187 text-decoration: underline;
188 color: #880000;
191 table {
192 padding: 8px 4px;
193 border-spacing: 0;
196 table.diff_tree {
197 font-family: monospace;
200 table.combined.diff_tree th {
201 text-align: center;
204 table.combined.diff_tree td {
205 padding-right: 24px;
208 table.combined.diff_tree th.link,
209 table.combined.diff_tree td.link {
210 padding: 0px 2px;
213 table.combined.diff_tree td.nochange a {
214 color: #6666ff;
217 table.combined.diff_tree td.nochange a:hover,
218 table.combined.diff_tree td.nochange a:visited {
219 color: #d06666;
222 table.blame {
223 border-collapse: collapse;
226 table.blame td {
227 padding: 0px 5px;
228 font-size: 100%;
229 vertical-align: top;
232 th {
233 padding: 2px 5px;
234 font-size: 100%;
235 text-align: left;
238 tr.light:hover {
239 background-color: #edece6;
242 tr.dark {
243 background-color: #f6f6f0;
246 tr.dark2 {
247 background-color: #f6f6f0;
250 tr.dark:hover {
251 background-color: #edece6;
254 td {
255 padding: 2px 5px;
256 font-size: 100%;
257 vertical-align: top;
260 td.link, td.selflink {
261 padding: 2px 5px;
262 font-family: sans-serif;
263 font-size: 70%;
266 td.selflink {
267 padding-right: 0px;
270 td.sha1 {
271 font-family: monospace;
274 td.error {
275 color: red;
276 background-color: yellow;
279 td.current_head {
280 text-decoration: underline;
283 table.diff_tree span.file_status.new {
284 color: #008000;
287 table.diff_tree span.file_status.deleted {
288 color: #c00000;
291 table.diff_tree span.file_status.moved,
292 table.diff_tree span.file_status.mode_chnge {
293 color: #777777;
296 table.diff_tree span.file_status.copied {
297 color: #70a070;
300 /* noage: "No commits" */
301 table.project_list td.noage {
302 color: #808080;
303 font-style: italic;
306 /* age2: 60*60*24*2 <= age */
307 table.project_list td.age2, table.blame td.age2 {
308 font-style: italic;
311 /* age1: 60*60*2 <= age < 60*60*24*2 */
312 table.project_list td.age1 {
313 color: #009900;
314 font-style: italic;
317 table.blame td.age1 {
318 color: #009900;
319 background: transparent;
322 /* age0: age < 60*60*2 */
323 table.project_list td.age0 {
324 color: #009900;
325 font-style: italic;
326 font-weight: bold;
329 table.blame td.age0 {
330 color: #009900;
331 background: transparent;
332 font-weight: bold;
335 td.pre, div.pre, div.diff {
336 font-family: monospace;
337 font-size: 12px;
338 white-space: pre;
341 td.mode {
342 font-family: monospace;
345 /* styling of diffs (patchsets): commitdiff and blobdiff views */
346 div.diff.header,
347 div.diff.extended_header {
348 white-space: normal;
351 div.diff.header {
352 font-weight: bold;
354 background-color: #edece6;
356 margin-top: 4px;
357 padding: 4px 0px 2px 0px;
358 border: solid #d9d8d1;
359 border-width: 1px 0px 1px 0px;
362 div.diff.header a.path {
363 text-decoration: underline;
366 div.diff.extended_header,
367 div.diff.extended_header a.path,
368 div.diff.extended_header a.hash {
369 color: #777777;
372 div.diff.extended_header .info {
373 color: #b0b0b0;
376 div.diff.extended_header {
377 background-color: #f6f5ee;
378 padding: 2px 0px 2px 0px;
381 div.diff a.list,
382 div.diff a.path,
383 div.diff a.hash {
384 text-decoration: none;
387 div.diff a.list:hover,
388 div.diff a.path:hover,
389 div.diff a.hash:hover {
390 text-decoration: underline;
393 div.diff.to_file a.path,
394 div.diff.to_file {
395 color: #007000;
398 div.diff.add {
399 color: #008800;
402 div.diff.from_file a.path,
403 div.diff.from_file {
404 color: #aa0000;
407 div.diff.rem {
408 color: #cc0000;
411 div.diff.chunk_header a,
412 div.diff.chunk_header {
413 color: #990099;
416 div.diff.chunk_header {
417 border: dotted #ffe0ff;
418 border-width: 1px 0px 0px 0px;
419 margin-top: 2px;
422 div.diff.chunk_header span.chunk_info {
423 background-color: #ffeeff;
426 div.diff.chunk_header span.section {
427 color: #aa22aa;
430 div.diff.incomplete {
431 color: #cccccc;
434 div.diff.nodifferences {
435 font-weight: bold;
436 color: #600000;
439 div.index_include {
440 border: solid #d9d8d1;
441 border-width: 0px 0px 1px;
442 padding: 12px 8px;
445 div.search {
446 font-size: 100%;
447 font-weight: normal;
448 margin: 4px 8px;
449 float: right;
450 top: 56px;
451 right: 12px
454 td.linenr {
455 text-align: right;
458 a.linenr {
459 color: #999999;
460 text-decoration: none
463 a.rss_logo {
464 float: right;
465 padding: 3px 0px;
466 width: 35px;
467 line-height: 10px;
468 border: 1px solid;
469 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
470 color: #ffffff;
471 background-color: #ff6600;
472 font-weight: bold;
473 font-family: sans-serif;
474 font-size: 70%;
475 text-align: center;
476 text-decoration: none;
479 a.rss_logo:hover {
480 background-color: #ee5500;
483 a.rss_logo.generic {
484 background-color: #ff8800;
487 a.rss_logo.generic:hover {
488 background-color: #ee7700;
491 span.refs span {
492 padding: 0px 4px;
493 font-size: 70%;
494 font-weight: normal;
495 border: 1px solid;
496 background-color: #ffaaff;
497 border-color: #ffccff #ff00ee #ff00ee #ffccff;
500 span.refs span.ref {
501 background-color: #aaaaff;
502 border-color: #ccccff #0033cc #0033cc #ccccff;
505 span.refs span.tag {
506 background-color: #ffffaa;
507 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
510 span.refs span.head {
511 background-color: #aaffaa;
512 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
515 span.atnight {
516 color: #cc0000;
519 span.match {
520 color: #e00000;
523 div.binary {
524 font-style: italic;