X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/05124c8c30a67c005eac475a262c6e3c61473590..f8d11c06c7084e9016cad67d70307c62f1265e51:/platforma/static/css/master.css diff --git a/platforma/static/css/master.css b/platforma/static/css/master.css index 461b406d..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; @@ -254,4 +254,63 @@ p { margin: 0;} float: left; margin-right: 10px; margin-top: -6px; -} \ No newline at end of file +} + + +.xml-iframe { + margin-left: 40px; +} + +/* + * CodeMirror + */ +.CodeMirror-line-numbers { + background: #e6ddd5; + padding-top: 0.35em; +} + +.CodeMirror-line-numbers div { + padding: 0; + padding-right: 4px; + + font-size: 8pt; + line-height: 17px; + text-align: right; + + width: 40px; +} + +/* 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; + }