2016-11-18 11:46:55 +08:00
|
|
|
@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-small;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
|
|
|
padding-top: 35px;
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
padding: 8px 16px;
|
2016-11-18 14:37:02 +08:00
|
|
|
background: @head-bg;
|
2016-11-18 11:46:55 +08:00
|
|
|
color: @text-color;
|
2016-11-18 15:01:49 +08:00
|
|
|
border: 1px solid @border-color-base;
|
2016-11-18 11:46:55 +08:00
|
|
|
border-bottom: 1px solid @border-color-split;
|
2016-11-18 15:01:49 +08:00
|
|
|
border-radius: @border-radius-base @border-radius-base 0 0;
|
2016-11-18 11:46:55 +08:00
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
2016-11-18 14:37:02 +08:00
|
|
|
& > span{
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
2016-11-18 11:46:55 +08:00
|
|
|
&-count {
|
|
|
|
margin: 0 !important;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-body{
|
|
|
|
height: 100%;
|
2016-11-18 15:01:49 +08:00
|
|
|
border: 1px solid @border-color-base;
|
|
|
|
border-top: none;
|
|
|
|
border-radius: 0 0 @border-radius-base @border-radius-base;
|
2016-11-18 11:46:55 +08:00
|
|
|
position: relative;
|
2016-11-18 15:51:54 +08:00
|
|
|
overflow: hidden;
|
2016-11-18 11:46:55 +08:00
|
|
|
|
|
|
|
&-with-search{
|
2016-11-18 14:37:02 +08:00
|
|
|
padding-top: 34px;
|
2016-11-18 11:46:55 +08:00
|
|
|
}
|
2016-11-18 15:51:54 +08:00
|
|
|
&-with-footer{
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2016-11-18 11:46:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-content{
|
|
|
|
height: 100%;
|
|
|
|
padding: 4px 0;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
&-item{
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2016-11-18 14:37:02 +08:00
|
|
|
|
|
|
|
& > span{
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
2016-11-18 11:46:55 +08:00
|
|
|
}
|
2016-11-18 12:02:09 +08:00
|
|
|
|
|
|
|
&-not-found{
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
color: @btn-disable-color;
|
|
|
|
}
|
|
|
|
li&-not-found:only-child{
|
|
|
|
display: block;
|
|
|
|
}
|
2016-11-18 11:46:55 +08:00
|
|
|
}
|
|
|
|
&-body-with-search &-content{
|
2016-11-18 14:37:02 +08:00
|
|
|
padding: 6px 0 0;
|
2016-11-18 11:46:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-body-search-wrapper{
|
2016-11-18 14:37:02 +08:00
|
|
|
padding: 8px 8px 0;
|
2016-11-18 11:46:55 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-search{
|
|
|
|
position: relative;
|
|
|
|
}
|
2016-11-18 14:37:02 +08:00
|
|
|
|
|
|
|
&-footer{
|
|
|
|
border: 1px solid @border-color-base;
|
|
|
|
border-top: none;
|
|
|
|
border-radius: 0 0 @border-radius-base @border-radius-base;
|
|
|
|
|
|
|
|
.clearfix();
|
|
|
|
}
|
2016-11-18 11:46:55 +08:00
|
|
|
}
|
|
|
|
&-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.select-item(@transfer-prefix-cls, @transfer-item-prefix-cls);
|