up mixin fn

This commit is contained in:
然则 2015-08-17 00:24:39 +08:00
parent 23948c8588
commit ad02ebe114
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,6 @@
@checkboxWrapPrefixCls: ant-checkbox;
.checkboxFn();
.checkboxFn(@checkboxPrefixCls: ant-checkbox) {
@checkboxWrapPrefixCls: @checkboxPrefixCls;
@checkboxInnerPrefixCls: ~"@{checkboxWrapPrefixCls}-inner";
/* 一般状态 */
@ -149,3 +151,5 @@
.@{checkboxWrapPrefixCls} + span {
margin-left: 8px;
}
}

View File

@ -1,6 +1,5 @@
@treePrefixCls: ant-tree;
@import "./checkbox";
@checkboxWrapPrefixCls: ant-tree-checkbox;
.checkboxFn(@checkboxPrefixCls: ant-tree-checkbox);
@import "../mixins/iconfont";
@openIcon: '\e60f';
.switcher_icon() {