PDA

View Full Version : [CLOSED-EXTJSIV-2003][4.0.1] x-btn mixin missing



Stanback
19 May 2011, 1:38 PM
When I tried to compile my custom button definitions using compass, I got the following error:


Undefined mixin 'x-btn'.It looks like _btn.scss has been removed from ExtJS/resources/themes/stylesheets/ext4/default/mixins/. I noticed the following message in the changelog:


[EXTJSIV-1825] - Button mixin in SASS is inconsistant with other UI mixins - quick fixWas getting rid of it the quick fix? I was able to get it working again by copying the mixin from beta 4.

Please let us know what was changed and how to go about defining our own button UI styles, thanks! ~o)

rdougan
20 May 2011, 10:25 AM
This is now @mixin extjs-button-ui so it is consistent with all other mixins.

Stanback
20 May 2011, 10:46 AM
Cool - the mixin nesting threw me off, I see it now. Thanks!