Blame view

src/components/modal-simple-comp/modal-simple-comp.scss 1.55 KB
simon committed
1
@import '@/styles/_support.scss';
simon committed
2 3 4 5 6

.comp {
  position: fixed;
  top: 0;
  left: 0;
simon committed
7
  z-index: 5000;
simon committed
8 9 10 11 12 13 14 15
  width: 100%;
  height: 100%;
  @extend .fcc;
  text-align: center;
}

.overlay {
  position: absolute;
joe committed
16 17
  top: 0;
  left: 0;
simon committed
18 19 20 21 22 23 24
  width: 100%;
  height: 100%;
  background: rgba($color: #000000, $alpha: 0.7);
}

.modal {
  position: relative;
simon committed
25 26
  width: 546px;
  min-height: 219px;
simon committed
27 28 29 30 31 32 33 34 35 36
  border-radius: $borderRadius;
  background-color: #ffffff;

  &-title {
    position: relative;
    @extend .bb;
    @include border-top-radius($borderRadius);
    @include ellipsis(1);
    font-size: $fontSizeTitle;
    font-weight: bold;
simon committed
37 38
    height: 60px;
    line-height: 60px;
simon committed
39 40 41
    // font-weight: bold;
    background-color: #f2f2f2;
    text-align: left;
simon committed
42
    padding: 0 36px;
simon committed
43 44 45

    .close-btn {
      position: absolute;
simon committed
46 47
      top: 24px;
      right: 24px;
simon committed
48 49 50 51 52
    }
  }

  &-icon-wrap {
    @extend .fcc;
simon committed
53
    height: 144px;
simon committed
54 55 56 57 58 59 60
  }

  &-content {
    @extend .fcc;
    @extend .bb;
    font-size: $fontSize;
    font-weight: bold;
simon committed
61 62
    min-height: 159px;
    padding: $marginMedium-M 36px;
simon committed
63 64 65 66 67 68 69
  }

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

    .btn {
simon committed
70 71
      @include btc2(144px, 43.2px, 16px);
      margin: 36px 12px 0;
simon committed
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
      @extend .pointer;
    }
  }
}

.hide {
  display: none;
}

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

  .modal {
    position: absolute;
  }
}


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

    width: 90%;
    height: auto;
joe committed
97
    top: 20%;
simon committed
98 99 100 101

    &-title {}

    &-icon-wrap {
simon committed
102
      height: 120px;
simon committed
103 104 105 106 107 108 109

      img {
        height: 100%;
      }
    }
  }
}