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

Add a color to menu selected items #3269

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

mfrecchiami
Copy link
Contributor

@mfrecchiami mfrecchiami commented Jul 12, 2019

There's an issue related to my previous PR (the update of colors palette): when there is a first level menu item, the user can't understand in which section he actually is, if he look only at the sidebar navigation (e.g.: Orders or Users) because any color or background, changes on the first level menu items (see picture below):

issue

This is a mistake done thought about the future possibility of a navigation without popover but with an active dropdown (like most of modern navigation sidebar).
So, I add a background color on the first level menu item that has the .selected class.
This is the result:

selected_sample_02

selected_sample_01

@mfrecchiami
Copy link
Contributor Author

@kennyadsl thanks for your reporting!

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great @mfrecchiami, thanks!

@kennyadsl
Copy link
Member

@mfrecchiami can you please rebase against the updated upstream master to fix the specs?

@mfrecchiami mfrecchiami force-pushed the mfrecchiami/menu-item-selected branch from 37be5d4 to 9e2499e Compare July 16, 2019 10:14
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mfrecchiami thank you 👍

@kennyadsl kennyadsl merged commit dc3de0d into solidusio:master Jul 16, 2019
@kennyadsl kennyadsl deleted the mfrecchiami/menu-item-selected branch July 16, 2019 12:49
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

Successfully merging this pull request may close these issues.

None yet

3 participants