Sha256: 0dd9aa891fa16552d11e0490fed886c1cad59d452252734482766a53d441c622

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

html, body {
  overflow-x: hidden;
}

.off-canvas {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 10000;
  width: $off-canvas-width;
  background: $off-canvas-bg-color;
  color: $off-canvas-color;
  &.off-canvas-right {
    right: -$off-canvas-width;
  }
  &.off-canvas-left {
    left: -$off-canvas-width;
  }
}
  
.off-canvas-show-right {
  position: relative;
  right: $off-canvas-width;
  overflow: hidden;
  .off-canvas-right {
    right: 0;
  }
}

.off-canvas-show-left {
  position: relative;
  left: $off-canvas-width;
  overflow: hidden;
  .off-canvas-left {
    left: 0;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leather-0.2.21 app/assets/stylesheets/leather/_off_canvas.css.scss