Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Tree Styles #3

Open
wfthkttn opened this issue Feb 12, 2025 · 0 comments
Open

Better Tree Styles #3

wfthkttn opened this issue Feb 12, 2025 · 0 comments

Comments

@wfthkttn
Copy link

Made the tree more readable with nested hover while keeping it subtle.
Decreased size of expanders and tweaked indentations

.fancytree-container > li > ul li {
    border-left: 2px solid #282828;
    border-radius: 3px 0 0 3px;
}
.fancytree-container > li > ul li:hover {
    border-left: 2px solid #304830;
}

/* increase indent between layers below first */
.fancytree-container > li > ul > li > ul li {
    margin-left: 5px;
}
/* move nodes left to eliminate gaps */
.fancytree-node {
    margin-left:-4px;
}
/* calm down, expander */
.fancytree-expander {
    filter: brightness(0.58);
    transform: scale(0.7);
    margin-left:-2px;
    margin-right:-6px;
}

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant