HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
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/tana/frontend/src/assets/style/components/_secondary-page.scss
.secondary-page,
.tertiary-page {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 100%;
  transition: 0.6s top $easeOutCubic;
  z-index: z-index(secondaryPage);

  &__header {
    position: relative;
    height: 50px;
    width: calc(100% - 17px);
    top: 0;
    z-index: z-index(navbar);
    background: $primary-bg-color;
  }

  &__close {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 20px;
    cursor: pointer;
    transform: translateY(100%);
    transition: $transition-time 0.2s transform;

    @include breakpoint-min($desktop-breakpoint) {
      left: 50%;
      right: 0;
      transform: translate(-50%, 100%);
    }
  }

  &__content {
    background-color: $secondary-bg-color;
    min-height: 100%;
    position: relative;
    z-index: 2;
    padding: 35px 0;

    @include breakpoint-min($tablet-breakpoint) {
      padding: 60px 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: $primary-accent-color;

      &:not(h2) {
        margin-bottom: rem(15);
      }
    }

    h3 {
      font-size: rem(18);
      margin-bottom: rem(20);
      margin-top: rem(20);

      @include breakpoint-min($tablet-breakpoint) {
        font-size: rem(24);
        margin-top: rem(40);
      }
    }

    ul,
    ol {
      font-size: rem(14);
      line-height: 1.5;
      font-family: $secondary-font-stack;
      margin-bottom: 15px;

      @include breakpoint-min($desktop-breakpoint) {
        font-size: rem(18);
      }
    }

    a {
      color: $primary-accent-color;
      font-weight: 700;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  &__date {
    font-size: rem(11);
    text-transform: uppercase;
    font-weight: 700;

    @include breakpoint-min($tablet-breakpoint) {
      font-size: rem(14);
    }
  }

  &__title {
    font-size: rem(24);
    font-weight: 700;
    color: $primary-accent-color;
    position: relative;
    margin-bottom: rem(20);

    @include breakpoint-min($tablet-breakpoint) {
      font-weight: 700;
    }

    &::after {
      content: '';
      display: block;
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: $primary-accent-color;

      @include breakpoint-min($tablet-breakpoint) {
        height: 3px;
      }
    }

    @include breakpoint-min($tablet-breakpoint) {
      font-size: rem(41);
      margin-bottom: rem(40);
    }
  }

  &__post {
    font-family: $secondary-font-stack;

    &-lead {
      font-size: rem(21);
      line-height: rem(30);
      font-weight: 300;
      margin: rem(20) 0;

      @include breakpoint-min($tablet-breakpoint) {
        font-size: rem(32);
        line-height: rem(46);
        margin: rem(30) 0 rem(20);
        transform: translateX(-100px);
      }
    }
  }

  &__image {
    display: block;
    width: calc(100% + 100px);
    height: auto;

    @include breakpoint-max($tablet-breakpoint) {
      max-width: 100%;
    }
  }
}

body.secondary-page-open {
  overflow: hidden;

  .secondary-page {
    top: 0;
    overflow-y: auto;

    &__header {
      position: fixed;

      @supports (position: sticky) {
        position: sticky;
        width: 100%;
      }
    }

    &__close {
      transform: translateY(-50%);

      @include breakpoint-min($desktop-breakpoint) {
        transform: translate(-50%, -50%);
      }
    }

    &__content {
      @include breakpoint-min($tablet-breakpoint) {
        padding-top: 80px;
      }
    }
  }

  .navbar-nav__container,
  .menu-toggle {
    visibility: hidden;
  }
}

body.tertiary-page-open {
  overflow: hidden;

  .tertiary-page {
    top: 0;
    overflow-y: auto;

    &__header {
      position: fixed;

      @supports (position: sticky) {
        position: sticky;
        width: 100%;
      }
    }

    &__close {
      transform: translateY(-50%);

      @include breakpoint-min($desktop-breakpoint) {
        transform: translate(-50%, -50%);
      }
    }

    &__content {
      @include breakpoint-min($tablet-breakpoint) {
        padding-top: 80px;
      }
    }
  }

  .navbar-nav__container,
  .menu-toggle {
    visibility: hidden;
  }
}