Files
@ a83a1799480c
Branch filter:
Location: kallithea/pylons_app/public/css/diff.css
a83a1799480c
1.9 KiB
text/css
Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | div.diffblock {
overflow: auto;
padding: 0px;
border: 1px solid #ccc;
background: #f8f8f8;
font-size: 100%;
line-height: 100%;
/* new */
line-height: 125%;
}
div.diffblock .code-header{
border-bottom: 1px solid #CCCCCC;
background: #EEEEEE;
color:blue;
padding:10px 0 10px 0;
}
div.diffblock .code-header div{
margin-left:25px;
font-weight: bold;
}
div.diffblock .code-body{
background: #FFFFFF;
}
div.diffblock pre.raw{
background: #FFFFFF;
color:#000000;
}
.code-difftable{
border-collapse: collapse;
width: 99%;
}
.code-difftable td:target *{
background: repeat scroll 0 0 #FFFFBE !important;
text-decoration: underline;
}
.code-difftable .context{
background:none repeat scroll 0 0 #DDE7EF;
}
.code-difftable .add{
background:none repeat scroll 0 0 #DDFFDD;
}
.code-difftable .add ins{
background:none repeat scroll 0 0 #AAFFAA;
text-decoration:none;
}
.code-difftable .del{
background:none repeat scroll 0 0 #FFDDDD;
}
.code-difftable .del del{
background:none repeat scroll 0 0 #FFAAAA;
text-decoration:none;
}
.code-difftable .lineno{
background:none repeat scroll 0 0 #EEEEEE !important;
border-right:1px solid #DDDDDD;
padding-left:2px;
padding-right:2px;
text-align:right;
width:20px;
-moz-user-select:none;
-webkit-user-select: none;
}
.code-difftable .lineno pre{
color:#747474 !important;
font:11px "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace !important;
letter-spacing:-1px;
text-align:right;
width:20px;
}
.code-difftable .lineno a{
color:#0000CC !important;
}
.code-difftable .code td{
margin:0;
padding: 0;
}
.code-difftable .code pre{
margin:0;
padding:0;
}
.code {
display: block;
width: 100%;
}
.code-diff {
padding: 0px;
margin-top: 5px;
margin-bottom: 5px;
border-left: 2px solid #ccc;
}
.code-diff pre, .line pre {
padding: 3px;
margin: 0;
}
.lineno a {
text-decoration: none;
}
.line{
padding:0;
margin:0;
}
|