From 903b0905432ca4e160e482c4c9c3157f74762b1a Mon Sep 17 00:00:00 2001 From: moisseev Date: Tue, 14 Jul 2020 11:47:12 +0300 Subject: [WebUI] Add map editor (requires a modern browser) --- interface/css/rspamd.css | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) (limited to 'interface/css/rspamd.css') diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index 4330962b0..5fefb4b9a 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -285,9 +285,6 @@ table#symbolsTable input[type="number"] { background-color: #cddbff; } -#map-textarea { - height: 360px; -} td.maps-cell { vertical-align: middle; } @@ -536,3 +533,32 @@ td.maps-cell { #clusterTable tr:last-child td:last-child { border-radius: 0 0 calc(.25rem - 1px) 0; } + +textarea#editor { + height: calc(100vh - 178px); +} +.codejar-wrap { + background: rgb(0, 47, 79); + border-radius: 6px; + max-height: calc(100vh - 178px); + overflow-y: auto; +} +.codejar-linenumbers { + background: rgba(255, 255, 255, 0.07) !important; + bottom: unset !important; + color: rgba(120, 120, 120, 1) !important; + mix-blend-mode: unset !important; + text-align: right; + overflow: unset !important; +} +.editor { + color: #fff; + font-family: monospace; + font-size: 14px; + font-weight: 400; + letter-spacing: normal; + min-height: 1.5em; + resize: unset !important; + tab-size: 4; + overflow-y: visible !important; +} -- cgit v1.2.3