UNPKG

maycur-business

Version:

maycur business react components of web

161 lines (137 loc) 3.73 kB
@import '../../../style/variables.less'; .@{prefix}-department-picker-list { display: flex; flex-direction: column; flex: 1 1 auto; .opt-bar { margin: 0 0 5px 10px; .select-all-btn { display: inline-flex; flex-direction: row; align-items: center; cursor: pointer; &.disabled{ cursor: not-allowed !important; .fm-check{ background-color: @checked-disabled-bg; color: @checked-disabled-bor; &:before{ content: '' } } } } } .item-content{ cursor: pointer; flex: 1 1 auto; color: @primary-font-color; display: flex; align-items: center; .name{ max-width: 290px; } .fullname{ font-size: 12px; color: @secondary-text-color; } .fm-employee,.fm-cube{ color: @weak-text-color; margin-right: 8px; font-size: 16px; } } .item-root{ color: @maycur-color; .fm-cube{ color: @maycur-color; } } .fm-check { width: 18px; height: 18px; line-height: 18px; text-align: center; background-color: #fff; color: #fff; border-radius: 100%; font-size: 12px; display: inline-block; margin-right: 10px; &.selected { color: #fff; background-color: @maycur-color !important; border-color: @maycur-color !important; } } .fm-radio{ color: #E1E1E1; font-size: 16px; margin-right: 10px; } .fm-circle-check-o{ font-size: 16px; color: @maycur-color; margin-right: 10px; } .ant-list { .ant-list-item { padding: 5px 0; cursor: pointer; .fm-check{ cursor: pointer; } &.selected { .fm-check { background-color: @maycur-color !important; border-color: @maycur-color !important; } } &-content{ justify-content:space-between; } &.notick { cursor:default; .modal-item-content{ cursor:not-allowed; } .fm-check { // background-color: @checked-disabled-bg; // color: @checked-disabled-bor; // &:before{ // content: '' // } display: none; } .fm-circle-check-o,.fm-radio { display: none; } .modal-item-name { 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; } } } } }