clarms-plugins-verifyform.scss 5.94 KB
@import '@/styles/_support';

.comp {
  font-size: 22px;
}


.orange {
  color: $cOrange;
}

.gray {
  color: #747474;
}


.submit-btn {
  background: url("~@assets/images/vhis/vhis-btn.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 300px;
  height: 50px;
  line-height: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin: 2.5rem auto;
  text-align: center;
  border-radius: 50px;
}

.reservation-container {
  @extend .bb;
  border-radius: .666667rem;
  border: solid 2px $cOrange;
  background-color: #ffffff;
  padding: 2.666667rem 10rem 2.833333rem 10rem;

  .title {
    // font-size: 1.333333rem;
    color: $cOrange;
    text-align: center;
    margin: 1.666667rem auto 0 auto;

    span {
      margin: 0 .333333rem;
    }
  }

  .default-mt {
    margin-top: 2.666667rem;
  }

  .flex-top {
    display: flex;
    justify-content: left;
    align-items: flex-start;
  }

  .flex-start {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .check-item {
    display: flex;
    align-items: center;

    span {
      margin-left: .833333rem;
    }
  }

  .tips {
    align-items: center;
    justify-content: center;
    display: flex;

    .icon {
      margin-right: 5px;
      display: inline-block;
    }

    .btn {
      color: $cOrange;
    }
  }
}




.form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  &-name {
    // font-size: 1.333333rem;
    font-weight: 600;
    text-align: left;
    color: $cOrange;
    padding-left: 15px;
  }

  .ipt-date {
    width: 100%;
    border: 1px solid $cOrange !important;
    border-radius: .416667rem;
    height: 3rem;
    align-items: center;
    padding: 0 2rem;

  }

  &-item {
    width: 50%;
    display: flex;
    justify-content: center;
    padding: 0 $marginSmall;
    margin-bottom: 1.333333rem;

    .label {
      display: flex;
      align-items: center;
      width: 30%;
      justify-content: flex-start;
      padding-left: 5px;
      letter-spacing: .25rem;
    }

    .ipt-wrap {

      width: 70%;
      position: relative;

      // input和下拉
      .ipt {
        border: 1px solid $cOrange !important;
        border-radius: .416667rem;
        height: 3rem;
        display: flex;
        align-items: center;

      }

      // 长文本
      .textarea {
        min-height: 8.75rem;
        @extend .bb;
        padding: .75rem;
      }

      .down-arrow {
        z-index: 10;
        position: absolute;
        top: 1.3rem;
        right: 1.2rem;
        background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
        background-size: 100% 100%;
        width: .633333rem;
        height: .433333rem;
        pointer-events: none;
        cursor: default;
      }
    }

    .validator {
      color: $cOrange;
      margin-top: 0.5rem;
      position: absolute;
      right: 1rem;
      display: flex;
      align-items: center;
      // bottom: 0;

      img {
        display: inline-block;
        margin-right: 0.4rem;
      }
    }
  }


  &-item-2 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 0 $marginSmall;
    margin-bottom: 1.333333rem;

    .label {
      align-items: center;
      width: 25%;
      padding-left: 5px;
      letter-spacing: .25rem;

      .main-label {
        color: $cOrange;
      }
    }

    .date-container {
      width: 60%;
      position: relative;
    }

    .value {
      width: 75%;
      position: relative;

      .ipt-wrap {

        // input和下拉
        .ipt {
          border: 1px solid $cOrange !important;
          border-radius: .416667rem;
          height: 3rem;
          display: flex;
          align-items: center;
        }


        .ipt2 {
          width: 100%;
          border-bottom: 1px solid #ccc;
          height: 3rem;
          display: flex;
          align-items: center;
          margin-bottom: .833333rem;
        }

        // 长文本
        .textarea {
          min-height: 8.75rem;
          @extend .bb;
          padding: .75rem;
        }

        .down-arrow {
          z-index: 10;
          position: absolute;
          top: 1.3rem;
          right: 1.2rem;
          background-image: url('~@/assets/images/reservation/re-down-arrow-2.png');
          background-size: 100% 100%;
          width: .633333rem;
          height: .433333rem;
          pointer-events: none;
          cursor: default;
        }
      }
    }
  }
}


.notice {
  margin-top: 4rem;
  @extend .bb;
  padding: 0 1rem;

  &-item {
    position: relative;
    line-height: 2;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;

    &-icon {
      width: 1.166667rem;
      position: absolute;
      top: .6rem;
    }
  }
}


@media (max-width: 1200px) {
  .mobile-margin {
    margin-top: 2.5rem;
  }
}

@media (max-width: 1000px) {

  .form {
    &-item {
      width: 100%;

      .label {
        min-width: 30%;
      }

      .ipt-wrap {
        width: 70%;
      }
    }

    &-item-2 {
      .date-container {
        width: 80%;
      }
    }
  }
}

@media (max-width: 700px) {
  .reservation-container {
    padding: 2.666667rem 2rem 2.833333rem 2rem;
  }

  .form {
    &-item {
      width: 100%;

      .label {
        min-width: 30%;
      }

      .ipt-wrap {
        width: 70%;
      }
    }

    &-item2 {
      display: block;

      .ipt-wrap {
        margin: 0;
      }
    }

    &-item-2 {
      .label {
        width: 30%;
      }

      .value {
        width: 70%;
      }

      .date-container {
        width: 100%;
      }
    }

    &-item3 {
      display: block;

      .ipt-wrap {
        margin: 0;
        width: 100%;
      }
    }
  }

  .notice {
    margin: 0;
  }
}



@media (max-width: 500px) {

  .date-wrap .calendar-wrap {
    margin-left: -25px !important;
  }

  .form {
    &-item {
      flex-direction: column;
      width: 100%;

      .label {
        margin-bottom: .416667rem;
        min-width: 100%;
      }

      .ipt-wrap {
        width: 100%;

      }
    }
  }
}