Jump to content

ButtonColor when UniSpeedbutton is selected


Recommended Posts

I try to make my own colered buttons (TUniSpeedButton).
The normal and hover colors are OK,
but the active color not.
My CustomCSS looks like this:

.btnMenu {border-radius:5px;
    background-color: rgb(211,235,225) !important;
    border: 1px solid rgb(142,28,36); }

.btnMenu:hover {background-color: rgb(168,215,194) !important; }

.btnMenu:active {background-color: rgb(131,199,170) !important; }


'function afterrender(sender, eOpts)'#13#10'{'#13#10' sender.addCls('#39'btnMenu'#39') ;'#13#10'}';

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...