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

Disabled item text color inside an inverted menu #6581

Open
etshy opened this issue Sep 13, 2018 · 2 comments
Open

Disabled item text color inside an inverted menu #6581

etshy opened this issue Sep 13, 2018 · 2 comments

Comments

@etshy
Copy link

etshy commented Sep 13, 2018

Seems there is some error in the importance of the css rule about .ui.menu .item.disabled and .ui.inverted.menu .item.disabled

The first one have its color property set with !important while the second one doesn't so a disabled item text in inverted menu is darker than expected.

.ui.inverted.menu .item.disabled, .ui.inverted.menu .item.disabled:hover {
    color: rgba(225,225,225,.3);
}
.ui.menu .item.disabled, .ui.menu .item.disabled:hover {
    cursor: default!important;
    background-color: transparent!important;
    color: rgba(40,40,40,.3)!important;
}

On an inverted menu, the text isn't readable, I attach a screenshot of my menu (pagination)

chrome_2018-09-14_01-02-46

Adding an !important for the inverted (like with the classic menu) seems to fix that, but I don't know what impact it could cause elsewhere

@jparkrr
Copy link

jparkrr commented Dec 10, 2018

I'm also seeing this issue. I can create a PR if the proposed solution is correct.

here is a repro fiddle: https://jsfiddle.net/216r43ep/

@lubber-de

This comment was marked as spam.

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

3 participants