shu-c-view
Version:
rollup 打包vue组件库框架
70 lines (66 loc) • 1.28 kB
text/less
/**
* @desc 下拉树面板
*/
.base-select-tree {
position: relative;
.el-select {
// overflow: hidden;
.el-select__tags {
max-height: 150px;
overflow: auto;
}
}
}
.base-select-tree-down-empty + div {
border-bottom-color: transparent ;
}
// 下拉 tree 的面板
.el-popover {
// max-height: 360px;
// overflow: auto;
// padding: 10px;
}
.base-el-popover {
height: 260px;
padding: 6px 3px ;
}
.base-select-tree__popper {
border-width: 0;
.el-select-dropdown__list {
padding: 0;
}
}
.select-tree__input {
padding: 0 6px;
padding-bottom: 3px;
.el-input__suffix {
right: 10px;
}
}
.select-tree__autoWidth {
// min-width: 180px;
}
.select-tree__autoWidth .el-input--prefix .el-input__inner {
padding-left: 15px;
}
.select-tree__autoWidth .el-input__prefix {
position: relative;
left: 0;
box-sizing: border-box;
height: 32px;
// padding: 0 30px;
padding-right: 30px;
line-height: 32px;
visibility: hidden;
border: 1px solid #fff;
}
/* stylelint-disable no-duplicate-selectors */
.select-tree__autoWidth .el-input__prefix {
position: relative;
}
.select-tree__autoWidth .el-input__suffix {
position: relative;
}
.select-tree__autoWidth input {
position: absolute;
}