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