Browse Source

fix: 解决半选按钮禁用显示样式问题

es6
Neo.Liu 2 years ago
parent
commit
75d5603c68
  1. 6
      src/less/base/single/button/button.half.less
  2. 1
      src/less/lib/theme.less

6
src/less/base/single/button/button.half.less

@ -12,4 +12,10 @@
background-color: @color-bi-background-half-button-content;
content: '';
}
&,
.disabled {
&:after {
background-color: @color-bi-background-disabled-half-button-content;
}
}
}

1
src/less/lib/theme.less

@ -195,6 +195,7 @@
@color-bi-split-disabled-segment: @color-bi-border-disabled;
// 半选
@color-bi-background-half-button-content: @color-bi-background-highlight;
@color-bi-background-disabled-half-button-content: @color-bi-background-light-disabled;
// items
@color-bi-text-active-single-select-icon-text-item: @color-bi-text-highlight;
// editor

Loading…
Cancel
Save