mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 23:13:43 +08:00
unifying expander icons in both desktop and mobile
This commit is contained in:
parent
d4baac0bb5
commit
74cc34696e
2 changed files with 28 additions and 25 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue