Sha256: 5329c000c792e90bc95f3341b125defb8b6b1c3e9dd2775f2249668e3b37a997

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

#menu {
  height: 100vh;
}

@include media-breakpoint-down(lg) {
  #menu {
    width: 200px;
    left: -200px;
    position: fixed;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
            box-sizing: border-box;

    -webkit-transition: all .3s ease-in;
      -moz-transition: all .3s ease-in;
        -o-transition: all .3s ease-in;
            transition: all .3s ease-in;
  }
  body.open #menu {
    left: 0;
  }
  /* MAIN PAGE */
  .page-wrap {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
  }

  body.open .page-wrap {
    margin-left:  200px;
  }
}

.menu-toggle--btn-container {
  position: absolute;
  left: 3.3333333335%;
  z-index: 1;
  background: transparent;
  margin: 0;
  padding: 0;

  .open {
    display: none;

    @include media-breakpoint-down(lg) {
      display: block;
    }
  }

  .close {
    display: none;
  }
}

.open .menu-toggle {
  position: fixed !important;

  &.open {
    display: none;
  }

  &.close {
    display: block;
  }
}

.menu-separator {
  width: 60%;
  opacity: 0.1;
}

#light,
#dark {
  display: block;
  cursor: pointer;

  &:hover {
    color: inherit;
  }
}

#light {
  display: none;
}

[data-theme="dark"] {
  #light {
    display: block;
  }

  #dark {
    display: none;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
another-theme-1.0.0 _sass/another/_header.scss