@aplus-frontend/ui
Version:
86 lines (70 loc) • 1.52 kB
text/less
@import '../mixins/mixins.less';
@import '../mixins/config.less';
.b('ap-popover-select', {
&__popover {
width: 100%;
left: 0 ;
min-width: 300px;
& .ant-popover-arrow {
display: none;
}
& .ant-popover-inner {
padding: 0;
}
& .ant-select {
height: 240px;
& .ant-select-selector {
min-height: 60px;
align-items: flex-start;
padding: 0;
}
& .ant-select-selection-item {
border-radius: 2px;
&-content {
margin-inline-end: 8px;
}
}
& .ant-select-selection-placeholder {
text-wrap: wrap ;
white-space: pre-wrap ;
top: 2px;
transform: none;
}
}
&--content {
padding: 12px;
}
&--footer {
padding: 12px;
border-top: 1px solid #e9edf3;
display: flex;
justify-content: space-between;
}
&--trigger {
display: inline-block;
pointer-events: auto;
height: 16px;
width: 16px;
color: #abb7cc;
&:hover,&:focus,&:active {
color: #0070ff
}
}
&--trigger--admin {
display: inline-block;
pointer-events: auto;
height: 16px;
width: 16px;
color: #BFBFBF;
&:hover,&:focus,&:active {
color: #85d4b0
}
}
&--footer--admin {
padding: 12px;
border-top: 1px solid #e9e9e9;
display: flex;
justify-content: space-between;
}
}
});