Cableguy Expert Licensed User Longtime User Sep 10, 2016 #1 Hi guys I'm polishing a project and decided to give a go at the CSSUtils lib... How can I use it with this css?: this is from a MenuBar node B4X: .menu:hover, .menu:showing { -fx-background-color: #3c7fb1, linear-gradient(#fafdfe, #e8f5fc),linear-gradient(#eaf6fd 0%, #d9f0fc 49%, #bee6fd 50%, #a7d9f5 100%); -fx-background-insets: 0,1,2; -fx-background-radius: 3,2,1; -fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 5, 0.0 , 0 , 1 ); }
Hi guys I'm polishing a project and decided to give a go at the CSSUtils lib... How can I use it with this css?: this is from a MenuBar node B4X: .menu:hover, .menu:showing { -fx-background-color: #3c7fb1, linear-gradient(#fafdfe, #e8f5fc),linear-gradient(#eaf6fd 0%, #d9f0fc 49%, #bee6fd 50%, #a7d9f5 100%); -fx-background-insets: 0,1,2; -fx-background-radius: 3,2,1; -fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 5, 0.0 , 0 , 1 ); }
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2016 #2 You must use a CSS file for state attributes. See this example: https://www.b4x.com/android/forum/threads/css-example.35854/#content Upvote 0
You must use a CSS file for state attributes. See this example: https://www.b4x.com/android/forum/threads/css-example.35854/#content
Cableguy Expert Licensed User Longtime User Sep 11, 2016 #3 I am used to css files, but had decided to give it a go to CSSUtils... so they cannot go further than skindeep, I guess Upvote 0
I am used to css files, but had decided to give it a go to CSSUtils... so they cannot go further than skindeep, I guess