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 e4fea81b13879057ceb30eb427211a9b3cfdd5f7..1a306785bd5f5bfdc983ad1596d3657da1654b5f 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;