UNPKG

@mdsfe/mds-ui

Version:

A set of enterprise-class Vue UI components.

207 lines (206 loc) 4.5 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable declaration-bang-space-before */ .mds-transfer { display: flex; align-items: center; } .mds-transfer-buttons { margin: 0 20px; } .mds-transfer-button-item { margin: 10px 0; } /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable declaration-bang-space-before */ .mds-transfer-panel { width: 200px; height: 331px; border: 1px solid #f0f2f5; overflow: hidden; } .mds-transfer-panel-header { width: 198px; height: 40px; background: #ffffff; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 12px; border-bottom: 1px solid #f0f2f5; } .mds-transfer-panel-body { width: 100%; height: 290px; overflow-y: auto; overflow-x: hidden; } .mds-transfer-panel-body .mds-checkbox-wrapper { margin-left: 0; padding-left: 12px; display: flex; align-items: center; width: 196px; height: 32px; background: #ffffff; border-radius: 2px; } .mds-transfer-panel-body .mds-checkbox-wrapper:hover { background-color: rgba(0, 0, 0, 0.02); } .mds-transfer-panel-body .mds-transfer-checked { margin-right: 0; background-color: #EEF8FF; } .mds-transfer-panel-body .mds-transfer-checked:hover { background-color: #EEF8FF; } .mds-transfer-panel-body-item { padding-left: 12px; display: flex; align-items: center; width: 184px; height: 32px; background: #ffffff; border-radius: 2px; } .mds-transfer-panel-body-item-disabled { padding-left: 12px; background: rgba(0, 0, 0, 0.02); font-size: 14px; color: #d8dce6; line-height: 32px; } .mds-transfer-panel-body-item:hover { background: rgba(0, 0, 0, 0.02); } .mds-transfer-panel__empty { margin: 0; height: 30px; line-height: 30px; padding: 6px 15px 0; color: #909399; text-align: center; } .mds-transfer-panel__filter__box { position: relative; display: block; padding: 12px; box-sizing: border-box; } .mds-transfer-checked { margin-right: 0; background-color: #EEF8FF; } .mds-transfer-checked:hover { background-color: #EEF8FF; } .mds-transfer-disabled span { color: #D8DCE6; } /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable declaration-bang-space-before */ /* stylelint-disable declaration-bang-space-before */ .mds-transfer-extra { display: flex; align-items: flex-start; min-height: 600px; gap: 24px; } .mds-transfer-extra-card { background: #fff; border-radius: 4px; border: 1px solid #f0f2f5; padding: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-start; } .mds-transfer-extra-left, .mds-transfer-extra-actions-wrapper, .mds-transfer-extra-right { height: 100%; display: flex; flex-direction: column; } .mds-transfer-extra-left-card { height: 100%; } .mds-transfer-extra-right { gap: 0; } .mds-transfer-extra-actions-wrapper { display: flex; flex-direction: column; align-items: center; } .mds-transfer-extra-header { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid #f0f2f5; background: #fff; } .mds-transfer-extra-title { font-weight: bold; font-size: 16px; color: #333; margin-right: 8px; } .mds-transfer-extra-count { color: #888; font-size: 14px; min-width: 48px; text-align: right; } .mds-transfer-extra-search { position: relative; display: block; padding: 12px; box-sizing: border-box; } .mds-transfer-extra-scroll { flex: 1; overflow-y: auto; padding: 0 0 0 0; } .mds-transfer-extra-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; justify-content: center; } .mds-transfer-extra-btn { width: auto; height: 40px; font-size: 16px; border-radius: 4px; margin-bottom: 0; color: #fff; font-weight: bold; transition: background 0.2s; } .mds-transfer-extra-btn:active, .mds-transfer-extra-btn:focus { background: #90c2f7; } .checkbox-group-vertical { display: flex; flex-direction: column; gap: 0; } .mds-checkbox-wrapper { display: flex; align-items: center; } .mds-checkbox-wrapper:hover { background-color: #f5f7fa; } .mds-checkbox-wrapper .mds-checkbox[disabled] + span { color: #d8dce6; }