From: xangelo Date: Wed, 25 Jan 2023 16:03:01 +0000 (-0500) Subject: make collapsed/expanded bullets clearer X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=69a27c825038cc9cc0527009b69dca7a4d9a4959;p=outliner.git make collapsed/expanded bullets clearer --- diff --git a/public/assets/style.css b/public/assets/style.css index 847e6c1..a0495ba 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -38,16 +38,17 @@ body { color: #222; } .node.collapsed::before, .node.expanded::before { - content: '\22B3'; float: left; padding-top: 6px; padding-right: 5px; } .node.collapsed::before { color: #222; + content: '\25B8'; } .node.expanded::before { color: #aaa; + content: '\25B9'; } .node.collapsed > .node { @@ -58,6 +59,13 @@ body { padding: 2px 1rem;; line-height: 1.7rem; } +.node.cursor.expanded::before { + color: #000; + content: '\25B8'; +} +.node.cursor.collapsed::before { + color: #fff; +} .node.cursor > .nodeContent { color: #fff; background-color: #000;