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

Nested sidemenu nav - selected child item styling #9

Closed
filipjnc opened this issue May 19, 2018 · 3 comments
Closed

Nested sidemenu nav - selected child item styling #9

filipjnc opened this issue May 19, 2018 · 3 comments

Comments

@filipjnc
Copy link

filipjnc commented May 19, 2018

I'm absolutely loving CoreUI and it really saves up time and provides a consistent look.

There's just one thing that visually confuses me as well as other people - the styling of the selected child items in a nested sidemenu nav. It is very hard to distinguish the tree structure in the following setup:

image

List and Frozen are children of Skills. When List is selected, the styling looks almost identical to that of the top-level items.

My workaround in the meantime is to replace the variable $sidebar-nav-link-active-bg to rgba(0, 0, 0, 0.2), then I achieve something a little more viable:

image

I am looking forward to a more intuitive look out of the box!

damingerdai added a commit to damingerdai/coreui-angular that referenced this issue Sep 1, 2021
@github-actions
Copy link

github-actions bot commented May 6, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

@32x0lf
Copy link

32x0lf commented Nov 23, 2022

I'm absolutely loving CoreUI and it really saves up time and provides a consistent look.

There's just one thing that visually confuses me as well as other people - the styling of the selected child items in a nested sidemenu nav. It is very hard to distinguish the tree structure in the following setup:

image

List and Frozen are children of Skills. When List is selected, the styling looks almost identical to that of the top-level items.

My workaround in the meantime is to replace the variable $sidebar-nav-link-active-bg to rgba(0, 0, 0, 0.2), then I achieve something a little more viable:

image

I am looking forward to a more intuitive look out of the box!

You can set it to a custom css and set margin-left

@32x0lf
Copy link

32x0lf commented Nov 23, 2022

I was able to acheive it like this with nested menu
html .sidebar-nav .nav-group-items .nav-link { margin-left:10px; }

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

No branches or pull requests

2 participants