@import '../styles/theme.scss';

:global{
  .ui-transfer{
    height: 270px;
    display: flex;
    align-items: center;
    .transfer-item{
      width: 360px;
      border: 1px solid $borderGrey;
      height: 100%;
    }
    .no-content{
      text-align: center;
      margin-top: 50px;
    }
    .transfer-operation{
      margin: 0 36px;
      width: 24px;
      button{
        &:last-child{
          margin-top: 12px;
        }
      }
    }
    .transfer-header{
      height: 44px;
      text-align: left;
      padding: 0 24px;
      background: $tranferBackground;
      line-height: 44px;
      color: $characterSub;
    }
    .transfer-body{
      height: 224px;
      overflow: auto;
      &.transfer-body-default{
        padding: 0 16px;
      }
      &.transfer-body-table{
        table{
          table-layout: fixed;
          th, td{
            .td-contain{
              white-space: nowrap;
              text-overflow: ellipsis;
              overflow: hidden;
            }
            padding: 0 10px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
          th:first-child{
            width: 20px;
            padding: 0;
          }
          tr{
            td:first-child{
              padding-left: 0;
            }
          }
    
          label{
            min-width: 20px !important;
            padding: 0;
          }
        }
      }
      .transfer-body-item{
        height: 44px;
        line-height: 44px;
        padding: 0 8px;
        &.active{
          background: $selected;
        }
        border-bottom: 1px solid $cutline;
      }
    }
    label{
      i{
        margin-top: 2px;
        width: 14px !important;
        height: 14px !important;
        border-width: 1px !important;
      }
    }
  }
}