mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Improve diff colouring
This commit is contained in:
parent
64df557423
commit
dc2d3bc7c0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user