.yw-drawer-selector {
}
.yw-preview {
  &-container {
    position: absolute;
    bottom: 53px;
    width: 100%;
    right: 0;
    height: 130px;
    padding: 13px 20px;
    z-index: 1;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    &-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 17px;
      &-left {
        display: flex;
        align-items: center;
      }
      &-right {
        display: flex;
        justify-content: center;
        align-items: center;
        .prev,
        .next {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          cursor: pointer;
          border: 1px solid #d8d8d8;
          color: #a6a6a6;
          line-height: 18px;
          text-align: center;
          font-size: 12px;
        }
        .next {
          margin-left: 12px;
        }
        .disabled {
          background: #e8e8e8;
        }
      }
    }
  }
  &-container-close {
    height: 45px;
    overflow: hidden;
    .yw-preview-container-bar-right {
      display: none;
    }
  }
  &-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  &-item-container {
    position: relative;
    margin-left: 17px;
    .yw-preview-list-close {
      position: absolute;
      right: -6px;
      border-radius: 50%;
      color: #f15a5a;
      top: -6px;
      font-size: 16px;
      display: none;
      z-index: 10;
    }
    &:hover {
      .yw-preview-list-close {
        display: block;
      }
    }
  }
  &-item {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e4e8f0;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    .order {
      position: absolute;
      left: 0px;
      top: 0px;
      min-width: 20px;
      padding: 0 5px;
      height: 20px;
      border-radius: 2px;
      border-top-left-radius: 8px;
      background: rgba(0, 0, 0, 0.5);
      text-align: center;
      line-height: 20px;
      font-size: 12px;
      color: #ffffff;
      font-weight: 600;
      z-index: 10;
    }

    img {
      max-width: 100%;
      max-height: 100%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 1px solid #e4e8f0;
    }
   
  }

  &-item:first-child {
    margin: 0;
  }
}




