chowa
Version:
UI component library based on React
132 lines (118 loc) • 2.89 kB
CSS
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.cw-transfer {
display: flex;
flex-direction: row;
align-items: center;
margin: 0;
padding: 0;
font-size: 14px;
color: #616a6e;
outline: none; }
.cw-transfer:not(.cw-transfer-disabled):focus .cw-transfer-model:first-child {
box-shadow: 0 1px 2px 3px rgba(119, 116, 231, 0.15);
border-color: #7774e7; }
.cw-transfer.cw-has-error .cw-transfer-model {
border-color: #ed4014; }
.cw-transfer-operate-wrapper {
padding: 0 12px;
margin: 0;
box-sizing: border-box;
flex: none;
display: flex;
flex-direction: column; }
.cw-transfer-operate-btn + .cw-transfer-operate-btn {
margin-left: 0;
margin-top: 12px; }
.cw-transfer-model {
border: 1px solid #e6ecf5;
border-radius: 3px;
transition: all 0.2s linear;
flex: none;
width: 240px;
height: 320px;
position: relative;
overflow: hidden;
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
flex-direction: column; }
.cw-transfer-model-header {
border-bottom: 1px solid #e6ecf5;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
flex: none;
margin: 0;
padding: 4px 12px; }
.cw-transfer-model-title {
margin: 0;
padding: 0;
line-height: 32px;
color: #888da8; }
.cw-transfer-model-body {
margin: 0;
padding: 0;
box-sizing: border-box;
flex: auto;
overflow: hidden;
display: flex;
flex-direction: column; }
.cw-transfer-search-wrapper {
padding: 8px 12px;
margin: 0;
box-sizing: border-box;
flex: none;
position: relative; }
.cw-transfer-selector-wrapper {
margin: 0;
padding: 0;
list-style: none;
flex: auto;
overflow-x: hidden;
overflow-y: auto; }
.cw-transfer-item {
margin: 0;
padding: 0 12px;
box-sizing: border-box;
transition: all 0.2s ease-in-out;
line-height: 32px;
display: flex;
align-items: center;
cursor: pointer; }
.cw-transfer-item:hover:not(.cw-transfer-item-disabled) {
background-color: #f7f6fe; }
.cw-transfer-item .cw-checkbox-wrapper {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.cw-transfer-item-disabled {
cursor: not-allowed; }
.cw-transfer-empty {
margin: 0;
padding: 0;
color: #888da8;
height: 100%;
display: flex;
align-items: center;
justify-content: center; }
.cw-transfer-model-footer {
border-top: 1px solid #e6ecf5;
padding: 4px 12px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end; }
.cw-transfer-disabled .cw-transfer-model {
background-color: #f8f8f8; }
.cw-transfer-disabled .cw-transfer-model .cw-transfer-item {
cursor: not-allowed; }