$primary-color: #0670ff;
$tree-text-color: #6a6f75;
$form-item-input-color: #3c3f42;
.mk-paas__transfer-select-name-list {
  overflow: hidden;
  padding-right: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  color: $form-item-input-color;
}
.mk-paas__transfer-select-name-item {
  &:not(:first-child) {
    margin-left: 4px;
  }
}
.mk-paas__arrow-transfer-icon {
  position: absolute;
  right: 11px;
}
.mk-paas__transfer-select-modal {
  .ant-modal-header {
    border: none;
  }

  .ant-modal-footer {
    border: none;
    padding: 12px 16px;

    .ant-btn {
      background: #f7f7f7;
      border: none;
      color: $primary-color;
      font-size: 13px;
      font-weight: 400;
      height: 32px;
      width: 63px;
    }

    .ant-btn-primary {
      background: $primary-color;
      color: #fff;
    }
  }
}
.mk-paas__transfer-select {
  border-bottom: 1px solid #e1e1e1;
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  height: 30px;
}

.mk-paas__transfer-select-modal-content {
  display: flex;
  height: 400px;
  overflow: hidden;
  width: 100%;

  .ant-radio-wrapper,
  .ant-checkbox-wrapper {
    align-items: center;
    display: flex;
    .ant-checkbox,
    .ant-radio {
      top: 0;
    }
  }
}
.mk-paas__transfer-select-modal-content-item {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  overflow: hidden;
}

.mk-paas__transfer-select-modal-content-item-title {
  align-items: center;
  color: $tree-text-color;
  display: flex;
  font-size: 13px;
  font-weight: 400;
  justify-content: space-between;
  padding: 4px 0 8px;
  line-height: 22px;
}
.mk-paas__transfer-select-modal-content-item-title__select-all {
  display: flex;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  color: #0670ff;
  &:hover {
    background: #f4f9ff;
    cursor: pointer;
  }
}
.mk-paas__transfer-select-modal-content-item-bread {
  display: flex;
}
.mk-paas__transfer-select-modal-content-item-bread-item {
  color: $tree-text-color;
  font-size: 13px;
  font-weight: 400;
  display: flex;
}
.mk-paas__transfer-select-modal-content-item-bread-item.canClick {
  color: $primary-color;
  cursor: pointer;
}
.mk-paas__transfer-select-modal-content-item-bread-item-name {
  max-width: 182px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mk-paas__transfer-select-modal-content-item-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  .ant-input-affix-wrapper {
    background: #f9f9f9;
    border: none;
    border-radius: 3px;
    height: 30px;
  }
  .ant-input-affix-wrapper-focused {
    border: none;
    box-shadow: none;
  }

  .ant-input {
    background: #f9f9f9;
  }
}
.mk-paas__transfer-select-modal-search__box {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.mk-paas__transfer-select-modal-search__box-tip {
  background: #fffae9;
  color: #8a6e3c;
  height: 32px;
  line-height: 32px;
  margin-top: 4px;
  padding: 0 14px;
  width: 100%;
}

.mk-paas__transfer-select-modal-select__list {
  flex: 1 1;
  overflow-x: hidden;
  overflow-y: auto;
  // scrollbar-width: none; /* firefox */
  // -ms-overflow-style: none; /* IE 10+ */
  // &::-webkit-scrollbar {
  //   display: none; /* Chrome Safari */
  // }
}
.mk-paas__transfer-select-modal-select__item {
  align-items: center;

  background: #ffffff;
  color: $tree-text-color;

  display: flex;
  justify-content: space-between;
  padding: 6px 10px 6px 4px;
  position: relative;
}
.mk-paas__transfer-select-modal-select__item.isModalSearch {
  padding: 3px 4px;
}
.mk-paas__transfer-select-modal-select__item-select__name-line {
  display: flex;
  flex-direction: row;
  height: 24px;
  align-items: center;
}

.mk-paas__transfer-select-modal-select__item-action {
  color: $primary-color;
  cursor: pointer;
  display: inline-block;

  font-size: 12px;
  font-weight: 400;
  border-radius: 2px;
  width: 54px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  &:hover {
    background: #f2f8ff;
  }
}

.mk-paas__transfer-select-modal-select__item-name__content {
  display: flex;
  position: relative;
}

.mk-paas__transfer-select-modal-select__item-select__name {
  display: flex;
  flex-direction: column;
}
.mk-paas__transfer-select-modal-select__item-select__name.cannotCheck {
  color: #555;
  font-size: 14px;
  padding-left: 24px;
}

.mk-paas__transfer-select-modal-select__item-select__name-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: $tree-text-color;
  max-width: 446px;
}
.mk-paas__transfer-select-modal-select__item-select__name-path {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 478px;

  color: #bcbcbc;
  font-size: 12px;
  padding-left: 18px;
}

.mk-paas__transfer-select-modal-select__item-select__name-stateIcon {
  border-radius: 2px;
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  height: 18px;
  line-height: 18px;
  margin-left: 4px;
  text-align: center;
  min-width: 40px;
  padding: 0 3px;
}
.rootSpan {
  font-size: 11px;
  color: $primary-color;
}
.flexRow {
  display: flex;
  flex-direction: row;
}
.flexCol {
  display: flex;
  flex-direction: column;
}
.disabled {
  color: #bcbcbc;
}
.mk-paas__transfer-select-modal__popover {
  .ant-popover-inner-content {
    padding: 0;
  }
  .popover-style {
    align-items: center;
    background: #ffffff;
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
    color: #696e75;
    display: flex;
    font-size: 13px;
    font-weight: 400;
    justify-content: center;
    opacity: 1;
    padding: 8px 12px;
    border-radius: 2px;
  }
}
.mk-paas__dropdown {
  align-items: center;
  background: #ffffff;
  box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
  color: #696e75;
  display: flex;
  font-size: 11px;
  font-weight: 400;
  justify-content: center;
  opacity: 1;
  padding: 4px;
  border-radius: 2px;
}
