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;
}
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-12-10 00:37:59 -0600
Seen: 137 times
Last updated: Dec 11 '11
Minor default skin fixes and sharing back
Can the interface for searching with tags be improved?
which static file will be sent when there is same name files in different skins?
email for comments: link missing a href [fixed]
How to fix "UndefinedError: 'settings' is undefined" in git branch
Cannot delete a user in the django admin UI : table follow_follow does not exist
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.