Files
gitx/html/css/diff.css
T
Pieter de Bie 23bb1658d9 WIP: Prettify the diff display by using rounded corners
This wraps each changed file in its own rounded box, making
the diff display easier to the eye :)
2008-11-26 17:44:49 +01:00

52 lines
891 B
CSS

.diff .file {
margin: 10px;
padding: 10px;
-webkit-border-radius: 10px;
border: 1px solid gray;
-webkit-box-shadow: 1px 1px 3px #888;
}
.diff .file .fileHeader {
margin-top: -5px;
padding-bottom: 1px;
font-weight: bold;
}
.diff .file .diffContent {
white-space: pre;
font-family: Monaco;
}
.diff .file .diffcontent .lineno {
float: left;
padding-left: 2px;
padding-right: 2px;
background-color: #ECECEC;
color: #A9A9A9;
border: 1px solid #DDDDDD;
text-align: right;
}
.diff .file .diffContent .lines .hunkheader {
background-color: #f7f7f7;
color: #bbb;
}
.diff .file .diffcontent .lines .delline {
background-color: #FEE;
color: #B00;
}
.diff .file .diffcontent .lines .addline {
background-color: #DFD;
color: #080;
}
.diff .file .diffcontent .lines .whitespace {
background-color: rgba(255,0,0,0.5);
}
#CurrentHunk {
border-left: 5px solid black;
}