Browse Source

DESIGN-4402 fix: 复选树视觉问题

es6
zsmj 2 years ago
parent
commit
e8ca05094b
  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