|
|
@ -35,6 +35,7 @@ |
|
|
|
// 使用1倍图太模糊,这边就使用css自己画了,calc属性支持IE9, IE8反正会走hack, 不影响 |
|
|
|
// 使用1倍图太模糊,这边就使用css自己画了,calc属性支持IE9, IE8反正会走hack, 不影响 |
|
|
|
.ztree li ul.line { |
|
|
|
.ztree li ul.line { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
&:before { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
content: ''; |
|
|
|
content: ''; |
|
|
@ -60,6 +61,7 @@ |
|
|
|
border-left: 1px dashed @border-color-dark-gray-line; |
|
|
|
border-left: 1px dashed @border-color-dark-gray-line; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.ztree.solid li ul.line { |
|
|
|
.ztree.solid li ul.line { |
|
|
|
&:before { |
|
|
|
&:before { |
|
|
|
border-left: 1px solid @border-color-dark-gray-line-theme-dark; |
|
|
|
border-left: 1px solid @border-color-dark-gray-line-theme-dark; |
|
|
@ -68,7 +70,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.ztree li a { |
|
|
|
.ztree li a { |
|
|
|
padding: 1px 3px 0 0; |
|
|
|
padding: 0 3px 0 0; |
|
|
|
margin: 0; |
|
|
|
margin: 0; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
height: 23px; |
|
|
|
height: 23px; |
|
|
@ -76,11 +78,13 @@ |
|
|
|
text-decoration: none; |
|
|
|
text-decoration: none; |
|
|
|
vertical-align: top; |
|
|
|
vertical-align: top; |
|
|
|
display: inline-block; |
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
|
|
|
|
.tree-node-text { |
|
|
|
.tree-node-text { |
|
|
|
&:not(.disabled) { |
|
|
|
&:not(.disabled) { |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
.background-color(@color-bi-background-highlight, 10%); |
|
|
|
.background-color(@color-bi-background-highlight, 10%); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&:active { |
|
|
|
&:active { |
|
|
|
color: @color-bi-text-highlight; |
|
|
|
color: @color-bi-text-highlight; |
|
|
|
.background-color(@color-bi-background-highlight, 15%); |
|
|
|
.background-color(@color-bi-background-highlight, 15%); |
|
|
@ -147,8 +151,6 @@ |
|
|
|
.ztree li span.button { |
|
|
|
.ztree li span.button { |
|
|
|
line-height: 0; |
|
|
|
line-height: 0; |
|
|
|
margin: 0; |
|
|
|
margin: 0; |
|
|
|
width: 16px; |
|
|
|
|
|
|
|
height: 16px; |
|
|
|
|
|
|
|
display: inline-block; |
|
|
|
display: inline-block; |
|
|
|
vertical-align: middle; |
|
|
|
vertical-align: middle; |
|
|
|
border: 0 none; |
|
|
|
border: 0 none; |
|
|
@ -163,18 +165,22 @@ |
|
|
|
&.bi-checkbox { |
|
|
|
&.bi-checkbox { |
|
|
|
border: 1px solid @color-bi-border-dark-line; |
|
|
|
border: 1px solid @color-bi-border-dark-line; |
|
|
|
box-sizing: border-box; |
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
background-color: @color-bi-background-highlight; |
|
|
|
background-color: @color-bi-background-highlight; |
|
|
|
border-color: @color-bi-border-highlight; |
|
|
|
border-color: @color-bi-border-highlight; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.disabled { |
|
|
|
&.disabled { |
|
|
|
border: 1px solid @color-bi-border-disabled; |
|
|
|
border: 1px solid @color-bi-border-disabled; |
|
|
|
background-color: @color-bi-background-disabled; |
|
|
|
background-color: @color-bi-background-disabled; |
|
|
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
border-color: @color-bi-border-disabled; |
|
|
|
border-color: @color-bi-border-disabled; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.bi-half-button { |
|
|
|
&.bi-half-button { |
|
|
|
border: 1px solid @color-bi-border-highlight; |
|
|
|
border: 1px solid @color-bi-border-highlight; |
|
|
|
box-sizing: border-box; |
|
|
|
box-sizing: border-box; |
|
|
|