Improve diff colouring

This commit is contained in:
Nick O'Leary 2018-12-18 10:57:18 +00:00
parent 64df557423
commit dc2d3bc7c0
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 16 additions and 2 deletions

View File

@ -567,9 +567,15 @@ ul.node-dialog-configm-deploy-list {
td.lineno { td.lineno {
font-family: monospace; font-family: monospace;
text-align: right; text-align: right;
color: #aaa; color: #999;
background: #f6f6f6; background: #f6f6f6;
padding: 1px 5px; padding: 1px 5px;
&.added {
background: #c0f6c0;
}
&.removed {
background: #ffcccc;
}
} }
td.lineno:nth-child(3) { td.lineno:nth-child(3) {
border-left: 1px solid $secondary-border-color; border-left: 1px solid $secondary-border-color;
@ -578,12 +584,20 @@ ul.node-dialog-configm-deploy-list {
font-family: monospace; font-family: monospace;
white-space: pre-wrap; white-space: pre-wrap;
padding: 1px 5px; padding: 1px 5px;
border-left: 1px solid #ccc;
span.prefix { span.prefix {
width: 30px; width: 30px;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
color: #999; color: #999;
} }
&.added {
border-left-color: #aaeeaa
}
&.removed {
border-left-color: #eebbbb
}
} }
td.blank { td.blank {
background: #f6f6f6; background: #f6f6f6;
@ -592,7 +606,7 @@ ul.node-dialog-configm-deploy-list {
background: #eefaee; background: #eefaee;
} }
td.removed { td.removed {
background: #fadddd; background: #ffecec;
} }
tr.mergeHeader td { tr.mergeHeader td {
color: #800080; color: #800080;