UNPKG

maycur-business

Version:

maycur business react components of web

378 lines (313 loc) • 9.38 kB
@import '../../../style/variables.less'; .@{prefix}-department-picker-transfer { width: 100%; .transfer-content { display: flex; flex-direction: row; justify-content: space-between; margin-top: -5px; .ant-tabs-tabpane { padding: 0 10px 5px 10px; } .left, .right { display: flex; flex-direction: column; flex: 0 0 auto; padding: 0 10px; height: calc(~"80vh - 124px"); max-height: 460px; .ant-list { flex: 1 1 auto; overflow: auto; } } .middle { align-self: center; } .left { width: 49%; .ant-alert { margin-bottom: 5px; padding-left: 30px; font-size: 12px; >i { left: 10px; } } .search-box { flex: 0 0 auto; position: relative; .fm { border-radius: 3px; cursor: pointer; position: absolute; background-color: #fff; right: 4px; top: 4px; width: 22px; height: 22px; font-size: 14px; line-height: 22px; text-align: center; color: @weak-text-color; &:hover { color: @reject-color; background-color: @reject-bg-color; } } .ant-input { background-color: #f7f7f7; padding-left: 10px; } .ant-input-group-addon { width: 90px; padding: 0; &:first-child { border: none; } .ant-select { width: 100%; padding: 0 10px; } } .ant-select-selection { font-size: 12px; .ant-select-selection__rendered { margin: 0; } .ant-select-arrow { right: 0; } } } .searching { .ant-input-suffix { display: none; } } .search-list, .source-list { display: flex; flex-direction: column; flex: 1 1 auto; margin-top: 8px; height: calc(~"80vh - 204px"); max-height: calc(~"460px - 80px"); overflow: auto; } .user-group-wrapper { display: flex; flex-direction: column; flex: 1 1 auto; margin: 0; margin-top: 8px; height: calc(~"80vh - 174px"); max-height: calc(~"460px - 50px"); overflow: auto; } .opt-bar { margin: 8px 0 5px 0; padding-bottom: 8px; border-bottom: 1px solid @border-color; .select-all-btn { display: inline-flex; flex-direction: row; align-items: center; cursor: pointer; } } } .right { width: 49%; .status-bar { flex: 0 0 auto; border-bottom: 3px solid #ebebeb; padding: 5px 0 7px; font-size: 14px; display: flex; flex-direction: row; align-items: flex-start; color: #555; >span { line-height: 18px; } .bar-label { flex: 0 0 auto; } .dep-count { flex: 0 1 auto; margin-right: 2px; } .staff-count { flex: 0 1 auto; margin-right: 2px; } .clear-all { flex: 1 0 auto; text-align: right; .btn { display: inline-block; padding: 3px 5px; cursor: pointer; margin-top: -4px; color: @maycur-color; &:hover { color: @reject-color; background-color: @reject-bg-color; } } } } .right-warn-alert { margin-top: 10px; height: 30px; line-height: 30px; } .ant-alert { flex: 0 0 auto; padding: 6px 10px; border-radius: 0; line-height: 17px; font-size: 12px; border: none; color: @weak-text-color; +.ant-list { border-top: none; } } .ant-list { margin-top: 10px; padding: 0 10px 5px 10px; } } .ant-tabs { display: flex; flex-direction: column; .ant-tabs-bar { border-bottom-width: 3px; margin-bottom: 10px; box-sizing: content-box; } .ant-tabs-nav-container { bottom: -3px; margin-bottom: 0; padding: 0; .ant-tabs-nav-wrap { margin-bottom: 0; } } .ant-tabs-ink-bar { height: 3px; bottom: 0; } .ant-tabs-tabpane { display: flex; flex-direction: column; } .ant-tabs-nav { .ant-tabs-tab { padding-top: 0; } .ant-tabs-tab-active { color: #555; } } } .item-name { flex: 1 1 auto; color: @primary-font-color; display: flex; .name { max-width: 290px; } .fm { color: @weak-text-color; margin-right: 8px; } } .fm-check { width: 18px; height: 18px; line-height: 18px; text-align: center; background-color: #fff; color: #fff; border-radius: 0; border: 1px solid @border-color; font-size: 12px; display: inline-block; .selected { background-color: @maycur-color; border-color: @maycur-color; color: #fff; } } .strong { color: @maycur-color; margin: 0 3px; } .ant-input-search { .ant-input { height: 30px; font-size: 12px; border: 0; &:hover, &:focus { border: 0; } } } .ant-breadcrumb { font-size: 14px; // margin: 8px 0 0 0; >span:last-child { color: @weak-text-color; } .ant-breadcrumb-link { color: @main-text-color; } } .ant-list-item { // padding: 5px 0 5px 10px; border-bottom: 0; .fm-check { flex: 0 0 auto; } .fm-organization { flex: 0 0 auto; // width: 22px; height: 22px; line-height: 22px; font-size: 14px; text-align: center; color: @maycur-color; border-radius: 3px; &:hover { background-color: @maycur-color; color: #fff; } } .fm-trash { width: 22px; height: 22px; line-height: 22px; font-size: 14px; text-align: center; color: @maycur-color; border-radius: 3px; cursor: pointer; &:hover { background-color: @reject-bg-color; color: @reject-color; } } &.selected { .fm-check { background-color: @maycur-color; border-color: @maycur-color; } } } } }