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

Button lighten on hover when default color is changed #2637

Closed
brandonSc opened this issue Jan 11, 2016 · 4 comments
Closed

Button lighten on hover when default color is changed #2637

brandonSc opened this issue Jan 11, 2016 · 4 comments

Comments

@brandonSc
Copy link

If the default color is changed on a button, then the color no longer "lightens" on mouse hover.

For example with this button,

<a class="waves-effect waves-light btn-large">Button</a>

the color ligthens on hover. But after changing the color to red

<a class="waves-effect waves-light btn-large red">Button</a>

the button stays the same color on hover.

It isn't obvious to me how to get that effect back for different button colors. Is it possible to have the buttons always "lighten" regardless of the background color?

@heneryville
Copy link

+1
Perhaps the best way to do this is to add the hover effects inside the color classes themselves (Such as .red:hover ).

@fega
Copy link

fega commented Apr 7, 2017

@brandonSc did you resolve the problem?

Closed due inactivity, feel free to reopen it if it is still necessary.

@fega fega closed this as completed Apr 7, 2017
@merkuriy
Copy link

This is an actual problem

@Boboss74
Copy link

I worked a little on it few months ago.
I got no more time now, maybe it could be helpful

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

5 participants