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");'); Не работает. В чем может быть ошибка? Спасибо. 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; Link to comment Share on other sites More sharing options...
Serg Posted January 10, 2019 Author Share Posted January 10, 2019 Спасибо Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now