-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Feature Request] New button variant: plain (no background hover) #3026
Comments
This comment has been minimized.
This comment has been minimized.
should do the trick or add a class |
This only gets rid of the hover for mouseover. As soon as you move your mouse off the button it does the hover effect from 1 opacity to 0. |
Add this to your CSS (or custom class):
This should take care of it. Toggling the transitions as seen below also gives more specific desired result. Cheers! |
This enhancement should apply whenever clicking on the v-btn as well. Workaround to avoid opacity get changed to 0 when click on v-btn |
resolves #3026 Co-authored-by: John Leider <john.j.leider@gmail.com>
New Functionality
For some UI I prefer buttons with no background change on hover but rather a change in opacity for the icon/text itself. I am suggesting a new prop
plain
tov-btn
which will basically apply the following styles (as well as having the effect of passing theflat
prop):Here is an example of how it works/looks:
https://codepen.io/anon/pen/BJOYjd
I have been using this myself for a while and thought maybe others want something similar, so decided to suggest it as an addition to the
v-btn
component. What do you think? Is this something you will consider?Improvements
If this is functionality many users request it makes sense to include it in the framework.
Bugs or Edge Cases it Helps Avoid
Users don't have to implement it themselves.
The text was updated successfully, but these errors were encountered: