芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.6/templates/atum/scss/blocks/_treeselect.scss
// Tree select .treeselect { display: block; padding-left: 0; list-style: none; .nav-header { font-weight: $font-weight-bold; color: $gray-900; } li { position: relative; display: block; line-height: $treeselect-line-height; list-style: none; &::before { position: absolute; top: 14px; left: ($treeselect-indent - 15px); width: 10px; height: 1px; margin: auto; content: ""; background-color: rgba(0, 0, 0, .2); [dir=rtl] & { right: ($treeselect-indent - 15px); left: 0; margin: 0; } } &::after { position: absolute; top: 0; bottom: 0; left: ($treeselect-indent - 15px); width: 1px; height: 100%; content: ""; background-color: rgba(0, 0, 0, .2); [dir=rtl] & { right: ($treeselect-indent - 15px); left: 0; } } &:last-child { &::after { height: 14px; } } li { padding-inline-start: $treeselect-indent; } } > li::before, > li::after { display: none; } .#{$jicon-css-prefix}-, .#{$fa-css-prefix}- { display: none; } .treeselect-toggle { display: inline-block; padding: 0; margin-right: .1rem; text-align: center; cursor: pointer; } .treeselect-menu { display: inline-block; } .treeselect-item { display: inline-block; input { position: relative; top: 1px; margin-right: .2rem; } label { margin-bottom: 0; } } .dropdown-toggle { padding: 0 .5rem .3rem; margin-left: .5rem; &::after { margin-left: 0; font-size: 1rem; color: var(--template-text-dark); } } } .treeselect-sub { padding-left: 0; } .tree-holder { ul ul { li::before, li::after { left: 8px; display: block; [dir=rtl] & { right: 8px; left: 0; margin: 0; } } li::before { top: 12px; } li:last-child::after { height: 12px; } } li { line-height: 1.8rem; li { padding-inline-start: 20px; } } }