Hi,
i have a question about buttons. When i click on a button, its background-color changes to a darker color.
How can i avoid this. I want to leave the original color.
Thanks and regards!
Hi,
i have a question about buttons. When i click on a button, its background-color changes to a darker color.
How can i avoid this. I want to leave the original color.
Thanks and regards!
It can’t be disabled, but you can provide a custom styling for the button in the active state
Check the following snippet
http://webix.com/snippet/8f31fa59
<style>
.webixtype_base:active, .webixtype_base:hover {
background-color: #3498db;
box-shadow:none;
}
</style>
Thanks!
In that snippet, when i put my mouse hover that button the color changes.
Is that background color the same as the initial one or you change it?
Same happens to me when the color is the same (original and active-hover)
Thanks! regards!
The color is in the snippet is the same as default color of button in the flat skin
Anyway, try to use more full version of style, as in the updated snippet