Browse Source

无JIRA任务 去掉默认覆盖font图标的颜色的规则

es6
zhangzijie01 2 years ago
parent
commit
3fd32a46e2
  1. 2
      src/case/button/item.singleselect.icontext.js
  2. 9
      src/less/base/single/button/item.singleselect.icontext.less

2
src/case/button/item.singleselect.icontext.js

@ -7,7 +7,7 @@
BI.SingleSelectIconTextItem = BI.inherit(BI.Single, {
_defaultConfig: function () {
return BI.extend(BI.SingleSelectIconTextItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-single-select-icon-text-item bi-list-item-active",
extraCls: "bi-list-item-active",
attributes: {
tabIndex: 1
},

9
src/less/base/single/button/item.singleselect.icontext.less

@ -1,9 +0,0 @@
@import "../../../index.less";
.bi-single-select-icon-text-item{
&:active, &.active {
& .b-font:before {
color: @color-bi-text-active-single-select-icon-text-item;
}
}
}
Loading…
Cancel
Save