gitweb: New improved patchset view
[git/git-p4.git] / gitweb / gitweb.css
blob974b47f19ca61bd5d12ec88229957c3434d23265
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 div.page_body 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.blame {
185 border-collapse: collapse;
188 table.blame td {
189 padding: 0px 5px;
190 font-size: 12px;
191 vertical-align: top;
194 th {
195 padding: 2px 5px;
196 font-size: 12px;
197 text-align: left;
200 tr.light:hover {
201 background-color: #edece6;
204 tr.dark {
205 background-color: #f6f6f0;
208 tr.dark2 {
209 background-color: #f6f6f0;
212 tr.dark:hover {
213 background-color: #edece6;
216 td {
217 padding: 2px 5px;
218 font-size: 12px;
219 vertical-align: top;
222 td.link, td.selflink {
223 padding: 2px 5px;
224 font-family: sans-serif;
225 font-size: 10px;
228 td.selflink {
229 padding-right: 0px;
232 td.sha1 {
233 font-family: monospace;
236 td.error {
237 color: red;
238 background-color: yellow;
241 td.current_head {
242 text-decoration: underline;
245 table.diff_tree span.file_status.new {
246 color: #008000;
249 table.diff_tree span.file_status.deleted {
250 color: #c00000;
253 table.diff_tree span.file_status.moved,
254 table.diff_tree span.file_status.mode_chnge {
255 color: #777777;
258 table.diff_tree span.file_status.copied {
259 color: #70a070;
262 /* age2: 60*60*24*2 <= age */
263 table.project_list td.age2, table.blame td.age2 {
264 font-style: italic;
267 /* age1: 60*60*2 <= age < 60*60*24*2 */
268 table.project_list td.age1 {
269 color: #009900;
270 font-style: italic;
273 table.blame td.age1 {
274 color: #009900;
275 background: transparent;
278 /* age0: age < 60*60*2 */
279 table.project_list td.age0 {
280 color: #009900;
281 font-style: italic;
282 font-weight: bold;
285 table.blame td.age0 {
286 color: #009900;
287 background: transparent;
288 font-weight: bold;
291 td.pre, div.pre, div.diff {
292 font-family: monospace;
293 font-size: 12px;
294 white-space: pre;
297 td.mode {
298 font-family: monospace;
301 /* styling of diffs (patchsets): commitdiff and blobdiff views */
302 div.diff.header,
303 div.diff.extended_header {
304 white-space: normal;
307 div.diff.header {
308 font-weight: bold;
310 background-color: #edece6;
312 margin-top: 4px;
313 padding: 4px 0px 2px 0px;
314 border: solid #d9d8d1;
315 border-width: 1px 0px 1px 0px;
318 div.diff.header a.path {
319 text-decoration: underline;
322 div.diff.extended_header,
323 div.diff.extended_header a.path,
324 div.diff.extended_header a.hash {
325 color: #777777;
328 div.diff.extended_header .info {
329 color: #b0b0b0;
332 div.diff.extended_header {
333 background-color: #f6f5ee;
334 padding: 2px 0px 2px 0px;
337 div.diff a.path,
338 div.diff a.hash {
339 text-decoration: none;
342 div.diff a.path:hover,
343 div.diff a.hash:hover {
344 text-decoration: underline;
347 div.diff.to_file a.path,
348 div.diff.to_file {
349 color: #007000;
352 div.diff.add {
353 color: #008800;
356 div.diff.from_file a.path,
357 div.diff.from_file {
358 color: #aa0000;
361 div.diff.rem {
362 color: #cc0000;
365 div.diff.chunk_header {
366 color: #990099;
368 border: dotted #ffe0ff;
369 border-width: 1px 0px 0px 0px;
370 margin-top: 2px;
373 div.diff.incomplete {
374 color: #cccccc;
378 div.index_include {
379 border: solid #d9d8d1;
380 border-width: 0px 0px 1px;
381 padding: 12px 8px;
384 div.search {
385 font-size: 12px;
386 font-weight: normal;
387 margin: 4px 8px;
388 position: absolute;
389 top: 56px;
390 right: 12px
393 td.linenr {
394 text-align: right;
397 a.linenr {
398 color: #999999;
399 text-decoration: none
402 a.rss_logo {
403 float: right;
404 padding: 3px 0px;
405 width: 35px;
406 line-height: 10px;
407 border: 1px solid;
408 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
409 color: #ffffff;
410 background-color: #ff6600;
411 font-weight: bold;
412 font-family: sans-serif;
413 font-size: 10px;
414 text-align: center;
415 text-decoration: none;
418 a.rss_logo:hover {
419 background-color: #ee5500;
422 span.refs span {
423 padding: 0px 4px;
424 font-size: 10px;
425 font-weight: normal;
426 border: 1px solid;
427 background-color: #ffaaff;
428 border-color: #ffccff #ff00ee #ff00ee #ffccff;
431 span.refs span.ref {
432 background-color: #aaaaff;
433 border-color: #ccccff #0033cc #0033cc #ccccff;
436 span.refs span.tag {
437 background-color: #ffffaa;
438 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
441 span.refs span.head {
442 background-color: #aaffaa;
443 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
446 span.atnight {
447 color: #cc0000;
450 span.match {
451 color: #e00000;