style focused/editable area
authorFrédéric Péters <fpeters@0d.be>
Thu, 4 Jun 2020 20:41:34 +0000 (22:41 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 4 Jun 2020 20:41:34 +0000 (22:41 +0200)
chloro/phyll/static/css/style.scss

index e4fea81..1a30678 100644 (file)
@@ -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;