timeDateStyle.scss 2.91 KB
.time-selector {
  padding: 20px;
  box-shadow: 0 0 11px 0 rgba(207, 207, 207, 0.50);

  .time-selector-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #6C6F71;

    p {
      margin-top: 0;
    }
  }

  .time-selector-container {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    // align-items: center;
    color: #A1A1A1;

    p {
      margin: 0 0;
    }

    .arrow-left-icon {
      position: absolute;
      left: 73px;
      top: 46%;
    }

    .col-width {
      width: 62px;
      height: 44px;
    }

    .date-left-tips {
      display: flex;
      align-self: flex-start;
      font-size: 12px;

      .date-tips-time {
        width: 32px;
        margin-right: 18px;

        p {
          width: 32px;
          position: absolute;
          text-align: right;
        }

        p:nth-child(2) {
          top: 140px;
        }

        p:nth-child(3) {
          top: 403px;
        }
      }

      .date-y-line {
        height: 441px;
        width: 1px;
        background-color: rgba(207, 207, 207, 0.50);
      }
    }

    .date-x-line {
      position: relative;
      height: 1px;
      width: 100%;
      background-color: rgba(207, 207, 207, 0.50);
      margin: 20px 0 8px;
    }

    // .date-x-line::before {
    //   content: '';
    //   position: absolute;
    //   display: inline-block;
    //   width: 9px;
    //   height: 9px;
    //   background-color: #FDAB27;
    //   border-radius: 50%;
    //   top: -5px;
    // }

    .date-picker {
      display: flex;
      width: 434px;
      overflow-x: scroll;
      padding-left: 40px;

      .wrapper {
        width: 100%;

        .hour-block {
          text-align: center;
          background: #F7F7F7;
          border: 1px solid #ffffff;
          border-radius: 0;
        }

        .hour-block.status-full {
          color: #ffffff;
          background: #FDAB27;
          border: 1px solid #FFFFFF;
        }

        .hour-block.status-remain {
          color: #ffffff;
          background: #4ECB73;
          border: 1px solid #FFFFFF;
        }

        .date-btn {
          position: relative;
          font-size: 12px;
          color: #A1A1A1;

          &.active {
            color: #666666;
          }

          // &.active::before {
          //   content: '';
          //   position: absolute;
          //   display: inline-block;
          //   width: 9px;
          //   height: 9px;
          //   background-color: #FDAB27;
          //   border-radius: 50%;
          // }

          // &.active {
          //   color: #68c9d0;

          //   &:after {
          //     position: absolute;
          //     bottom: 0;
          //     left: 9%;
          //     content: '';
          //     width: 82%;
          //     display: block;
          //     height: 2px;
          //     background: #68c9d0;
          //   }
          // }
        }
      }
    }
  }
}