unifying expander icons in both desktop and mobile

This commit is contained in:
azivner 2018-12-27 22:38:19 +01:00
parent d4baac0bb5
commit 74cc34696e
2 changed files with 28 additions and 25 deletions

View file

@ -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 {

View file

@ -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;
}