forked from fanruan/fineui
Browse Source
* commit '1bd3acbc4c38787866ca3b02760be13969c0aa50': JSY-17842 fix: 解决LIST_ITEM_HEIGHT对线的影响 无JIRA 整理去掉无用代码 DESIGN-4160 feat: 复选树节点,某一个节点支持灰化,复选框也灰化,并且前边的展开收起是正常的es6
superman
3 years ago
5 changed files with 59 additions and 174 deletions
@ -1,28 +1,42 @@
|
||||
@import "../../index.less"; |
||||
@import "../../image.less"; |
||||
@import "../../lib/icon.less"; |
||||
.bi-tree-expander-popup.line:before { |
||||
position: absolute; |
||||
content: ""; |
||||
height: 100%; |
||||
width: 24px; |
||||
.imagePath(@icon-tree-vertical-line-1, 0, 0, repeat-y); |
||||
} |
||||
|
||||
.bi-tree-expander-popup.line.solid:before { |
||||
.imagePath(@icon-tree-solid-vertical-line-1, 0, 0, repeat-y); |
||||
width: 24px; |
||||
left: 8px; |
||||
.bi-tree-expander-popup.line { |
||||
|
||||
&:before { |
||||
border-left: 1px dashed @border-color-dark-gray-line; |
||||
position: absolute; |
||||
content: ""; |
||||
height: 100%; |
||||
left: -1px; |
||||
} |
||||
|
||||
&.solid:before { |
||||
border-left: 1px solid @border-color-dark-gray-line; |
||||
position: absolute; |
||||
content: ""; |
||||
height: 100%; |
||||
left: -1px; |
||||
} |
||||
} |
||||
|
||||
.bi-theme-dark { |
||||
.bi-tree-expander-popup.line:before { |
||||
width: 24px; |
||||
.imagePath(@icon-tree-vertical-line-1-theme-dark, 0, 0, repeat-y); |
||||
} |
||||
.bi-tree-expander-popup.line.solid:before { |
||||
.imagePath(@icon-tree-solid-vertical-line-1-theme-dark, 0, 0, repeat-y); |
||||
width: 24px; |
||||
left: 8px; |
||||
.bi-tree-expander-popup.line { |
||||
|
||||
&:before { |
||||
border-left: 1px dashed @border-color-dark-gray-line-theme-dark; |
||||
position: absolute; |
||||
content: ""; |
||||
height: 100%; |
||||
left: -1px; |
||||
} |
||||
|
||||
&.solid:before { |
||||
border-left: 1px solid @border-color-dark-gray-line-theme-dark; |
||||
position: absolute; |
||||
content: ""; |
||||
height: 100%; |
||||
left: -1px; |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue