bklLiudl
2025-04-07 4e8f58cb41c7b6d570fd1979d80f74ab8a4d00c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@transfer-prefix-cls: ~"@{css-prefix}transfer";
@transfer-item-prefix-cls: ~"@{css-prefix}transfer-list-content-item";
 
.@{transfer-prefix-cls} {
    position: relative;
    line-height: @line-height-base;
 
    &-list{
        display: inline-block;
        width: 180px;
        height: 210px;
        font-size: @font-size-base;
        vertical-align: middle;
        position: relative;
        padding-top: 35px;
 
        &-with-footer{
            padding-bottom: 35px;
        }
 
        &-header {
            padding: 8px 16px;
            background: @head-bg;
            color: @text-color;
            border: 1px solid @border-color-base;
            border-bottom: 1px solid @border-color-split;
            border-radius: @border-radius-base @border-radius-base 0 0;
            overflow: hidden;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
 
            &-title{
                cursor: pointer;
            }
 
            & > span{
                padding-left: 4px;
            }
 
            &-count {
                margin: 0 !important;
                float: right;
            }
        }
 
        &-body{
            height: 100%;
            border: 1px solid @border-color-base;
            border-top: none;
            border-radius: 0 0 @border-radius-base @border-radius-base;
            position: relative;
            overflow: hidden;
 
            &-with-search{
                padding-top: 34px;
            }
            &-with-footer{
                border-radius: 0;
            }
        }
 
        &-content{
            height: 100%;
            padding: 4px 0;
            overflow: auto;
 
            &-item{
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
 
                & > span{
                    padding-left: 4px;
                }
            }
 
            &-not-found{
                display: none;
                text-align: center;
                color: @btn-disable-color;
            }
            li&-not-found:only-child{
                display: block;
            }
        }
        &-body-with-search &-content{
            padding: 6px 0 0;
        }
 
        &-body-search-wrapper{
            padding: 8px 8px 0;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
        }
 
        &-search{
            position: relative;
        }
 
        &-footer{
            border: 1px solid @border-color-base;
            border-top: none;
            border-radius: 0 0 @border-radius-base @border-radius-base;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
 
            .clearfix();
        }
    }
    &-operation {
        display: inline-block;
        //overflow: hidden;
        margin: 0 16px;
        vertical-align: middle;
 
        .@{btn-prefix-cls} {
            display: block;
            min-width: @btn-circle-size-small;
 
            &:first-child {
                margin-bottom: 12px;
            }
        }
        .@{btn-prefix-cls}{
            span {
                i, span{
                    vertical-align: middle;
                }
            }
        }
    }
}
.select-item(@transfer-prefix-cls, @transfer-item-prefix-cls);