Software Archive
Read-only legacy content
17061 Discussions

Alterar cor do SideMenu do exemplo ao passar o mouse

Leo_M_
Beginner
255 Views

O exemplo que vem com sidemenu no Intel XDK, permitiu que eu alterasse a cor de apresentação. Agora, não consigo que mude de cor ao passar o mouse sobre os itens. Como faço isso?

0 Kudos
1 Reply
Chris_P_Intel
Employee
255 Views

You are in the Design View, correct?

For the side menu, or sidebar, you can change the background color from the "styles" control. Add a background style and set a color.

HOWEVER, for an App Framework sidemenu you must either fill the sidebar with content, or manually add CSS to force its height to 100% or 100vh.  What I do is add a 'custom' style to the sidemenu and enter   min-height:100vh;       But be sure to test that, vh units aren't supported in older versions of Android. If that won't work, you'll need to manually make sure the sidebar and all its parents are set to 100% height.

Hope this helps,

Chris

0 Kudos
Reply