PDA

View Full Version : Extjs 4.2 - gradient background for menus using sencha cmd



fafche
25 Sep 2013, 10:56 AM
I would like to create a gradient background color using sencha cmd
here is what I have tried :

.#{$prefix}-menu-body{
@include background-image(linear-gradient(#47607E, #35475B));
}

I have placed it under

sass\src\menu\Menu.scss


and run a package build.
I do not see any change in the background of my menus.
I would also like to know if I can use the CSS Variables to do that?

ettavolt
27 Sep 2013, 11:56 AM
Try to look in the output css what have your rule resulted in. I think you have error in selector syntax.