2018-07-11 09:51:20 +00:00
|
|
|
@treePrefixCls: rc-tree-select-tree;
|
|
|
|
.@{treePrefixCls} {
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px;
|
|
|
|
li {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
outline: 0;
|
|
|
|
a[draggable],
|
2019-01-12 03:33:27 +00:00
|
|
|
a[draggable='true'] {
|
2018-07-11 09:51:20 +00:00
|
|
|
color: #333;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
/* Required to make elements draggable in old WebKit */
|
|
|
|
-khtml-user-drag: element;
|
|
|
|
-webkit-user-drag: element;
|
|
|
|
}
|
|
|
|
&.drag-over {
|
|
|
|
> a[draggable] {
|
|
|
|
background-color: #316ac5;
|
|
|
|
color: white;
|
|
|
|
border: 1px #316ac5 solid;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.drag-over-gap-top {
|
|
|
|
> a[draggable] {
|
|
|
|
border-top: 2px blue solid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.drag-over-gap-bottom {
|
|
|
|
> a[draggable] {
|
|
|
|
border-bottom: 2px blue solid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.filter-node {
|
2018-12-25 04:00:39 +00:00
|
|
|
> .@{treePrefixCls}-node-content-wrapper {
|
2019-01-12 03:33:27 +00:00
|
|
|
color: #a60000 !important;
|
|
|
|
font-weight: bold !important;
|
2018-07-11 09:51:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 0 18px;
|
|
|
|
&.@{treePrefixCls}-line {
|
2019-01-12 03:33:27 +00:00
|
|
|
background: url('data:image/gif;base64,R0lGODlhCQACAIAAAMzMzP///yH5BAEAAAEALAAAAAAJAAIAAAIEjI9pUAA7')
|
|
|
|
0 0 repeat-y;
|
2018-07-11 09:51:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1px 3px 0 0;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 17px;
|
|
|
|
text-decoration: none;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
&.@{treePrefixCls}-switcher,
|
|
|
|
&.@{treePrefixCls}-checkbox,
|
|
|
|
&.@{treePrefixCls}-iconEle {
|
|
|
|
line-height: 16px;
|
|
|
|
margin-right: 2px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
border: 0 none;
|
|
|
|
cursor: pointer;
|
|
|
|
outline: none;
|
|
|
|
background-color: transparent;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-attachment: scroll;
|
2019-01-12 03:33:27 +00:00
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAABhCAYAAABRe6o8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAK0dJREFUeNrsfQl8VNX1/5l9ksm+ELJB2ANECGtYVEAQaZBSFdAW0dpaKbi0WhX9Va1/S/+K2k+1iCztT4sFW6lKkUV2RLZAQHaSQBJCMllJJtvsM2/e75775k3evHkzTCZEAubweczMu/d7ZzLznXPvOff7zsjS7nudhXZaxZd/kKXf//9Cwgkf1xha2QOnS2DzofNw5FwZjM/KgFkTh8Idw/tBz7hImb9xQsV1W9czJf73zTsPek7I5XL3oQCFQkkOBSiV3C2eG/rz9z19Q8Wh7T5+kX3i7c9g6ojekDs6A1796Vg4XVoPe/ILYMnKzbDmxQfZaaMH+pApVFy3Sdupp8cKH6rJ8QQ55pBjvPvcEXJ8To415LDzHbOXH/OAZLK2t/vBbbcFHOOz3LOeM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JLinJpUD/k8pJZrwBk1nOJy+1+l/aVwSD6hGuar0q8kcZ2ZB+wK46AeMC5rhOThtKAesOCa47lY1+KYcO3qp340HIYMjAMj+Ug++FpPj3/n6ek5bMM+2DfYMYqauQPv+xuDEpBfSwXaE6YkEm0B8jiaLtg+0Yd8uDMixmHUOq4Xt0Z0cEGSb54qbhzF5SQ30P5SOFTDNBgMYBKoYaRwt7oHvB56QJVCseLROzPBwJDAshVgywE97PhpmudYv1dP27AP9gWRHtDfGLjli0czCQH8jcF5QHfgEFAHiCQS70
|
2018-07-11 09:51:20 +00:00
|
|
|
}
|
|
|
|
&.@{treePrefixCls}-icon_loading {
|
|
|
|
margin-right: 2px;
|
|
|
|
vertical-align: top;
|
2019-01-12 03:33:27 +00:00
|
|
|
background: url('data:image/gif;base64,R0lGODlhEAAQAKIGAMLY8YSx5HOm4Mjc88/g9Ofw+v///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAGACwAAAAAEAAQAAADMGi6RbUwGjKIXCAA016PgRBElAVlG/RdLOO0X9nK61W39qvqiwz5Ls/rRqrggsdkAgAh+QQFCgAGACwCAAAABwAFAAADD2hqELAmiFBIYY4MAutdCQAh+QQFCgAGACwGAAAABwAFAAADD1hU1kaDOKMYCGAGEeYFCQAh+QQFCgAGACwKAAIABQAHAAADEFhUZjSkKdZqBQG0IELDQAIAIfkEBQoABgAsCgAGAAUABwAAAxBoVlRKgyjmlAIBqCDCzUoCACH5BAUKAAYALAYACgAHAAUAAAMPaGpFtYYMAgJgLogA610JACH5BAUKAAYALAIACgAHAAUAAAMPCAHWFiI4o1ghZZJB5i0JACH5BAUKAAYALAAABgAFAAcAAAMQCAFmIaEp1motpDQySMNFAgA7')
|
|
|
|
no-repeat scroll 0 0 transparent;
|
2018-07-11 09:51:20 +00:00
|
|
|
}
|
|
|
|
&.@{treePrefixCls}-switcher {
|
|
|
|
&-noop {
|
|
|
|
cursor: auto;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
&_open {
|
|
|
|
background-position: -93px -56px;
|
|
|
|
}
|
|
|
|
&_close {
|
|
|
|
background-position: -75px -56px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.@{treePrefixCls}-checkbox {
|
|
|
|
width: 13px;
|
|
|
|
height: 13px;
|
|
|
|
margin: 0 3px;
|
|
|
|
background-position: 0 0;
|
|
|
|
&-checked {
|
|
|
|
background-position: -14px 0;
|
|
|
|
}
|
|
|
|
&-indeterminate {
|
|
|
|
background-position: -14px -28px;
|
|
|
|
}
|
|
|
|
&-disabled {
|
|
|
|
background-position: 0 -56px;
|
|
|
|
}
|
|
|
|
&.@{treePrefixCls}-checkbox-checked.@{treePrefixCls}-checkbox-disabled {
|
|
|
|
background-position: -14px -56px;
|
|
|
|
}
|
|
|
|
&.@{treePrefixCls}-checkbox-indeterminate.@{treePrefixCls}-checkbox-disabled {
|
|
|
|
position: relative;
|
|
|
|
background: #ccc;
|
|
|
|
border-radius: 3px;
|
|
|
|
&::after {
|
|
|
|
content: ' ';
|
|
|
|
-webkit-transform: scale(1);
|
|
|
|
transform: scale(1);
|
|
|
|
position: absolute;
|
|
|
|
left: 3px;
|
|
|
|
top: 5px;
|
|
|
|
width: 5px;
|
|
|
|
height: 0;
|
|
|
|
border: 2px solid #fff;
|
|
|
|
border-top: 0;
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-child-tree {
|
|
|
|
display: none;
|
|
|
|
&-open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-treenode-disabled {
|
2019-01-12 03:33:27 +00:00
|
|
|
> span,
|
|
|
|
> a,
|
|
|
|
> a span {
|
2018-07-11 09:51:20 +00:00
|
|
|
color: #ccc;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&-node-selected {
|
|
|
|
background-color: #ffe6b0;
|
|
|
|
border: 1px #ffb951 solid;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
&-icon__open {
|
|
|
|
margin-right: 2px;
|
|
|
|
background-position: -110px -16px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
&-icon__close {
|
|
|
|
margin-right: 2px;
|
|
|
|
background-position: -110px 0;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
}
|