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/management-grid.scss
.management-grid {
  display: flex;
  flex-wrap: wrap;

  &__item {
    display: block;
    width: calc((100% - 20px * 3) / 4);
    margin-right: 20px;
    margin-top: 40px;
    position: relative;

    @include breakpoint-up('tabM') {
      &:nth-child(4n + 4) {
        margin-right: 0;
      }
    }

    @include breakpoint-down('tabM') {
      width: calc((100% - 20px) / 2);
      margin-top: 30px;

      &:nth-child(2n + 2) {
        margin-right: 0;
      }
    }

    &:hover {
      .management-grid__header {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        img {
          transform: scale(1.02);
        }
      }
    }
  }

  &__link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  &__header {
    margin-bottom: 16px;
    border-radius: 8px;
    background: #D9D9D9;
    transition: .4s ease-in-out;

    @include breakpoint-down('deskS') {
      margin-bottom: 8px;
    }

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      max-height: 360px;
      border-radius: 8px;
      will-change: transform;
      transition: .4s ease-in-out;

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