Re-fix get_sha1_oneline()
[git/jnareb-git.git] / gitweb / gitweb.css
blob7177c6e86b8e8c3dc1e5d0db4bce4122cbe2430a
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.list,
338 div.diff a.path,
339 div.diff a.hash {
340 text-decoration: none;
343 div.diff a.list:hover,
344 div.diff a.path:hover,
345 div.diff a.hash:hover {
346 text-decoration: underline;
349 div.diff.to_file a.path,
350 div.diff.to_file {
351 color: #007000;
354 div.diff.add {
355 color: #008800;
358 div.diff.from_file a.path,
359 div.diff.from_file {
360 color: #aa0000;
363 div.diff.rem {
364 color: #cc0000;
367 div.diff.chunk_header a,
368 div.diff.chunk_header {
369 color: #990099;
372 div.diff.chunk_header {
373 border: dotted #ffe0ff;
374 border-width: 1px 0px 0px 0px;
375 margin-top: 2px;
378 div.diff.chunk_header span.chunk_info {
379 background-color: #ffeeff;
382 div.diff.chunk_header span.section {
383 color: #aa22aa;
386 div.diff.incomplete {
387 color: #cccccc;
391 div.index_include {
392 border: solid #d9d8d1;
393 border-width: 0px 0px 1px;
394 padding: 12px 8px;
397 div.search {
398 font-size: 12px;
399 font-weight: normal;
400 margin: 4px 8px;
401 position: absolute;
402 top: 56px;
403 right: 12px
406 td.linenr {
407 text-align: right;
410 a.linenr {
411 color: #999999;
412 text-decoration: none
415 a.rss_logo {
416 float: right;
417 padding: 3px 0px;
418 width: 35px;
419 line-height: 10px;
420 border: 1px solid;
421 border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
422 color: #ffffff;
423 background-color: #ff6600;
424 font-weight: bold;
425 font-family: sans-serif;
426 font-size: 10px;
427 text-align: center;
428 text-decoration: none;
431 a.rss_logo:hover {
432 background-color: #ee5500;
435 span.refs span {
436 padding: 0px 4px;
437 font-size: 10px;
438 font-weight: normal;
439 border: 1px solid;
440 background-color: #ffaaff;
441 border-color: #ffccff #ff00ee #ff00ee #ffccff;
444 span.refs span.ref {
445 background-color: #aaaaff;
446 border-color: #ccccff #0033cc #0033cc #ccccff;
449 span.refs span.tag {
450 background-color: #ffffaa;
451 border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
454 span.refs span.head {
455 background-color: #aaffaa;
456 border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
459 span.atnight {
460 color: #cc0000;
463 span.match {
464 color: #e00000;