Table support tree data

This commit is contained in:
梁灏 2019-12-19 20:06:01 +08:00
parent 1e41ced797
commit c591ddc9b7
5 changed files with 372 additions and 612 deletions

View file

@ -246,6 +246,40 @@
margin-right: 0;
}
}
&-tree{
display: inline-block;
width: 16px;
height: 16px;
border: 1px solid @border-color-base;
border-radius: 2px;
background-color: #fff;
line-height: 12px;
cursor: pointer;
vertical-align: middle;
transition: color @transition-time @ease-in-out, border-color @transition-time @ease-in-out;
&-empty{
cursor: default;
color: transparent;
background-color: transparent;
border-color: transparent;
}
&:hover {
color: @primary-color;
border-color: @primary-color;
}
&-empty:hover{
color: transparent;
border-color: transparent;
}
&-level{
display: inline-block;
height: 16px;
}
}
}
&-hidden{
visibility: hidden;