UNPKG

dareway-rui

Version:

39 lines (31 loc) 1.2 kB
.rui-Tree { display: flex; flex-direction: row; flex: 1 1 auto; /*Tree默认是fill*/ } .rui-Tree-treeAreaWrapper { position: relative; width: 200px; flex: 0 0 auto; overflow: auto; } .rui-Tree-TreeLeafWrapper { flex: 1 1 auto; display: flex; overflow: auto; } /** todo 覆盖antd的tree样式 */ .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper:before, .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper:before { background: rgb(186, 231, 255); } .ant-tree.ant-tree-directory > li span.ant-tree-node-content-wrapper.ant-tree-node-selected, .ant-tree.ant-tree-directory .ant-tree-child-tree > li span.ant-tree-node-content-wrapper.ant-tree-node-selected { color: rgba(0, 0, 0, 0.85); } .ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-switcher, .ant-tree.ant-tree-directory .ant-tree-child-tree > li.ant-tree-treenode-selected > span.ant-tree-switcher { color: rgba(0, 0, 0, 0.65); } .ant-tree li .ant-tree-node-content-wrapper{ color: black; }