maycur-business
Version:
maycur business react components of web
153 lines (127 loc) • 3.43 kB
text/less
@import "../../../style/variables.less";
@prefix-cls: ~"@{prefix}-manage-list";
.@{prefix-cls} {
display: flex;
flex-direction: column;
flex: 1 1 auto;
height: calc(~"100% - 37px");
.opt-bar {
margin: 0 0 5px 10px;
.select-all-btn {
display: inline-flex;
flex-direction: row;
align-items: center;
cursor: pointer;
line-height: 24px;
&.disabled {
cursor: not-allowed ;
.fm-check {
background-color: @checked-disabled-bg;
color: @checked-disabled-bor;
&:before {
content: ''
}
}
}
}
}
.fm-check {
width: 18px;
height: 18px;
line-height: 18px;
text-align: center;
background-color: #fff;
color: #fff;
border-radius: 100%;
margin-right: 10px;
font-size: 12px;
display: inline-block;
&.selected {
color: #fff;
}
}
.ant-list {
.ant-list-item {
padding: 5px 0;
.fm-check {
cursor: pointer;
}
&.selected {
.fm-check {
background-color: @maycur-color;
border-color: @maycur-color;
}
}
&-content {
justify-content: space-between;
}
&.notick {
.fm-check {
background-color: @checked-disabled-bg;
color: @checked-disabled-bor;
cursor: not-allowed;
&:before {
content: ''
}
}
.modal-item-name {
cursor: not-allowed;
position: relative;
top: 3px;
}
}
.fm-check {
flex: 0 0 auto;
}
.fm-organization {
flex: 0 0 auto;
width: 60px;
height: 22px;
line-height: 22px;
font-size: 12px;
text-align: center;
color: @maycur-color;
border-radius: 3px;
cursor: pointer;
&:before {
font-size: 14px;
}
&:hover {
color: @maycur-color;
background-color: #fff;
}
}
}
}
.item-content {
display: flex;
flex: 1;
overflow: hidden;
align-items: center;
.fm {
flex: none;
}
.manage-picker-item-name {
flex: 1 1 auto;
color: @primary-font-color;
cursor: pointer;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: inline-block;
position: relative;
.fm {
color: @maycur-color;
margin-right: 5px;
}
}
}
.load-more {
padding: 4px 28px;
color: #1199ff;
cursor: pointer;
&:hover {
background: #f9f6f6;
}
}
}