Browse Source

Pull request #2827: 无JIRA fix: 背景色不能遮住线,改为:after

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '71af95c3355d4a7d80d08a200d3bc146bf4a8243':
  无JIRA fix: 背景色不能遮住线,改为:after
es6
Dailer 2 years ago
parent
commit
3fbb78cee4
  1. 18
      src/less/base/tree/tree.expander.less

18
src/less/base/tree/tree.expander.less

@ -3,40 +3,34 @@
.bi-tree-expander-popup.line { .bi-tree-expander-popup.line {
&:before { &:after {
border-left: 1px dashed @border-color-dark-gray-line; border-left: 1px dashed @border-color-dark-gray-line;
position: absolute; position: absolute;
content: ""; content: "";
height: 100%; height: 100%;
left: -1px; left: -1px;
top: 0;
} }
&.solid:before { &.solid:after {
border-left: 1px solid @border-color-dark-gray-line; border-left: 1px solid @border-color-dark-gray-line;
position: absolute;
content: "";
height: 100%;
left: -1px;
} }
} }
.bi-theme-dark { .bi-theme-dark {
.bi-tree-expander-popup.line { .bi-tree-expander-popup.line {
&:before { &:after {
border-left: 1px dashed @border-color-dark-gray-line-theme-dark; border-left: 1px dashed @border-color-dark-gray-line-theme-dark;
position: absolute; position: absolute;
content: ""; content: "";
height: 100%; height: 100%;
left: -1px; left: -1px;
top: 0;
} }
&.solid:before { &.solid:after {
border-left: 1px solid @border-color-dark-gray-line-theme-dark; border-left: 1px solid @border-color-dark-gray-line-theme-dark;
position: absolute;
content: "";
height: 100%;
left: -1px;
} }
} }
} }

Loading…
Cancel
Save