summaryrefslogtreecommitdiffabout
path: root/cgit.css
Unidiff
Diffstat (limited to 'cgit.css') (more/less context) (show whitespace changes)
-rw-r--r--cgit.css104
1 files changed, 93 insertions, 11 deletions
diff --git a/cgit.css b/cgit.css
index be3b1d0..957d5aa 100644
--- a/cgit.css
+++ b/cgit.css
@@ -215,68 +215,73 @@ div.error {
215 font-weight: bold; 215 font-weight: bold;
216 margin: 1em 2em; 216 margin: 1em 2em;
217} 217}
218 218
219a.ls-blob, a.ls-dir, a.ls-mod { 219a.ls-blob, a.ls-dir, a.ls-mod {
220 font-family: monospace; 220 font-family: monospace;
221} 221}
222 222
223td.ls-size { 223td.ls-size {
224 text-align: right; 224 text-align: right;
225 font-family: monospace; 225 font-family: monospace;
226 width: 10em; 226 width: 10em;
227} 227}
228 228
229td.ls-mode { 229td.ls-mode {
230 font-family: monospace; 230 font-family: monospace;
231 width: 10em; 231 width: 10em;
232} 232}
233 233
234table.blob { 234table.blob {
235 margin-top: 0.5em; 235 margin-top: 0.5em;
236 border-top: solid 1px black; 236 border-top: solid 1px black;
237} 237}
238 238
239table.blob td.no { 239table.blob td.lines {
240 border-right: solid 1px black; 240 margin: 0; padding: 0;
241 vertical-align: top;
241 color: black; 242 color: black;
243}
244
245table.blob td.linenumbers {
246 margin: 0; padding: 0;
247 vertical-align: top;
248 border-right: 1px solid gray;
242 background-color: #eee; 249 background-color: #eee;
243 text-align: right;
244} 250}
245 251
246table.blob td.no a { 252table.blob pre {
247 color: black; 253 padding: 0; margin: 0;
248} 254}
249 255
250table.blob td.no a:hover { 256table.blob a.no {
251 color: black; 257 color: gray;
258 text-align: right;
252 text-decoration: none; 259 text-decoration: none;
253} 260}
254 261
255table.blob td.txt { 262table.blob a.no a:hover {
256 white-space: pre; 263 color: black;
257 font-family: monospace;
258 padding-left: 0.5em;
259} 264}
260 265
261table.nowrap td { 266table.nowrap td {
262 white-space: nowrap; 267 white-space: nowrap;
263} 268}
264 269
265table.commit-info { 270table.commit-info {
266 border-collapse: collapse; 271 border-collapse: collapse;
267 margin-top: 1.5em; 272 margin-top: 1.5em;
268} 273}
269 274
270table.commit-info th { 275table.commit-info th {
271 text-align: left; 276 text-align: left;
272 font-weight: normal; 277 font-weight: normal;
273 padding: 0.1em 1em 0.1em 0.1em; 278 padding: 0.1em 1em 0.1em 0.1em;
274 vertical-align: top; 279 vertical-align: top;
275} 280}
276 281
277table.commit-info td { 282table.commit-info td {
278 font-weight: normal; 283 font-weight: normal;
279 padding: 0.1em 1em 0.1em 0.1em; 284 padding: 0.1em 1em 0.1em 0.1em;
280} 285}
281 286
282div.commit-subject { 287div.commit-subject {
@@ -479,24 +484,101 @@ a.branch-deco {
479} 484}
480a.tag-deco { 485a.tag-deco {
481 margin: 0px 0.5em; 486 margin: 0px 0.5em;
482 padding: 0px 0.25em; 487 padding: 0px 0.25em;
483 background-color: #ffff88; 488 background-color: #ffff88;
484 border: solid 1px #777700; 489 border: solid 1px #777700;
485} 490}
486a.remote-deco { 491a.remote-deco {
487 margin: 0px 0.5em; 492 margin: 0px 0.5em;
488 padding: 0px 0.25em; 493 padding: 0px 0.25em;
489 background-color: #ccccff; 494 background-color: #ccccff;
490 border: solid 1px #000077; 495 border: solid 1px #000077;
491} 496}
492a.deco { 497a.deco {
493 margin: 0px 0.5em; 498 margin: 0px 0.5em;
494 padding: 0px 0.25em; 499 padding: 0px 0.25em;
495 background-color: #ff8888; 500 background-color: #ff8888;
496 border: solid 1px #770000; 501 border: solid 1px #770000;
497} 502}
498 503
499div.commit-subject a { 504div.commit-subject a {
500 margin-left: 1em; 505 margin-left: 1em;
501 font-size: 75%; 506 font-size: 75%;
502} 507}
508
509table.stats {
510 border: solid 1px black;
511 border-collapse: collapse;
512}
513
514table.stats th {
515 text-align: left;
516 padding: 1px 0.5em;
517 background-color: #eee;
518 border: solid 1px black;
519}
520
521table.stats td {
522 text-align: right;
523 padding: 1px 0.5em;
524 border: solid 1px black;
525}
526
527table.stats td.total {
528 font-weight: bold;
529 text-align: left;
530}
531
532table.stats td.sum {
533 color: #c00;
534 font-weight: bold;
535 /*background-color: #eee; */
536}
537
538table.stats td.left {
539 text-align: left;
540}
541
542table.vgraph {
543 border-collapse: separate;
544 border: solid 1px black;
545 height: 200px;
546}
547
548table.vgraph th {
549 background-color: #eee;
550 font-weight: bold;
551 border: solid 1px white;
552 padding: 1px 0.5em;
553}
554
555table.vgraph td {
556 vertical-align: bottom;
557 padding: 0px 10px;
558}
559
560table.vgraph div.bar {
561 background-color: #eee;
562}
563
564table.hgraph {
565 border: solid 1px black;
566 width: 800px;
567}
568
569table.hgraph th {
570 background-color: #eee;
571 font-weight: bold;
572 border: solid 1px black;
573 padding: 1px 0.5em;
574}
575
576table.hgraph td {
577 vertical-align: center;
578 padding: 2px 2px;
579}
580
581table.hgraph div.bar {
582 background-color: #eee;
583 height: 1em;
584}