@mdsfe/mds-ui
Version:
A set of enterprise-class Vue UI components.
85 lines (84 loc) • 2.22 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */
.mds-tree-item {
color: #666666;
font-size: 0;
}
.mds-tree-item .mds-tree-block-hover {
display: flex;
align-items: center;
}
.mds-tree-item .mds-tree-block-hover:before {
content: "";
background-color: #0364ff;
width: 100%;
height: 1px;
}
.mds-tree-item .mds-tree-content {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: flex;
align-items: center;
height: 22px;
}
.mds-tree-item .mds-tree-content.mds-tree-active {
background-color: #ebf3ff;
}
.mds-tree-item .mds-tree-content .mds-tree-expand {
margin-right: 3px;
}
.mds-tree-item .mds-tree-content .mds-tree-expand .mdsicon {
transition: all 0.3s;
}
.mds-tree-item .mds-tree-content .mds-tree-loading {
margin-right: 4px;
font-size: 14px;
}
.mds-tree-item .mds-tree-content .mds-tree-checkbox {
margin-left: 2px;
margin-right: 8px;
}
.mds-tree-item .mds-tree-content .mds-tree-label-wrapper {
font-size: 14px;
line-height: 1;
}
.mds-tree-item .mds-tree-content .mds-tree-label-wrapper .mds-tree-label-highlight {
color: #0364ff;
}
.mds-tree-item .mds-tree-content .mds-tree-active-label {
color: #0364ff;
}
.mds-tree-item .mds-tree-content .mds-tree-expand {
cursor: pointer;
width: 14px;
font-size: 12px;
line-height: 1;
}
.mds-tree-item .mds-tree-content .mds-tree-trans {
transform: rotate(-90deg);
}
.mds-tree-item .mds-tree-content:hover {
background-color: #ebf3ff;
}
.mds-tree-item > .ant-motion-collapse {
transition: height 0.5s;
-webkit-transition: height 0.5s;
}
.mds-tree-empty-wrapper {
display: flex;
align-items: center;
justify-content: center;
min-height: 60px;
}
.mds-tree-empty-wrapper .mds-tree-empty-text {
color: #a9abba;
line-height: 22px;
}
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */