.banner {
  &-wraper {
    position: relative;
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    overflow: hidden;
    img {
      width: 100%;
      position: relative;
      height: 100%;
      object-fit: contain;
    }
  }
  &-mask {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    &:hover {
      background: rgba(24, 23, 23, 0.9);
      color: #ffffff;
    }
    .icons {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      .maskIcon {
        margin: '0px 10px';
      }
    }
  }
}
.modal {
  width: 100%;
  display: flex;
  flex-direction: column;
  &-preview {
    display: flex;
    height: 600px;
    &-title {
      font-size: 18px;
      font-weight: 800;
      padding: 10px 0;
      color: #548ffb;
    }
    &-view {
      position: relative;
      width: 50%;
      height: 100%;
      img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate3d(-50%, -50%, 0);
        max-width: 100%;
        max-height: 100%;
      }
    }
    &-img {
      width: 100%;
      height: 100%;
      margin: 0 auto;
      overflow-y: auto;
      overflow-x: auto;
      background-color: #efefef;
      position: relative;
      &__table {
        width: 100%;
        height: 100%;
        text-align: center;
        display: table;
      }
      &__cell {
        display: table-cell;
        vertical-align: middle;
      }
      img {
        width: auto;
        height: auto;
        max-width: 800px;
        max-height: 800px;
        vertical-align: middle;
      }
    }
    &-editor {
      padding: 0 4%;
      width: 50%;
      height: 100%;
      overflow: auto;
      border: 1px solid #efefef;
      &__loading {
        width: 100%;
        float: left;
        position: relative;
        margin: 8px 2%;
        border: 2px solid transparent;
      }
      &__upload {
        width: 100%;
        float: left;
        position: relative;
        margin: 8px 2%;
        border: 2px solid transparent;
        img {
          width: 100%;
          position: relative;
        }
      }
    }
  }
}

.image-cell {
  display: flex;
  align-items: center;
  &__input {
    margin-left: 6px;
    flex: 1;
  }
}
.slidebardrawer {
  .ant-radio-button-wrapper {
    padding: 0 3px;
  }
}
