gschoon Posted September 8, 2014 Posted September 8, 2014 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; }Mainform.OnCreate:btnNieuws.ClientEvents.ExtEvents.Values['afterrender']:='function afterrender(sender, eOpts)'#13#10'{'#13#10' sender.addCls('#39'btnMenu'#39') ;'#13#10'}'; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.