HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode-site/src/style/components/modal.scss
.modal {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: .4s ease-in-out;

  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  &.active {
    opacity: 1;
    pointer-events: all;
  }

  &__content {
    position: relative;
    width: 600px;
    padding: 55px 35px;
    background-color: $white;
    border-radius: 16px;

    @include breakpoint-down('tabM') {
      padding: 40px 25px;
    }
  }

  &__close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;

    @include breakpoint-down('tabM') {
      top: 16px;
      right: 16px;
    }
  }
}

.modal-gallery {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: .4s ease-in-out;

  @include breakpoint-down('tabM') {
    display: none;
  }

  &__close {
    position: absolute;
    right: 0;
    top: -125px;

    @include breakpoint-down('deskL') {
      top: -133px;
    }

    @include breakpoint-down('deskM') {
      top: -65px;
    }

    @include breakpoint-down('deskS') {
      top: 0;
    }

    img {
      transition: .4s ease-in-out;
      will-change: transform;
    }

    &:hover {
      img {
        transform: scale(1.1);
      }
    }
  }

  &__content {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    .container {
      height: 61%;

      @include breakpoint-down('deskL') {
        max-height: 521px;
        height: 100%;
      }

      @include breakpoint-down('deskS') {
        max-height: 341px;
        position: unset;
      }
    }
  }

  &--active {
    opacity: 1;
    pointer-events: all;
  }

  &__swiper {
    height: 100%;
  }
}

.modal-video {
  background: rgba(0, 0, 0, 0.65);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: .4s ease-in-out;

  &::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    position: absolute;
    top: 0;
    left: 0;
  }

  @include breakpoint-down('tabM') {
    display: none;
  }

  &__close {
    position: absolute;
    right: 0;
    top: -125px;

    @include breakpoint-down('deskL') {
      top: -133px;
    }

    @include breakpoint-down('deskM') {
      top: -65px;
    }

    @include breakpoint-down('deskS') {
      top: 0;
    }

    img {
      transition: .4s ease-in-out;
      will-change: transform;
    }

    &:hover {
      img {
        transform: scale(1.1);
      }
    }
  }

  &__content {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    .container {
      height: 61%;

      @include breakpoint-down('deskL') {
        max-height: 521px;
        height: 100%;
      }

      @include breakpoint-down('deskS') {
        max-height: 341px;
        position: unset;
      }
    }
  }

  &--active {
    opacity: 1;
    pointer-events: all;
  }
}