demo2样式问题

This commit is contained in:
yangchch6 2019-03-01 14:53:10 +08:00
parent ad132e7feb
commit 4b0a4fe367
5 changed files with 32 additions and 54 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,30 +1,30 @@
.demo2.u-tree {
li a.u-tree-node-content-wrapper:hover::before {
background: rgb(235, 236, 240);
}
li a.u-tree-node-content-wrapper.u-tree-node-selected {
color: rgb(245, 60, 50);
.u-tree-title{
color: rgb(245, 60, 50);
}
background: transparent;
&::before {
background: rgb(235, 236, 240);
}
}
// .demo2.u-tree {
// li a.u-tree-node-content-wrapper:hover::before {
// background: rgb(235, 236, 240);
// }
// li a.u-tree-node-content-wrapper.u-tree-node-selected {
// color: rgb(245, 60, 50);
// .u-tree-title{
// color: rgb(245, 60, 50);
// }
// background: transparent;
// &::before {
// background: rgb(235, 236, 240);
// }
// }
li a.u-tree-node-content-wrapper::before {
position: absolute;
right: 0;
left: 0;
height: 20px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
content: "";
}
// li a.u-tree-node-content-wrapper::before {
// position: absolute;
// right: 0;
// left: 0;
// height: 20px;
// -webkit-transition: all 0.3s;
// transition: all 0.3s;
// content: "";
// }
li span {
position: relative;
z-index: 1;
}
}
// li span {
// position: relative;
// z-index: 1;
// }
// }

24
dist/demo.css vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

View File

@ -383,7 +383,7 @@ $treePrefixCls : "u-tree";
}
:focus {
outline: #cfe8fb auto 1px;
outline: #ebecf0 auto 1px;
}
}