@aplus-frontend/ui
Version:
59 lines (56 loc) • 1.14 kB
text/less
@import '../../mixins/mixins.less';
@import '../../mixins/config.less';
@mr: ~'@{ns}-sortable-item-meta-right';
@mlh: ~'@{ns}-sortable-item-meta-left__holder';
.b(sortable-item-meta, {
padding: 6px 8px;
margin-top: 4px;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
&:hover {
background-color: #F1F7FF;
border-radius: 2px;
cursor: pointer;
.@{mr} {
display: block;
}
.@{mlh} {
color: var(--ap-color-primary) ;
}
}
&-left {
flex: 1;
display: inline-flex;
align-items: center;
min-width: 0;
&__indicator {
display: inline-flex;
justify-content: center;
align-items: center;
width: 16px;
height: 16px;
margin-right: 4px;
flex-shrink: 0;
}
&__label-wrapper {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
&-right {
display: none;
padding-left: 12px;
}
.is-level2 {
margin-left: 16px;
}
&-action-icon {
&:hover {
color: var(--ap-color-primary);
}
}
});