X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/514e98aeae05045d0086aae39960124a572e646f..a11cf903969595b065b46cc991d70c43035af76d:/platforma/static/css/master.css diff --git a/platforma/static/css/master.css b/platforma/static/css/master.css index 5884d8aa..d2768be9 100644 --- a/platforma/static/css/master.css +++ b/platforma/static/css/master.css @@ -23,7 +23,7 @@ body { cursor: e-resize; } -#source-editor, #simple-editor { +#source-editor, #simple-editor, #history-viewer { position: absolute; top: 25px; bottom: 0; @@ -32,7 +32,7 @@ body { overflow: hidden; } -#html-view { +#html-view, #history-view { overflow: auto; position: absolute; top: 27px; @@ -279,4 +279,38 @@ p { margin: 0;} width: 40px; } - \ No newline at end of file + +/* DIFFS */ + #history-view table { + width: 75%; + margin: 1em auto; + max-height: 400px; + overflow-y: auto; + } + + #diff-view { + border: 2px solid black; + background: #fafafa; + margin: 1em auto; + width: 90%; + } + + td.diff_header { + display: none; + } + + td.diff_next { + display: none; + } + + .diff_sub { + background-color: #ef4040; + } + + .diff_chg { + background-color: #efef40; + } + + .diff_add { + background-color: #40ef40; + }