PDA

View Full Version : Can SASS generate custom forward/backward button UI's?



estesbubba
6 Dec 2011, 12:56 PM
Been trying to pull this off for a while with no luck. I want custom colored forward and backward buttons. I have this:

@include sencha-button-ui('navigation', #f7931e, 'glossy');

And this works

ui: 'navigation',

But I want something like:

ui: 'navigation-forward'

mitchellsimoens
6 Dec 2011, 1:25 PM
the next/back uis aren't created with the sencha-button-ui mixin

estesbubba
6 Dec 2011, 1:39 PM
So is it possible to generate custom forward/backward buttons?

mitchellsimoens
6 Dec 2011, 1:41 PM
Definitely... look at the _buttons.scss and look for how they are generated.