us-tax-form-upload-comp.scss 2.59 KB
@import "@/styles/_support.scss";

.comp {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4001;
  width: 100%;
  height: 100%;
  @extend .fcc;
  text-align: center;
  font-size: 28px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba($color: #000000, $alpha: 0.7);
}

.border {
  position: relative;
  @include border-tans(20px);
}

.modal {
  position: relative;
  @extend .bb;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 60px 48px;

  &-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    max-height: 534px;

    .info-icon {
      width: 210px;
      min-width: 210px;

      img {
        width: 100%;
      }
    }

    .message {
      font-size: 0;
      margin-left: 48px;
      font-weight: bold;
      color: $cOrange2;
      display: inline-block;
      height: 100%;
      min-width: 100px;
      text-align: justify;
      text-align-last: left;

      span {
        font-size: $fontSize-M2;
      }

      .link{
        cursor: pointer;
        text-decoration: underline;
      }
    }

    .lsp {
      line-height: 1.4;
    }

    .lsp:lang(zh) {
      letter-spacing: 0.7px;
    }
  }

  &-form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 40px;
    // background-color: wheat;
  }

  &-btn-wrap {
    display: flex;
    justify-content: center;
    .btn {
      @extend .fcc;
      position: relative;
      @include btc4(144px, 42px, 16px);
      margin: 20px 24px 0;
      @extend .pointer;
    }
    .disable {
      background-image: none;
      background-color: $cFontGray3;
    }
  }
}



.close {
  position: absolute;
  right: -55px;
  top: -15px;
  cursor: pointer;

  img {
    position: relative;
    width: 30px;
    height: 30px;
  }
}

input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 1150px) {
  .close {
    right: -15px;
    top: -55px;
  }
}

@media (max-width: 1000px) {
  .border {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .border {
    width: 80%;

    .modal {
      padding: 32px 16px;
      max-height: 80vh;
      overflow-y: auto;

      .modal-content {
        flex-wrap: wrap;

        .info-icon {
          margin: 0 auto;
          width: 32%;
          min-width: auto;
        }

        .message {
          margin: 16px auto 0;
          font-size: 20px;
        }
      }

      .modal-btn-wrap {
        flex-wrap: wrap;
        .btn {
          width: 100%;
          margin: 24px 0px 0;
        }
      }
    }
  }
}