Friday 15 July 2011

css - Custom background icon for dashing widget -



css - Custom background icon for dashing widget -

i making dashing widget show statistics jenkins ci server. want set jenkins logo icon widget background icon. moment jenkins logo icon not included official font awesome(https://github.com/fortawesome/font-awesome/issues/3714, https://github.com/fortawesome/font-awesome/issues/1529).

dashing framework flexible , assume there must solution set custom icon widget background. cannot solve issue on own.

has come across this?

the next code bamboo widget trick. needed in scss file, there shouldn't else special needed (other having file in right location scss find it!)

.widget-bamboo-build { background: url("/assets/bamboo-logo.png") no-repeat center;

this line right @ top of widget section in scss file. i've included .widget-bamboo-build line indicate that.

so line looks in dashing applications home directory folder called 'assets' , tries find 'bamboo-logo.png' in folder.

hope helps :)

css coffeescript dashing

No comments:

Post a Comment