Blame view

src/components/modal-comp/modal-comp.scss 1.28 KB
simon committed
1
@import '@/styles/_support.scss';
simon committed
2 3

.comp {
simon committed
4 5 6
  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 25
  width: 100%;
  height: 100%;
  background: rgba($color: #000000, $alpha: 0.7);
}

.modal {
  position: relative;
  @extend .bb;
simon committed
26 27 28
  width: 555px;
  height: 342px;
  border-radius: 15px;
simon committed
29
  background-color: #ffffff;
simon committed
30
  padding: 54px 24px 30px;
simon committed
31 32

  &-title {
simon committed
33
    margin-bottom: 36px;
simon committed
34
    color: $cOrange;
simon committed
35
    font-size: $fontSizeTitle;
simon committed
36 37 38 39 40
    font-weight: bold;
  }

  &-icon-wrap {
    @extend .fcc;
simon committed
41
    height: 144px;
simon committed
42 43 44
  }

  &-content {
simon committed
45
    margin-top: 12px;
simon committed
46
    color: $cOrange;
simon committed
47
    font-size: $fontSizeTitle;
simon committed
48 49 50 51 52 53 54 55
    font-weight: bold;
  }

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

    .btn {
simon committed
56 57
      @include btc2(144px, 43.2px, 16px);
      margin: 36px 12px 0;
simon committed
58 59 60 61 62
      @extend .pointer;
    }
  }
}

simon committed
63
.hide {
simon committed
64 65
  display: none;
}
simon committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80

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

  .modal {
    // width: 90%;
    position: absolute;
  }
}


@media (max-width: 768px) {
  .modal {
simon committed
81
    width: 90%;
simon committed
82 83 84
    height: auto;

    &-title {
simon committed
85
      margin-bottom: 12px;
simon committed
86 87 88
    }

    &-icon-wrap {
simon committed
89 90 91
      height: 120px;

      img {
simon committed
92 93 94 95 96
        height: 100%;
      }
    }
  }
}