diff.css
149 lines
| 2.9 KiB
| text/css
|
CssLexer
r547 | div.diffblock { | ||
overflow: auto; | |||
padding: 0px; | |||
border: 1px solid #ccc; | |||
background: #f8f8f8; | |||
font-size: 100%; | |||
line-height: 100%; | |||
/* new */ | |||
line-height: 125%; | |||
r1751 | -webkit-border-radius: 6px 6px 0px 0px; | ||
r1703 | -moz-border-radius: 6px 6px 0px 0px; | ||
border-radius: 6px 6px 0px 0px; | |||
r547 | } | ||
r1670 | |||
div.diffblock.margined{ | |||
margin: 0px 20px 0px 20px; | |||
} | |||
r547 | div.diffblock .code-header{ | ||
border-bottom: 1px solid #CCCCCC; | |||
background: #EEEEEE; | |||
padding:10px 0 10px 0; | |||
} | |||
div.diffblock .code-header div{ | |||
r1703 | margin-left:10px; | ||
r547 | font-weight: bold; | ||
r1703 | font-size: 14px; | ||
r547 | } | ||
div.diffblock .code-body{ | |||
background: #FFFFFF; | |||
} | |||
div.diffblock pre.raw{ | |||
background: #FFFFFF; | |||
color:#000000; | |||
} | |||
table.code-difftable{ | |||
border-collapse: collapse; | |||
width: 99%; | |||
} | |||
table.code-difftable td { | |||
padding: 0 !important; | |||
background: none !important; | |||
border:0 !important; | |||
} | |||
.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; | |||
padding-left:2px; | |||
padding-right:2px; | |||
text-align:right; | |||
width:30px; | |||
-moz-user-select:none; | |||
-webkit-user-select: none; | |||
} | |||
r1683 | .code-difftable .lineno-inline{ | ||
background:none repeat scroll 0 0 #FFF !important; | |||
padding-left:2px; | |||
padding-right:2px; | |||
text-align:right; | |||
width:30px; | |||
-moz-user-select:none; | |||
-webkit-user-select: none; | |||
} | |||
r815 | .code-difftable .new { | ||
border-right: 1px solid #CCC !important; | |||
} | |||
.code-difftable .old { | |||
border-right: 1px solid #CCC !important; | |||
} | |||
r1683 | |||
.code-difftable .lineno-inline.new-inline{ | |||
} | |||
.code-difftable .lineno-inline.old-inline{ | |||
border-right: 1px solid #CCC !important; | |||
} | |||
r547 | .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{ | |||
r815 | font-weight: 700; | ||
cursor: pointer; | |||
r547 | } | ||
.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; | |||
r1677 | } | ||
r1701 | |||
.diffblock.margined.comm .line:hover{ | |||
r1691 | background-color:#FFFFCC !important; | ||
cursor: pointer !important; | |||
background-image:url("../images/icons/comment_add.png") !important; | |||
background-repeat:no-repeat !important; | |||
background-position: right !important; | |||
background-position: 100% 50% !important; | |||
} |