突破性变化Compass 0.12.5 => 1.0.1与基金会

时间:2014-10-21 22:38:35

标签: sass zurb-foundation selector compass

我有一个类,它扩展了来自Foundation 5 Framework的.button和.tiny。

index.scss

@import '_core/styles/compass';
@import '_core/styles/foundation';
@import '_core/styles/fonts';
@import '_core/styles/colors';
@import '../common/modules/components/components';
@import '_core/components/components';
@import '_core/styles/common';
@import '_core/styles/views';

_foundation.scss

@import '../../../common/lib/foundation/scss/foundation/components/global';
@import '../../../common/lib/foundation/scss/foundation/components/type';
@import '../../../common/lib/foundation/scss/foundation/components/block-grid';
@import '../../../common/lib/foundation/scss/foundation/components/buttons';
@import '../../../common/lib/foundation/scss/foundation/components/forms';
@import '../../../common/lib/foundation/scss/foundation/components/labels';
@import '../../../common/lib/foundation/scss/foundation/components/pagination';
@import '../../../common/lib/foundation/scss/foundation/components/tables';
@import '../../../common/lib/foundation/scss/foundation/components/grid';
@import '../../../common/lib/foundation/scss/foundation/components/top-bar';
@import '../../../common/lib/foundation/scss/foundation/components/alert-boxes';
@import '../../../common/lib/foundation/scss/foundation/components/visibility';
@import '../../../common/lib/foundation/scss/foundation/components/reveal'

_components.scss

.action{
    @extend .tiny;
    background-color: pink;
}

罗盘0.12.5一切都很好。但是如果我将我的版本升级到1.0.1指南针告诉我由于.tiny选择器不存在而无法应用扩展。

我已经阅读了指南针的更改日志,似乎没有提到扩展或导入方面存在重大变化。

0 个答案:

没有答案