From: Frédéric Péters Date: Thu, 4 Jun 2020 20:41:34 +0000 (+0200) Subject: style focused/editable area X-Git-Tag: v2022~29 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=0a6b9e5ef752597a56608d932954b734e201ee31;ds=sidebyside style focused/editable area --- diff --git a/chloro/phyll/static/css/style.scss b/chloro/phyll/static/css/style.scss index e4fea81..1a30678 100644 --- a/chloro/phyll/static/css/style.scss +++ b/chloro/phyll/static/css/style.scss @@ -183,6 +183,11 @@ footer { } } +div[contenteditable=true]:focus-within { + outline: none; + box-shadow: inset 0 0 2px #333; +} + .style-popup { background: white; box-shadow: 0 0 5px #666;