gitweb: Add combined diff support to git_patchset_body
[git/repo.git] / gitweb / gitweb.css
blobe795b70b2b601aa1f823750d073fdaf80f7ee4d7
1 body {
2 font-family: sans-serif;
3 font-size: 12px;
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: 18px;
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_body {
75 padding: 8px;
76 font-family: monospace;
79 div.title, a.title {
80 display: block;
81 padding: 6px 8px;
82 font-weight: bold;
83 background-color: #edece6;
84 text-decoration: none;
85 color: #000000;
88 a.title:hover {
89 background-color: #d9d8d1;
92 div.title_text {
93 padding: 6px 0px;
94 border: solid #d9d8d1;
95 border-width: 0px 0px 1px;
96 font-family: monospace;
99 div.log_body {
100 padding: 8px 8px 8px 150px;
103 span.age {
104 position: relative;
105 float: left;
106 width: 142px;
107 font-style: italic;
110 span.signoff {
111 color: #888888;
114 div.log_link {
115 padding: 0px 8px;
116 font-size: 10px;
117 font-family: sans-serif;
118 font-style: normal;
119 position: relative;
120 float: left;
121 width: 136px;
124 div.list_head {
125 padding: 6px 8px 4px;
126 border: solid #d9d8d1;
127 border-width: 1px 0px 0px;
128 font-style: italic;
131 div.author_date {
132 padding: 8px;
133 border: solid #d9d8d1;
134 border-width: 0px 0px 1px 0px;
135 font-style: italic;
138 a.list {
139 text-decoration: none;
140 color: #000000;
143 a.subject, a.name {
144 font-weight: bold;
147 table.tags a.subject {
148 font-weight: normal;
151 a.list:hover {
152 text-decoration: underline;
153 color: #880000;
156 a.text {
157 text-decoration: none;
158 color: #0000cc;
161 a.text:visited {
162 text-decoration: none;
163 color: #880000;
166 a.text:hover {
167 text-decoration: underline;
168 color: #880000;
171 table {
172 padding: 8px 4px;
175 table.project_list {
176 border-spacing: 0;
179 table.diff_tree {
180 border-spacing: 0;
181 font-family: monospace;
184 table.combined.diff_tree td {
185 padding-right: 24px;
188 table.combined.diff_tree td.link {
189 padding: 0px 2px;
192 table.combined.diff_tree td.nochange a {
193 color: #6666ff;
196 table.combined.diff_tree td.nochange a:hover,
197 table.combined.diff_tree td.nochange a:visited {
198 color: #d06666;
201 table.blame {
202 border-collapse: collapse;
205 table.blame td {
206 padding: 0px 5px;
207 font-size: 12px;
208 vertical-align: top;
211 th {
212 padding: 2px 5px;
213 font-size: 12px;
214 text-align: left;
217 tr.light:hover {
218 background-color: #edece6;
221 tr.dark {
222 background-color: #f6f6f0;
225 tr.dark2 {
226 background-color: #f6f6f0;
229 tr.dark:hover {
230 background-color: #edece6;
233 td {
234 padding: 2px 5px;
235 font-size: 12px;
236 vertical-align: top;
239 td.link, td.selflink {
240 padding: 2px 5px;
241 font-family: sans-serif;
242 font-size: 10px;
245 td.selflink {
246 padding-right: 0px;
249 td.sha1 {
250 font-family: monospace;
253 td.error {
254 color: red;
255 background-color: yellow;
258 td.current_head {
259 text-decoration: underline;
262 table.diff_tree span.file_status.new {
263 color: #008000;
266 table.diff_tree span.file_status.deleted {
267 color: #c00000;
270 table.diff_tree span.file_status.moved,
271 table.diff_tree span.file_status.mode_chnge {
272 color: #777777;
275 table.diff_tree span.file_status.copied {
276 color: #70a070;
279 /* age2: 60*60*24*2 <= age */
280 table.project_list td.age2, table.blame td.age2 {
281 font-style: italic;
284 /* age1: 60*60*2 <= age < 60*60*24*2 */
285 table.project_list td.age1 {
286 color: #009900;
287 font-style: italic;
290 table.blame td.age1 {
291 color: #009900;
292 background: transparent;
295 /* age0: age < 60*60*2 */
296 table.project_list td.age0 {
297 color: #009900;
298 font-style: italic;
299 font-weight: bold;
302 table.blame td.age0 {
303 color: #009900;
304 background: transparent;
305 font-weight: bold;
308 td.pre, div.pre, div.diff {
309 font-family: monospace;
310 font-size: 12px;
311 white-space: pre;
314 td.mode {
315 font-family: monospace;
318 /* styling of diffs (patchsets): commitdiff and blobdiff views */
319 div.diff.header,
320 div.diff.extended_header {
321 white-space: normal;
324 div.diff.header {
325 font-weight: bold;
327 background-color: #edece6;
329 margin-top: 4px;
330 padding: 4px 0px 2px 0px;
331 border: solid #d9d8d1;
332 border-width: 1px 0px 1px 0px;
335 div.diff.header a.path {
336 text-decoration: underline;
339 div.diff.extended_header,
340 div.diff.extended_header a.path,
341 div.diff.extended_header a.hash {
342 color: #777777;
345 div.diff.extended_header .info {
346 color: #b0b0b0;
349 div.diff.extended_header {
350 background-color: #f6f5ee;
351 padding: 2px 0px 2px 0px;
354 div.diff a.list,
355 div.diff a.path,
356 div.diff a.hash {
357 text-decoration: none;
360 div.diff a.list:hover,
361 div.diff a.path:hover,
362 div.diff a.hash:hover {
363 text-decoration: underline;
366 div.diff.to_file a.path,
367 div.diff.to_file {
368 color: #007000;
371 div.diff.add {
372 color: #008800;
375 div.diff.from_file a.path,
376 div.diff.from_file {
377 color: #aa0000;
380 div.diff.rem {
381 color: #cc0000;
384 div.diff.chunk_header a,
385 div.diff.chunk_header {
386 color: #990099;
389 div.diff.chunk_header {
390 border: dotted #ffe0ff;
391 border-width: 1px 0px 0px 0px;
392 margin-top: 2px;
395 div.diff.chunk_header span.chunk_info {
396 background-color: #ffeeff;
399 div.diff.chunk_header span.section {
400 color: #aa22aa;
403 div.diff.incomplete {
404 color: #cccccc;
407 div.diff.nodifferences {
408 font-weight: bold;
409 color: #600000;
412 div.index_include {
413 border: solid #d9d8d1;
414 border-width: 0px 0px 1px;
415 padding: 12px 8px;
418 div.search {
419 font-size: 12px;
420 font-weight: normal;
421 margin: 4px 8px;
422 position: absolute;
423 top: 56px;
424 right: 12px
427 td.linenr {
428 text-align: right;
431 a.linenr {
432 color: #999999;
433 text-decoration: none
436 a.rss_logo {
437 float: right;
438 padding: 3px 0px;
439 width: 35px;
440 line-height: 10px;
441 border: 1px solid;
442 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
443 color: #ffffff;
444 background-color: #ff6600;
445 font-weight: bold;
446 font-family: sans-serif;
447 font-size: 10px;
448 text-align: center;
449 text-decoration: none;
452 a.rss_logo:hover {
453 background-color: #ee5500;
456 span.refs span {
457 padding: 0px 4px;
458 font-size: 10px;
459 font-weight: normal;
460 border: 1px solid;
461 background-color: #ffaaff;
462 border-color: #ffccff #ff00ee #ff00ee #ffccff;
465 span.refs span.ref {
466 background-color: #aaaaff;
467 border-color: #ccccff #0033cc #0033cc #ccccff;
470 span.refs span.tag {
471 background-color: #ffffaa;
472 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
475 span.refs span.head {
476 background-color: #aaffaa;
477 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
480 span.atnight {
481 color: #cc0000;
484 span.match {
485 color: #e00000;