First time here? Check out the FAQ!
0

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?

Suchakra's avatar
1
Suchakra
asked 2011-12-10 00:37:59 -0600
edit flag offensive 0 remove flag close merge delete

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.

Evgeny's avatar Evgeny (2011-12-10 22:32:06 -0600) edit
add a comment see more comments

1 Answer

1

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;
}
byron's avatar
96
byron
answered 2011-12-11 13:30:50 -0600, updated 2011-12-11 15:02:18 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments