Skip to content
Snippets Groups Projects
sidebar.scss 1.18 KiB
Newer Older
  • Learn to ignore specific revisions
  • @import '../../styles/config/colors';
    @import '../../styles/config/breakpoints';
    
    .menu {
      z-index: 1500;
      display: flex;
      flex-direction: column;
      padding: 1.5rem;
      gap: 1.5rem;
      box-shadow:
        0px 5px 5px rgb(0 0 0 / 20%),
        0px 3px 14px rgb(0 0 0 / 12%),
        0px 8px 10px rgb(0 0 0 / 14%);
      background-color: $grey-light;
    
      @media screen and (max-width: $width-tablet) {
        position: fixed;
        top: unset;
        bottom: 0;
        height: auto;
        width: 100%;
      }
    
      @media screen and (max-width: $width-tablet) {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    
      .logo-container {
        display: flex;
        .logo {
          margin: auto;
          max-width: 4rem;
        }
    
        @media screen and (max-width: $width-tablet) {
          display: none;
        }
      }
    
      .menu-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        @media screen and (max-width: $width-tablet) {
          flex-direction: row;
        }
        a {
          text-decoration: none;
    
          &.active {
            color: $gold;
            font-weight: 700;
          }
          &:hover {
            color: $gold;
          }
        }
      }
    
      .bottom {
        margin-top: auto;
        button {
          margin: 0;
        }
      }
    }