Serg Posted January 10, 2019 Share Posted January 10, 2019 Добрый день! CucnoCSS: .hoverpanel { color:grey; } .hoverpanel:hover { color:gray; border-bottom: rgba(242,157,140,1) solid 3px; } .hoverpanel:active { color:orange; border-bottom: red solid 3px; } .hoverpanel:pressed { color:red; } .hoverpanel:target { font-size: 18px; border: 2px solid red; border-radius: 100px; width: 100px; height: 100px; } UnimLabel1.JSInterface.JSConfig('overCls', ['hoverpanel']); UnimLabel1.JSInterface.JSCode('MainmForm.UnimLabel1.setStyle("color", "gray");'); Не работает. В чем может быть ошибка? Спасибо. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 10, 2019 Share Posted January 10, 2019 2 hours ago, Serg said: Не работает. В чем может быть ошибка? Здравствуйте, Попробуйте этот конфиг: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimLabel1.JSInterface.JSConfig('userCls', ['hoverpanel']); end; Quote Link to comment Share on other sites More sharing options...
Serg Posted January 10, 2019 Author Share Posted January 10, 2019 Спасибо Quote Link to comment Share on other sites More sharing options...
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.