PDA

View Full Version : Customizing default theme: no images generated by sass compilation



vext
12 Mar 2012, 2:21 AM
Hello,

i defined a new button scale based on the existing ones (variable & widget). I managed to compile and to obtain the css but the paths where the css is pointing has no such images. Any ideas?

A css part:



.x-btn-default-xxl-over{background-repeat:repeat-x;background-image:url('../images/btn/btn-default-xxl-over-bg.gif')}.x-nlg .x-btn-default-xxl-focus{background-repeat:repeat-x;background-image:url('../images/btn/btn-default-xxl-focus-bg.gif')}.x-nlg .x-btn-default-xxl-menu-active,.x-nlg .x-btn-default-xxl-pressed{background-repeat:repeat-x;background-image:url('../images/btn/btn-default-xxl-pressed-bg.gif')}.x-nlg .x-btn-default-xxl-disabled{background-repeat:repeat-x;background-image:url('../images/btn/btn-default-xxl-disabled-bg.gif')}


Thanks in advance!

mitchellsimoens
12 Mar 2012, 7:45 AM
You need to adjust the url then

vext
12 Mar 2012, 8:27 AM
@mitchellsimoens (http://www.sencha.com/forum/member.php?22216-mitchellsimoens) - nope, the change in config.rb to images relative path i did it already, is pointing to the right directory. Actually i think the images should be with the slicer generated :



sencha slice theme -d extjs -c resources/css/my-ext-theme.css -o resources/images -v

which doesn't do either too much....display some kind of command help when executed...(:|