Commit e1aaddd8 authored by Phil Hughes's avatar Phil Hughes

improve styling of diff viewer

parent 12f4b633
...@@ -230,22 +230,64 @@ ...@@ -230,22 +230,64 @@
min-height: auto; min-height: auto;
} }
.monaco-diff-editor.vs .diffOverview { .monaco-editor .lines-content .cigr {
background-color: $white-light;
border-left: 1px solid $white-dark;
cursor: pointer;
}
.monaco-diff-editor.vs .diffViewport {
display: none; display: none;
} }
.monaco-diff-editor .char-insert { .monaco-diff-editor.vs {
background-color: $line-added-dark; .diagonal-fill {
} display: none !important;
}
.diffOverview {
background-color: $white-light;
border-left: 1px solid $white-dark;
cursor: move;
}
.diffViewport {
display: none;
}
.char-insert {
background-color: $line-added-dark;
}
.char-delete {
background-color: $line-removed-dark;
}
.line-numbers {
color: $black-transparent;
}
.view-overlays {
.line-insert {
background-color: $line-added;
}
.line-delete {
background-color: $line-removed;
}
}
.monaco-diff-editor .char-delete { .margin {
background-color: $line-removed-dark; background-color: $gray-light;
border-right: 1px solid $white-normal;
.line-insert {
border-right: 1px solid $line-added-dark;
}
.line-delete {
border-right: 1px solid $line-removed-dark;
}
}
.margin-view-overlays .insert-sign,
.margin-view-overlays .delete-sign {
opacity: .3;
}
} }
} }
......
...@@ -6,8 +6,8 @@ export default { ...@@ -6,8 +6,8 @@ export default {
rules: [], rules: [],
colors: { colors: {
'editorLineNumber.foreground': '#CCCCCC', 'editorLineNumber.foreground': '#CCCCCC',
'diffEditor.insertedTextBackground': '#ecfdf0', 'diffEditor.insertedTextBackground': '#ddfbe6',
'diffEditor.removedTextBackground': '#fbe9eb', 'diffEditor.removedTextBackground': '#f9d7dc',
}, },
}, },
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment