Sha256: 06a25eae367423ae54787ca877aadb6edb38c3b1f6417ea63024c48716543a46

Contents?: true

Size: 1.76 KB

Versions: 8

Compression:

Stored size: 1.76 KB

Contents

.offcanvas {
  position: fixed;
  bottom: 0;
  z-index: $zindex-offcanvas;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  color: $offcanvas-color;
  visibility: hidden;
  background-color: $offcanvas-bg-color;
  background-clip: padding-box;
  outline: 0;
  @include box-shadow($offcanvas-box-shadow);
  @include transition(transform $offcanvas-transition-duration ease-in-out);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: $offcanvas-padding-y $offcanvas-padding-x;

  .btn-close {
    padding: ($offcanvas-padding-y * .5) ($offcanvas-padding-x * .5);
    margin-top: $offcanvas-padding-y * -.5;
    margin-right: $offcanvas-padding-x * -.5;
    margin-bottom: $offcanvas-padding-y * -.5;
  }
}

.offcanvas-title {
  margin-bottom: 0;
  line-height: $offcanvas-title-line-height;
}

.offcanvas-body {
  flex-grow: 1;
  padding: $offcanvas-padding-y $offcanvas-padding-x;
  overflow-y: auto;
}

.offcanvas-start {
  top: 0;
  left: 0;
  width: $offcanvas-horizontal-width;
  border-right: $offcanvas-border-width solid $offcanvas-border-color;
  transform: translateX(-100%);
}

.offcanvas-end {
  top: 0;
  right: 0;
  width: $offcanvas-horizontal-width;
  border-left: $offcanvas-border-width solid $offcanvas-border-color;
  transform: translateX(100%);
}

.offcanvas-top {
  top: 0;
  right: 0;
  left: 0;
  height: $offcanvas-vertical-height;
  max-height: 100%;
  border-bottom: $offcanvas-border-width solid $offcanvas-border-color;
  transform: translateY(-100%);
}

.offcanvas-bottom {
  right: 0;
  left: 0;
  height: $offcanvas-vertical-height;
  max-height: 100%;
  border-top: $offcanvas-border-width solid $offcanvas-border-color;
  transform: translateY(100%);
}

.offcanvas.show {
  transform: none;
}

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
redeyed-jekyll-theme-0.1.7 _sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss
redeyed-jekyll-theme-0.1.6 _sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss
redeyed-jekyll-theme-0.1.5 _sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss
redeyed-jekyll-theme-0.1.4 _sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss
redeyed-jekyll-theme-0.1.3 _sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss
vuexy-0.1.1 app/assets/stylesheets/bootstrap/scss/_offcanvas.scss
vuexy-0.1.0 app/assets/stylesheets/bootstrap/scss/_offcanvas.scss
bootstrap-5.0.2 assets/stylesheets/bootstrap/_offcanvas.scss