aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial/_slideout.scss
blob: 2dc757d0a65cd2d19764884f5f4658eca62b2bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// ==============================
// slideout (https://github.com/mango/slideout)
// ==============================

.slideout-menu {
  position: fixed;
  top: 0;
  left: 0px;
  bottom: 0;
  width: 180px;
  min-height: 100vh;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  background-color: $white;
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}