X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/118b83d442f52feca33ba6568ef39df2092568b7..f61fd6fa1d5871782b079ee50fb6bb10777cadc2:/modules/diffViewer/diffViewer.less?ds=sidebyside diff --git a/modules/diffViewer/diffViewer.less b/modules/diffViewer/diffViewer.less new file mode 100644 index 0000000..db3d8ff --- /dev/null +++ b/modules/diffViewer/diffViewer.less @@ -0,0 +1,56 @@ +.rng-module-diffViewer { + .nav-tabs > li > a { + min-width: 0; + font-size: 0.9em; + padding: 4px 6px; + } + + .diff_table { + border-width: 1px; + border-style: solid; + border-color: black; + empty-cells: show; + border-spacing: 0px; + } + + .diff_table td { + border-width: 0px 1px 1px 0px; + border-style: dotted; + border-color: grey; + font-size: 10px; + line-height: 20px; + font-family: monospace; + padding: 0px; + white-space: pre-line; + /*word-wrap:break-word; + word-break:break-all; */ + } + + .diff_table th { + border-width: 0px 1px 1px 0px; + border-style: solid; + border-color: black; + background: #e5ffe5; + } + + .diff_table tr.change { + background-color: #dcdcdc; + } + + .diff_mark { + display: inline-block; + padding: 2px; + } + + .diff_mark_removed { + background-color: #ff9c94; + } + + .diff_mark_added { + background-color: #90ee90; + } + + .diff_mark_changed { + background-color: yellow; + } +} \ No newline at end of file