summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css40
1 files changed, 29 insertions, 11 deletions
diff --git a/cgit.css b/cgit.css
index a2a685b..008cff8 100644
--- a/cgit.css
+++ b/cgit.css
@@ -1,559 +1,577 @@
1body, table, form { 1body, table, form {
2 padding: 0em; 2 padding: 0em;
3 margin: 0em; 3 margin: 0em;
4} 4}
5 5
6body { 6body {
7 font-family: sans-serif; 7 font-family: sans-serif;
8 font-size: 10pt; 8 font-size: 10pt;
9 color: #333; 9 color: #333;
10 background: white; 10 background: white;
11 padding: 4px; 11 padding: 4px;
12} 12}
13 13
14a { 14a {
15 color: blue; 15 color: blue;
16 text-decoration: none; 16 text-decoration: none;
17} 17}
18 18
19a:hover { 19a:hover {
20 text-decoration: underline; 20 text-decoration: underline;
21} 21}
22 22
23table { 23table {
24 border-collapse: collapse; 24 border-collapse: collapse;
25} 25}
26 26
27table#header { 27table#header {
28 width: 100%; 28 width: 100%;
29 margin-bottom: 1em; 29 margin-bottom: 1em;
30} 30}
31 31
32table#header td.logo { 32table#header td.logo {
33 width: 96px; 33 width: 96px;
34} 34}
35 35
36table#header td.main { 36table#header td.main {
37 font-size: 250%; 37 font-size: 250%;
38 padding-left: 10px; 38 padding-left: 10px;
39 white-space: nowrap; 39 white-space: nowrap;
40} 40}
41 41
42table#header td.main a { 42table#header td.main a {
43 color: #000; 43 color: #000;
44} 44}
45 45
46table#header td.form { 46table#header td.form {
47 text-align: right; 47 text-align: right;
48 vertical-align: bottom; 48 vertical-align: bottom;
49 padding-right: 1em; 49 padding-right: 1em;
50 padding-bottom: 2px; 50 padding-bottom: 2px;
51 white-space: nowrap; 51 white-space: nowrap;
52} 52}
53 53
54table#header td.form form, 54table#header td.form form,
55table#header td.form input, 55table#header td.form input,
56table#header td.form select { 56table#header td.form select {
57 font-size: 90%; 57 font-size: 90%;
58} 58}
59 59
60table#header td.sub { 60table#header td.sub {
61 color: #777; 61 color: #777;
62 border-top: solid 1px #ccc; 62 border-top: solid 1px #ccc;
63 padding-left: 10px; 63 padding-left: 10px;
64} 64}
65 65
66table.tabs { 66table.tabs {
67 border-bottom: solid 3px #ccc; 67 border-bottom: solid 3px #ccc;
68 border-collapse: collapse; 68 border-collapse: collapse;
69 margin-top: 2em; 69 margin-top: 2em;
70 margin-bottom: 0px; 70 margin-bottom: 0px;
71 width: 100%; 71 width: 100%;
72} 72}
73 73
74table.tabs td { 74table.tabs td {
75 padding: 0px 1em; 75 padding: 0px 1em;
76 vertical-align: bottom; 76 vertical-align: bottom;
77} 77}
78 78
79table.tabs td a { 79table.tabs td a {
80 padding: 2px 0.75em; 80 padding: 2px 0.75em;
81 color: #777; 81 color: #777;
82 font-size: 110%; 82 font-size: 110%;
83} 83}
84 84
85table.tabs td a.active { 85table.tabs td a.active {
86 color: #000; 86 color: #000;
87 background-color: #ccc; 87 background-color: #ccc;
88} 88}
89 89
90table.tabs td.form { 90table.tabs td.form {
91 text-align: right; 91 text-align: right;
92} 92}
93 93
94table.tabs td.form form { 94table.tabs td.form form {
95 padding-bottom: 2px; 95 padding-bottom: 2px;
96 font-size: 90%; 96 font-size: 90%;
97 white-space: nowrap; 97 white-space: nowrap;
98} 98}
99 99
100table.tabs td.form input, 100table.tabs td.form input,
101table.tabs td.form select { 101table.tabs td.form select {
102 font-size: 90%; 102 font-size: 90%;
103} 103}
104 104
105div.path { 105div.path {
106 margin: 0px; 106 margin: 0px;
107 padding: 5px 2em 2px 2em; 107 padding: 5px 2em 2px 2em;
108 color: #000; 108 color: #000;
109 background-color: #eee; 109 background-color: #eee;
110} 110}
111 111
112div.content { 112div.content {
113 margin: 0px; 113 margin: 0px;
114 padding: 2em; 114 padding: 2em;
115 border-bottom: solid 3px #ccc; 115 border-bottom: solid 3px #ccc;
116} 116}
117 117
118 118
119table.list { 119table.list {
120 width: 100%; 120 width: 100%;
121 border: none; 121 border: none;
122 border-collapse: collapse; 122 border-collapse: collapse;
123} 123}
124 124
125table.list tr { 125table.list tr {
126 background: white; 126 background: white;
127} 127}
128 128
129table.list tr.logheader { 129table.list tr.logheader {
130 background: #eee; 130 background: #eee;
131} 131}
132 132
133table.list tr:hover { 133table.list tr:hover {
134 background: #eee; 134 background: #eee;
135} 135}
136 136
137table.list tr.nohover:hover { 137table.list tr.nohover:hover {
138 background: white; 138 background: white;
139} 139}
140 140
141table.list th { 141table.list th {
142 font-weight: bold; 142 font-weight: bold;
143 /* color: #888; 143 /* color: #888;
144 border-top: dashed 1px #888; 144 border-top: dashed 1px #888;
145 border-bottom: dashed 1px #888; 145 border-bottom: dashed 1px #888;
146 */ 146 */
147 padding: 0.1em 0.5em 0.05em 0.5em; 147 padding: 0.1em 0.5em 0.05em 0.5em;
148 vertical-align: baseline; 148 vertical-align: baseline;
149} 149}
150 150
151table.list td { 151table.list td {
152 border: none; 152 border: none;
153 padding: 0.1em 0.5em 0.1em 0.5em; 153 padding: 0.1em 0.5em 0.1em 0.5em;
154} 154}
155 155
156table.list td.logsubject { 156table.list td.commitgraph {
157 font-family: monospace; 157 font-family: monospace;
158 font-weight: bold; 158 white-space: pre;
159} 159}
160 160
161table.list td.logmsg { 161table.list td.commitgraph .column1 {
162 font-family: monospace; 162 color: #a00;
163 white-space: pre; 163}
164 padding: 1em 0.5em 2em 0.5em; 164
165table.list td.commitgraph .column2 {
166 color: #0a0;
167}
168
169table.list td.commitgraph .column3 {
170 color: #aa0;
165} 171}
166 172
167table.list td.lognotes-label { 173table.list td.commitgraph .column4 {
168 text-align:right; 174 color: #00a;
169 vertical-align:top;
170} 175}
171 176
172table.list td.lognotes { 177table.list td.commitgraph .column5 {
178 color: #a0a;
179}
180
181table.list td.commitgraph .column6 {
182 color: #0aa;
183}
184
185table.list td.logsubject {
186 font-family: monospace;
187 font-weight: bold;
188}
189
190table.list td.logmsg {
173 font-family: monospace; 191 font-family: monospace;
174 white-space: pre; 192 white-space: pre;
175 padding: 0em 0.5em 2em 0.5em; 193 padding: 0 0.5em;
176} 194}
177 195
178table.list td a { 196table.list td a {
179 color: black; 197 color: black;
180} 198}
181 199
182table.list td a.ls-dir { 200table.list td a.ls-dir {
183 font-weight: bold; 201 font-weight: bold;
184 color: #00f; 202 color: #00f;
185} 203}
186 204
187table.list td a:hover { 205table.list td a:hover {
188 color: #00f; 206 color: #00f;
189} 207}
190 208
191img { 209img {
192 border: none; 210 border: none;
193} 211}
194 212
195input#switch-btn { 213input#switch-btn {
196 margin: 2px 0px 0px 0px; 214 margin: 2px 0px 0px 0px;
197} 215}
198 216
199td#sidebar input.txt { 217td#sidebar input.txt {
200 width: 100%; 218 width: 100%;
201 margin: 2px 0px 0px 0px; 219 margin: 2px 0px 0px 0px;
202} 220}
203 221
204table#grid { 222table#grid {
205 margin: 0px; 223 margin: 0px;
206} 224}
207 225
208td#content { 226td#content {
209 vertical-align: top; 227 vertical-align: top;
210 padding: 1em 2em 1em 1em; 228 padding: 1em 2em 1em 1em;
211 border: none; 229 border: none;
212} 230}
213 231
214div#summary { 232div#summary {
215 vertical-align: top; 233 vertical-align: top;
216 margin-bottom: 1em; 234 margin-bottom: 1em;
217} 235}
218 236
219table#downloads { 237table#downloads {
220 float: right; 238 float: right;
221 border-collapse: collapse; 239 border-collapse: collapse;
222 border: solid 1px #777; 240 border: solid 1px #777;
223 margin-left: 0.5em; 241 margin-left: 0.5em;
224 margin-bottom: 0.5em; 242 margin-bottom: 0.5em;
225} 243}
226 244
227table#downloads th { 245table#downloads th {
228 background-color: #ccc; 246 background-color: #ccc;
229} 247}
230 248
231div#blob { 249div#blob {
232 border: solid 1px black; 250 border: solid 1px black;
233} 251}
234 252
235div.error { 253div.error {
236 color: red; 254 color: red;
237 font-weight: bold; 255 font-weight: bold;
238 margin: 1em 2em; 256 margin: 1em 2em;
239} 257}
240 258
241a.ls-blob, a.ls-dir, a.ls-mod { 259a.ls-blob, a.ls-dir, a.ls-mod {
242 font-family: monospace; 260 font-family: monospace;
243} 261}
244 262
245td.ls-size { 263td.ls-size {
246 text-align: right; 264 text-align: right;
247 font-family: monospace; 265 font-family: monospace;
248 width: 10em; 266 width: 10em;
249} 267}
250 268
251td.ls-mode { 269td.ls-mode {
252 font-family: monospace; 270 font-family: monospace;
253 width: 10em; 271 width: 10em;
254} 272}
255 273
256table.blob { 274table.blob {
257 margin-top: 0.5em; 275 margin-top: 0.5em;
258 border-top: solid 1px black; 276 border-top: solid 1px black;
259} 277}
260 278
261table.blob td.lines { 279table.blob td.lines {
262 margin: 0; padding: 0 0 0 0.5em; 280 margin: 0; padding: 0 0 0 0.5em;
263 vertical-align: top; 281 vertical-align: top;
264 color: black; 282 color: black;
265} 283}
266 284
267table.blob td.linenumbers { 285table.blob td.linenumbers {
268 margin: 0; padding: 0 0.5em 0 0.5em; 286 margin: 0; padding: 0 0.5em 0 0.5em;
269 vertical-align: top; 287 vertical-align: top;
270 text-align: right; 288 text-align: right;
271 border-right: 1px solid gray; 289 border-right: 1px solid gray;
272} 290}
273 291
274table.blob pre { 292table.blob pre {
275 padding: 0; margin: 0; 293 padding: 0; margin: 0;
276} 294}
277 295
278table.blob a.no { 296table.blob a.no {
279 color: gray; 297 color: gray;
280 text-align: right; 298 text-align: right;
281 text-decoration: none; 299 text-decoration: none;
282} 300}
283 301
284table.blob a.no a:hover { 302table.blob a.no a:hover {
285 color: black; 303 color: black;
286} 304}
287 305
288table.bin-blob { 306table.bin-blob {
289 margin-top: 0.5em; 307 margin-top: 0.5em;
290 border: solid 1px black; 308 border: solid 1px black;
291} 309}
292 310
293table.bin-blob th { 311table.bin-blob th {
294 font-family: monospace; 312 font-family: monospace;
295 white-space: pre; 313 white-space: pre;
296 border: solid 1px #777; 314 border: solid 1px #777;
297 padding: 0.5em 1em; 315 padding: 0.5em 1em;
298} 316}
299 317
300table.bin-blob td { 318table.bin-blob td {
301 font-family: monospace; 319 font-family: monospace;
302 white-space: pre; 320 white-space: pre;
303 border-left: solid 1px #777; 321 border-left: solid 1px #777;
304 padding: 0em 1em; 322 padding: 0em 1em;
305} 323}
306 324
307table.nowrap td { 325table.nowrap td {
308 white-space: nowrap; 326 white-space: nowrap;
309} 327}
310 328
311table.commit-info { 329table.commit-info {
312 border-collapse: collapse; 330 border-collapse: collapse;
313 margin-top: 1.5em; 331 margin-top: 1.5em;
314} 332}
315 333
316table.commit-info th { 334table.commit-info th {
317 text-align: left; 335 text-align: left;
318 font-weight: normal; 336 font-weight: normal;
319 padding: 0.1em 1em 0.1em 0.1em; 337 padding: 0.1em 1em 0.1em 0.1em;
320 vertical-align: top; 338 vertical-align: top;
321} 339}
322 340
323table.commit-info td { 341table.commit-info td {
324 font-weight: normal; 342 font-weight: normal;
325 padding: 0.1em 1em 0.1em 0.1em; 343 padding: 0.1em 1em 0.1em 0.1em;
326} 344}
327 345
328div.commit-subject { 346div.commit-subject {
329 font-weight: bold; 347 font-weight: bold;
330 font-size: 125%; 348 font-size: 125%;
331 margin: 1.5em 0em 0.5em 0em; 349 margin: 1.5em 0em 0.5em 0em;
332 padding: 0em; 350 padding: 0em;
333} 351}
334 352
335div.commit-msg { 353div.commit-msg {
336 white-space: pre; 354 white-space: pre;
337 font-family: monospace; 355 font-family: monospace;
338} 356}
339 357
340div.notes-header { 358div.notes-header {
341 font-weight: bold; 359 font-weight: bold;
342 padding-top: 1.5em; 360 padding-top: 1.5em;
343} 361}
344 362
345div.notes { 363div.notes {
346 white-space: pre; 364 white-space: pre;
347 font-family: monospace; 365 font-family: monospace;
348 border: solid 1px #ee9; 366 border: solid 1px #ee9;
349 background-color: #ffd; 367 background-color: #ffd;
350 padding: 0.3em 2em 0.3em 1em; 368 padding: 0.3em 2em 0.3em 1em;
351 float: left; 369 float: left;
352} 370}
353 371
354div.notes-footer { 372div.notes-footer {
355 clear: left; 373 clear: left;
356} 374}
357 375
358div.diffstat-header { 376div.diffstat-header {
359 font-weight: bold; 377 font-weight: bold;
360 padding-top: 1.5em; 378 padding-top: 1.5em;
361} 379}
362 380
363table.diffstat { 381table.diffstat {
364 border-collapse: collapse; 382 border-collapse: collapse;
365 border: solid 1px #aaa; 383 border: solid 1px #aaa;
366 background-color: #eee; 384 background-color: #eee;
367} 385}
368 386
369table.diffstat th { 387table.diffstat th {
370 font-weight: normal; 388 font-weight: normal;
371 text-align: left; 389 text-align: left;
372 text-decoration: underline; 390 text-decoration: underline;
373 padding: 0.1em 1em 0.1em 0.1em; 391 padding: 0.1em 1em 0.1em 0.1em;
374 font-size: 100%; 392 font-size: 100%;
375} 393}
376 394
377table.diffstat td { 395table.diffstat td {
378 padding: 0.2em 0.2em 0.1em 0.1em; 396 padding: 0.2em 0.2em 0.1em 0.1em;
379 font-size: 100%; 397 font-size: 100%;
380 border: none; 398 border: none;
381} 399}
382 400
383table.diffstat td.mode { 401table.diffstat td.mode {
384 white-space: nowrap; 402 white-space: nowrap;
385} 403}
386 404
387table.diffstat td span.modechange { 405table.diffstat td span.modechange {
388 padding-left: 1em; 406 padding-left: 1em;
389 color: red; 407 color: red;
390} 408}
391 409
392table.diffstat td.add a { 410table.diffstat td.add a {
393 color: green; 411 color: green;
394} 412}
395 413
396table.diffstat td.del a { 414table.diffstat td.del a {
397 color: red; 415 color: red;
398} 416}
399 417
400table.diffstat td.upd a { 418table.diffstat td.upd a {
401 color: blue; 419 color: blue;
402} 420}
403 421
404table.diffstat td.graph { 422table.diffstat td.graph {
405 width: 500px; 423 width: 500px;
406 vertical-align: middle; 424 vertical-align: middle;
407} 425}
408 426
409table.diffstat td.graph table { 427table.diffstat td.graph table {
410 border: none; 428 border: none;
411} 429}
412 430
413table.diffstat td.graph td { 431table.diffstat td.graph td {
414 padding: 0px; 432 padding: 0px;
415 border: 0px; 433 border: 0px;
416 height: 7pt; 434 height: 7pt;
417} 435}
418 436
419table.diffstat td.graph td.add { 437table.diffstat td.graph td.add {
420 background-color: #5c5; 438 background-color: #5c5;
421} 439}
422 440
423table.diffstat td.graph td.rem { 441table.diffstat td.graph td.rem {
424 background-color: #c55; 442 background-color: #c55;
425} 443}
426 444
427div.diffstat-summary { 445div.diffstat-summary {
428 color: #888; 446 color: #888;
429 padding-top: 0.5em; 447 padding-top: 0.5em;
430} 448}
431 449
432table.diff { 450table.diff {
433 width: 100%; 451 width: 100%;
434} 452}
435 453
436table.diff td { 454table.diff td {
437 font-family: monospace; 455 font-family: monospace;
438 white-space: pre; 456 white-space: pre;
439} 457}
440 458
441table.diff td div.head { 459table.diff td div.head {
442 font-weight: bold; 460 font-weight: bold;
443 margin-top: 1em; 461 margin-top: 1em;
444 color: black; 462 color: black;
445} 463}
446 464
447table.diff td div.hunk { 465table.diff td div.hunk {
448 color: #009; 466 color: #009;
449} 467}
450 468
451table.diff td div.add { 469table.diff td div.add {
452 color: green; 470 color: green;
453} 471}
454 472
455table.diff td div.del { 473table.diff td div.del {
456 color: red; 474 color: red;
457} 475}
458 476
459.sha1 { 477.sha1 {
460 font-family: monospace; 478 font-family: monospace;
461 font-size: 90%; 479 font-size: 90%;
462} 480}
463 481
464.left { 482.left {
465 text-align: left; 483 text-align: left;
466} 484}
467 485
468.right { 486.right {
469 text-align: right; 487 text-align: right;
470} 488}
471 489
472table.list td.reposection { 490table.list td.reposection {
473 font-style: italic; 491 font-style: italic;
474 color: #888; 492 color: #888;
475} 493}
476 494
477a.button { 495a.button {
478 font-size: 80%; 496 font-size: 80%;
479 padding: 0em 0.5em; 497 padding: 0em 0.5em;
480} 498}
481 499
482a.primary { 500a.primary {
483 font-size: 100%; 501 font-size: 100%;
484} 502}
485 503
486a.secondary { 504a.secondary {
487 font-size: 90%; 505 font-size: 90%;
488} 506}
489 507
490td.toplevel-repo { 508td.toplevel-repo {
491 509
492} 510}
493 511
494table.list td.sublevel-repo { 512table.list td.sublevel-repo {
495 padding-left: 1.5em; 513 padding-left: 1.5em;
496} 514}
497 515
498div.pager { 516div.pager {
499 text-align: center; 517 text-align: center;
500 margin: 1em 0em 0em 0em; 518 margin: 1em 0em 0em 0em;
501} 519}
502 520
503div.pager a { 521div.pager a {
504 color: #777; 522 color: #777;
505 margin: 0em 0.5em; 523 margin: 0em 0.5em;
506} 524}
507 525
508span.age-mins { 526span.age-mins {
509 font-weight: bold; 527 font-weight: bold;
510 color: #080; 528 color: #080;
511} 529}
512 530
513span.age-hours { 531span.age-hours {
514 color: #080; 532 color: #080;
515} 533}
516 534
517span.age-days { 535span.age-days {
518 color: #040; 536 color: #040;
519} 537}
520 538
521span.age-weeks { 539span.age-weeks {
522 color: #444; 540 color: #444;
523} 541}
524 542
525span.age-months { 543span.age-months {
526 color: #888; 544 color: #888;
527} 545}
528 546
529span.age-years { 547span.age-years {
530 color: #bbb; 548 color: #bbb;
531} 549}
532div.footer { 550div.footer {
533 margin-top: 0.5em; 551 margin-top: 0.5em;
534 text-align: center; 552 text-align: center;
535 font-size: 80%; 553 font-size: 80%;
536 color: #ccc; 554 color: #ccc;
537} 555}
538a.branch-deco { 556a.branch-deco {
539 margin: 0px 0.5em; 557 margin: 0px 0.5em;
540 padding: 0px 0.25em; 558 padding: 0px 0.25em;
541 background-color: #88ff88; 559 background-color: #88ff88;
542 border: solid 1px #007700; 560 border: solid 1px #007700;
543} 561}
544a.tag-deco { 562a.tag-deco {
545 margin: 0px 0.5em; 563 margin: 0px 0.5em;
546 padding: 0px 0.25em; 564 padding: 0px 0.25em;
547 background-color: #ffff88; 565 background-color: #ffff88;
548 border: solid 1px #777700; 566 border: solid 1px #777700;
549} 567}
550a.remote-deco { 568a.remote-deco {
551 margin: 0px 0.5em; 569 margin: 0px 0.5em;
552 padding: 0px 0.25em; 570 padding: 0px 0.25em;
553 background-color: #ccccff; 571 background-color: #ccccff;
554 border: solid 1px #000077; 572 border: solid 1px #000077;
555} 573}
556a.deco { 574a.deco {
557 margin: 0px 0.5em; 575 margin: 0px 0.5em;
558 padding: 0px 0.25em; 576 padding: 0px 0.25em;
559 background-color: #ff8888; 577 background-color: #ff8888;