feat: 初始化
This commit is contained in:
1
pages/components/baseTree/style/default.css
Normal file
1
pages/components/baseTree/style/default.css
Normal file
@ -0,0 +1 @@
|
||||
.tree-node--with-tree-line{position:relative}.tree-line{position:absolute;background-color:#bbb}.tree-vline{width:1px;top:0;bottom:0}.tree-hline{height:1px;top:50%;width:10px}.he-tree--rtl{direction:rtl}.he-tree-drag-placeholder{background:#ddf2f9;border:1px dashed #00d9ff;height:22px;width:100%}.he-tree__open-icon{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-block}.he-tree__open-icon.open{transform:rotate(90deg)}.he-tree__open-icon svg{width:1em}
|
58
pages/components/baseTree/style/material-design.css
Normal file
58
pages/components/baseTree/style/material-design.css
Normal file
@ -0,0 +1,58 @@
|
||||
.mtl-tree .tree-node-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.mtl-tree .tree-node {
|
||||
padding: 1px 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mtl-tree .tree-node:hover {
|
||||
background-color: #ededed;
|
||||
/* recommend: active #ddeff9, active & hover: #cfe6f2 */
|
||||
}
|
||||
|
||||
.mtl-checkbox {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.mtl-ml {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.mtl-mr {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.mtl-tree table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
|
||||
.mtl-tree td,
|
||||
.mtl-tree th {
|
||||
border-bottom: 1px solid rgba(224, 224, 224, 1);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.mtl-tree tr:last-child td,
|
||||
.mtl-tree tr:last-child tr {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
|
||||
.mtl-text-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mtl-text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mtl-text-right {
|
||||
text-align: right;
|
||||
}
|
Reference in New Issue
Block a user