mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
a7ce2abb06
NOTE: Using this feature needs cookies enabled, which may sub-optimal in corporate controlled environments. TODO: The dependency on jQuery is overkill for something as simple as updating tracking mouse-ups on a input element.
58 lines
1.0 KiB
CSS
58 lines
1.0 KiB
CSS
.diff .file {
|
|
margin: 10px;
|
|
padding: 10px;
|
|
-webkit-border-radius: 10px;
|
|
border: 1px solid #CCC;
|
|
-webkit-box-shadow: 1px 1px 2px #DDD;
|
|
}
|
|
|
|
.diff .file .fileHeader {
|
|
margin-top: -5px;
|
|
padding-bottom: 1px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.diff .file .diffContent {
|
|
white-space: pre;
|
|
font-family: Meslo, "Andale Mono", Menlo, Monaco;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.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 {
|
|
overflow: auto;
|
|
}
|
|
|
|
.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); */
|
|
background-color: transparent;
|
|
}
|
|
|
|
#CurrentHunk {
|
|
border-left: 5px solid black;
|
|
} |