Where can I get the sources for sprites.png
I'm skinning Askbot for Ask Fedora. Where can I get sprites.png sources (maybe in svg format) to modify them?
I'm skinning Askbot for Ask Fedora. Where can I get sprites.png sources (maybe in svg format) to modify them?
Hi,
I just update the graphics and sprites sources in svg format. You can find in /skins/default/media/images/sprites_source directory. Also I changed the background of sprites elements to transparent, that will help to create custom templates with differents colors.
There are two files, sprites.svg and graphics.svg, the last one include some extra elements, like icons, buttons backgrounds, tag design etc.
I suggest that the best way to implement new icons in the same sprite file, will be include the new element in the file, export all the content as all page and after that in the style.less file you can call the element with a predifine class, for example.
.sprites(-6px,-5px);
This class comes from lib_style.less
/* Receive exactly positions for background Sprite */
.sprites(@hor,@vert,@back:url(../images/sprites.png)){
background:@hor @vert @back no-repeat;
}
To enter a block of code:
Comments
Hi, I've asked our designer to look at this, hopefully he responds soon. One thing - please try to limit your changes to just the
style.less
file and the images. We feel that we need more input on the organization of templates, we'll appreciate your advice. Thanks.