From 9608fd1f0786c3baf2c2acb3149acba2c9008314 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 31 Mar 2014 16:55:37 +0200 Subject: [PATCH 1/1] editor: tweaking canvas appearance - tweaking element borders - removing current text element outline - tuning colors for current/hovered node element --- src/editor/modules/documentCanvas/documentCanvas.less | 5 ++--- src/editor/modules/documentCanvas/nodes.less | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/editor/modules/documentCanvas/documentCanvas.less b/src/editor/modules/documentCanvas/documentCanvas.less index 1696a09..626704b 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.less +++ b/src/editor/modules/documentCanvas/documentCanvas.less @@ -38,17 +38,16 @@ } .current-text-element { - outline: 1px dashed black; } .current-node-element { - border-color: lighten(#000, 15%); + border-color: lighten(#000, 35%); border-style: solid; border-width: 1px; } .highlighted-element { - border: 1px solid red; + border: 1px solid lighten(#000, 15%); } counter-reset: footnote; diff --git a/src/editor/modules/documentCanvas/nodes.less b/src/editor/modules/documentCanvas/nodes.less index f5e96f2..78792cc 100644 --- a/src/editor/modules/documentCanvas/nodes.less +++ b/src/editor/modules/documentCanvas/nodes.less @@ -2,7 +2,6 @@ font-size: 14px; display: inline; margin: 0 1px; - border: 1px solid transparent; white-space: pre-wrap; } -- 2.20.1