From 74cc34696e8d1f07eab0c0e801d728c5375a011f Mon Sep 17 00:00:00 2001 From: azivner Date: Thu, 27 Dec 2018 22:38:19 +0100 Subject: [PATCH] unifying expander icons in both desktop and mobile --- src/public/stylesheets/mobile.css | 25 ------------------------- src/public/stylesheets/style.css | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/src/public/stylesheets/mobile.css b/src/public/stylesheets/mobile.css index a7b4b7d8a..ef875ecb0 100644 --- a/src/public/stylesheets/mobile.css +++ b/src/public/stylesheets/mobile.css @@ -62,33 +62,8 @@ html, body { padding: 5px; } -.fancytree-node .fancytree-expander { - background: none; - width: auto; - height: auto; -} - .fancytree-node .fancytree-expander:before { - font-family: 'jam-icons' !important; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; font-size: 2em; - padding-left: 5px; - padding-right: 5px; - content: "\e9bc"; -} - -/* this is done to preserve correct indentation. Better solution would be preferable */ -.fancytree-node:not(.fancytree-folder) .fancytree-expander:before { - color: white; -} - -.fancytree-node.fancytree-expanded .fancytree-expander:before { - content: "\e9ba"; } kbd { diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 8c675e1d2..18e801dd6 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -65,6 +65,34 @@ body { flex-grow: 100; } +.fancytree-node .fancytree-expander { + background: none; + width: auto; + height: auto; +} + +.fancytree-node .fancytree-expander:before { + font-family: 'jam-icons' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + padding-left: 5px; + padding-right: 5px; + content: "\e9bc"; +} + +/* this is done to preserve correct indentation. Better solution would be preferable */ +.fancytree-node:not(.fancytree-folder) .fancytree-expander:before { + color: white; +} + +.fancytree-node.fancytree-expanded .fancytree-expander:before { + content: "\e9ba"; +} + #note-title[readonly] { background: inherit; }