X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9385033bf213d7d00f0646c1ee3b3aa8a463cf02..051d2e8a2e6cebc453bb855eb7bd4ff5bf0d3451:/editor.css diff --git a/editor.css b/editor.css index 9b7995d..020ef8d 100644 --- a/editor.css +++ b/editor.css @@ -19,10 +19,99 @@ body { list-style-type: none; } -#rng-visualEditor-content { +#rng-visualEditor-contentWrapper { + border-color: grey; + border-style: solid; + border-width: 1px; float:left; + width: 600px; + height: 500px; + overflow-y: scroll; + padding: 5px 10px; +} + +#rng-visualEditor-contentWrapper::-webkit-scrollbar { + width: 9px; +} + +#rng-visualEditor-contentWrapper::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + -webkit-border-radius: 10px; + border-radius: 10px; +} + +#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb { + -webkit-border-radius: 10px; + border-radius: 10px; + background: rgba(73,175,205,0.8); + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); +} +#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb:window-inactive { + background: rgba(73,175,205,0.4); +} + + +#rng-visualEditor-content { + + outline: 0px solid transparent; } #rng-visualEditor-meta { float:right; +} + +#rng-visualEditor-meta table [contenteditable] { + font-size: 11px; + line-height:13px; + cursor: pointer; + +} + +#rng-visualEditor-meta table tr td:nth-child(1) [contenteditable] { + width:90px; +} + +#rng-visualEditor-meta table tr td:nth-child(2) [contenteditable] { + width:150px; +} + +#rng-visualEditor-meta .btn{ + padding:3px; + line-height:10px; +} + +#rng-sourceEditor-editor { + width: 940px; + height: 500px; +} + +[wlxml-tag] { + float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */ + border-color: white; + border-style:solid; + border-width:1px; +} + +[wlxml-tag=header] { + font-size: 19px; + font-style: bold; + margin-bottom: 10px; +} + +[wlxml-tag=section] { + margin-top: 10px; + margin-bottom: 10px; +} + +.rng-hover { + border-color: red; + border-style:solid; + border-width:1px; +} + +.rng-current { + background: #fffacd; + border-color: grey; + border-style:dashed; + border-width:1px; } \ No newline at end of file