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/zaklada/html/lib/scss/core/_expandable-btn.scss
.expandable {
  position: relative;
  &__btn {
    position: relative;
    text-transform: uppercase;
    font-size: rem(18);
    line-height: 1;
    font-weight: 700;
    color: $color-white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    width: 100%;
    background: $color-gold-dark;
    border-radius: 30px;
    z-index: 2;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    @media screen and (min-width: 992px) {
      &:hover {
        background: $color-gold-light;
      }
      font-size: rem(42);
     /* padding: 10px 30px; */
    }
  }

  &__content {
    position: relative;
    top: -16px;
    background: $color-blue-dark;
    padding: 30px 18px 7px;
    // transition: 200ms all ease-in-out;
    z-index: 1;
    // transform: scaleY(0);
    // transform-origin: top;
    display: none;
    width: 100%;
    @media screen and (min-width: 992px) {
      position: absolute;
      padding: 30px 18px 55px;
      // transform-origin: bottom;
      top: initial;
      bottom: 30px;
      // display: block;
    }
    ul {
      li {
        font-size: rem(16);
        margin-bottom: 15px;
        color: $color-white;
        font-weight: 400;
        strong {
          font-weight: 700;
        }
        &:last-of-type {
          margin-bottom: 0;
        }
      }
    }
    &.show {
      // transform: scaleY(1);
      // display: block;
      & + .expandable__btn {
        z-index: 4;
      }
    }
  }

  &--hero {
    .expandable {
      &__btn {
        width: 100%;
        // font-size: rem(18);
        // @media screen and (min-width: 992px) {
        //   font-size: rem(18);
        // }
      }
      &__content {
        background: $color-bg-gray;
        padding: 25px 15px;
        @media screen and (min-width: 992px) {
          bottom: 15px;
        }
        & > h4:first-child {
          margin-top: 0;
        }
        ul {
          li {
            color: $color-black;
            font-size: rem(16);
            text-align: left;
            @media screen and (min-width: 992px) {
              font-size: rem(12);
            }
            @media screen and (min-width: 1440px) {
              font-size: rem(16);
            }
          }
        }
        h3 {
          font-size: rem(16);
          font-weight: 700;
          color: $color-black;
          margin-bottom: 17px;
          text-align: center;
          @media screen and (min-width: 992px) {
            font-size: rem(12);
          }
          @media screen and (min-width: 1440px) {
            font-size: rem(16);
          }
        }
        h4 {
          margin-top: 20px;
          font-size: rem(16);
          text-align: left;
          font-weight: 700;
          color: $color-blue-main;
          @media screen and (min-width: 992px) {
            font-size: rem(12);
          }
          @media screen and (min-width: 1440px) {
            font-size: rem(16);
          }
        }
        p {
          text-align: left;
          color: $color-black;
          font-size: rem(16);
          line-height: 1.5;
          margin-bottom: 0;
          font-weight: 400;
          @media screen and (min-width: 992px) {
            font-size: rem(12);
          }
          @media screen and (min-width: 1440px) {
            font-size: rem(16);
          }
          strong {
            font-weight: 700;
          }
          &:last-of-type {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}