Browse Source

Merge pull request #151839 in DEC/fineui from master to feature/x

* commit 'bd90d3164181428b2fbfa58996100c01eeea029c':
  DESIGN-4402 fix: 复选树视觉问题
master
superman 2 years ago
parent
commit
4a30c7d142
  1. 31
      src/less/base/tree/ztree.less

31
src/less/base/tree/ztree.less

@ -79,16 +79,14 @@
vertical-align: top;
display: inline-block;
.tree-node-text {
&:not(.disabled) {
&:hover {
.background-color(@color-bi-background-highlight, 10%);
}
&:not(.disabled) {
&:hover {
.background-color(@color-bi-background-highlight, 10%);
}
&:active {
color: @color-bi-text-highlight;
.background-color(@color-bi-background-highlight, 15%);
}
&:active {
color: @color-bi-text-highlight;
.background-color(@color-bi-background-highlight, 15%);
}
}
}
@ -150,17 +148,12 @@
.ztree li span.icon {
display: inline-block;
vertical-align: top;
text-align: center;
width: 24px;
height: 24px;
line-height: 24px;
}
.ztree li span.icon {
width: 32px;
height: 32px;
line-height: 32px;
width: 16px;
height: 16px;
line-height: 16px;
padding: 0 2px;
vertical-align: middle;
}
.ztree li span.button {

Loading…
Cancel
Save