clarms-plugins-modal1.scss 1.94 KB
@import '@/styles/_support';

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

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

.border {
  position: relative;
  @extend .bb;
  @extend .fcc;
  padding: 2px;
  background-image: linear-gradient(to right, #ffb31d, #f15907);
  border-radius: 16px;
}

.modal {
  position: relative;
  @extend .bb;
  width: 800px;
  border-radius: 16px;
  background-color: #ffffff;
  padding: 3.5rem 2rem 2.5rem;

  .content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10rem 8.333333rem;

    .info-icon {
      width: 10rem;
      min-width: 10rem;

      img {
        width: 100%;
      }
    }

    .message {
      margin-left: 32px;
      // font-size: 1.333333rem;
      font-weight: 600;
      color: $cOrange;
      letter-spacing: .083333rem;
      text-align: left;
      line-height: 1.5;

      span {
        cursor: pointer;
        text-decoration: underline;
      }
    }
  }

  .close {
    cursor: pointer;

    img {
      width: 1.666667rem;
      position: absolute;
      right: -2.5rem;
      top: -1.666667rem;
    }
  }
}


@media (max-width: 768px) {
  .modal {
    // height: 28.5rem;
    padding: 3rem 1.5rem;
    width: 80%;
    height: auto;

    .content {
      padding: 5rem 4rem;
    }

    .close {
      display: none;
    }
  }
}

@media (max-width: 700px) {
  .modal {
    // height: 28.5rem;
    padding: 3rem 1.5rem;
    width: 80%;
    height: auto;

    .content {
      padding: 4rem 2rem;
    }

    .close {
      display: none;
    }
  }
}



@media (max-width: 450px) {
  .modal {
    // height: 28.5rem;
    padding: 3rem 1.5rem;
    width: 90%;
    height: auto;

    .close {
      display: none;
    }

    .content {
      padding: 2rem .5rem;
    }
  }
}