modal-protocol-comp.scss 1.95 KB
@import '@/styles/_support';

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

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

strong {
  font-weight: bold;
  // font-family: Verdana;
}


li{
  list-style: none;
}

ul{
  li{
    font-size: $articleSmall;
  }
}

.modal {
  position: relative;
  width: 720px;
  min-height: 222px;
  border-radius: $borderRadius;
  background-color: #ffffff;
  // height: 70vh;

  &-title {
    position: relative;
    @extend .bb;
    @include border-top-radius($borderRadius);
    @include ellipsis(1);
    font-size: $articleStrong;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    background-color: #f2f2f2;
    text-align: left;
    padding: 0 44px;

    .close-btn {
      position: absolute;
      top: 24px;
      right: 24px;
    }
  }

  &-icon-wrap {
    @extend .fcc;
    height: 144px;
  }

  &-content {
    position: relative;
    @extend .bb;
    font-size: $articleNormal;
    padding: 24px 24px 24px 44px;
    height: 72vh;

    &-desc {
      @extend .bb;
      padding-right: 24px;
      padding-top: 20px;
      padding-bottom: 12px;
      text-align: left;
      height: 100%;
      overflow-y: scroll;
      line-height: 1.42;
    }

    &-desc :lang(zh) {
      letter-spacing: 2.15px;
    }
  }

  &-btn-wrap {
    display: flex;
    justify-content: center;

    .btn {
      @include btc2(144px, 44px, 16px);
      margin: 36px 12px 0;
      @extend .pointer;
    }
  }
}

.hide {
  display: none;
}


@media (max-width: 1200px) {
  .comp {
    position: fixed;
  }

  .modal {
    position: absolute;
  }
}


@media (max-width: 768px) {
  .modal {

    width: 90%;
    height: auto;

    &-title {}

    &-icon-wrap {
      height: 10rem;

      img {
        height: 100%;
      }
    }

    &-content {
      height: 70vh;
    }
  }
}