Ask Your Question
0

Where can I get the sources for sprites.png

asked 2011-12-10 00:37:59 -0600

Suchakra gravatar image

I'm skinning Askbot for Ask Fedora. Where can I get sprites.png sources (maybe in svg format) to modify them?

edit retag flag offensive 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 gravatar imageEvgeny ( 2011-12-10 22:32:06 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-12-11 13:30:50 -0600

byron gravatar image

updated 2011-12-11 15:02:18 -0600

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;
}
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-12-10 00:37:59 -0600

Seen: 112 times

Last updated: Dec 11 '11