ant-design/style/components/transfer.less

90 lines
1.6 KiB
Plaintext
Raw Normal View History

2015-11-25 23:17:06 +08:00
@transfer-prefix-cls: ~"@{css-prefix}transfer";
.@{transfer-prefix-cls} {
&-list {
border: 1px solid #e9e9e9;
2015-12-16 23:02:49 +08:00
display: inline-block;
2015-11-25 23:17:06 +08:00
border-radius: 6px;
2015-12-16 23:02:49 +08:00
width: 160px;
height: 191px;
2015-11-25 23:17:06 +08:00
&-header {
2015-12-16 23:02:49 +08:00
padding: 7px 14px;
2015-11-25 23:17:06 +08:00
border-radius: 5px 5px 0 0;
background: #fff;
color: #666;
border-bottom: 1px solid #e9e9e9;
2015-12-16 23:02:49 +08:00
&-title {
float: right;
}
2015-11-25 23:17:06 +08:00
}
&-body {
font-size: 12px;
line-height: 1.5;
2015-12-16 23:02:49 +08:00
position: relative;
padding-top: 30px;
height: 150px;
&-search-wrapper {
position: absolute;
top: 0;
left: 0;
height: 28px;
padding: 4px;
width: 100%;
&:after {
//"\E631" cross-circle
content: "\E68C";
color: #ccc;
position: absolute;
top: 2px;
right: 2px;
font-family: "anticon";
width: 32px;
height: 32px;
line-height: 32px;
text-align: center;
font-size: 14px;
}
}
2015-11-25 23:17:06 +08:00
ul {
2015-12-16 23:02:49 +08:00
height: 100%;
overflow: auto;
2015-11-25 23:17:06 +08:00
li {
padding: 7px 16px;
&:hover {
cursor: pointer;
background-color: #eef9fe;
2015-11-25 23:17:06 +08:00
}
}
}
}
&-footer {
border-top: 1px solid #e9e9e9;
padding: 8px 20px 16px 10px;
text-align: right;
border-radius: 0 0 5px 5px;
}
}
2015-12-16 23:02:49 +08:00
&-operation {
display: inline-block;
overflow: hidden;
vertical-align: top;
margin: 80px 8px;
button {
float: left;
clear: both;
}
}
2015-11-25 23:17:06 +08:00
}