Sha256: e60c120c98d1b4dbb1517bd3e6f43493d47d237c888831a3a104b73e6de9c2ce

Contents?: true

Size: 1.89 KB

Versions: 94

Compression:

Stored size: 1.89 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-backdrop {
  @include overlay-backdrop($zindex-offcanvas-backdrop, $offcanvas-backdrop-bg, $offcanvas-backdrop-opacity);
}

.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

94 entries across 94 versions & 9 rubygems

Version Path
rails_admin-3.3.0 vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
card-mod-bootstrap-0.18.1 vendor/bootstrap/scss/_offcanvas.scss
card-mod-bootstrap-0.18.0 vendor/bootstrap/scss/_offcanvas.scss
rails_admin-3.2.1 vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
headmin-0.6.3 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_offcanvas.scss
rails_admin-3.2.0 vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
rails_admin-3.2.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
rails_admin-3.2.0.beta vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
rails_admin-3.1.4 vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
rails_admin-3.1.3 vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss
card-mod-bootstrap-0.17.0 vendor/bootstrap/scss/_offcanvas.scss
card-mod-bootstrap-0.16.0 vendor/bootstrap/scss/_offcanvas.scss
vitat-css-0.1.3 bootstrap/scss/_offcanvas.scss
vitat-css-0.1.2 bootstrap/scss/_offcanvas.scss
card-mod-bootstrap-0.15.6 vendor/bootstrap/scss/_offcanvas.scss
jekyll-theme-petridish-3.0 _sass/bootstrap/_offcanvas.scss
card-mod-bootstrap-0.15.5 vendor/bootstrap/scss/_offcanvas.scss
card-mod-bootstrap-0.15.4 vendor/bootstrap/scss/_offcanvas.scss
card-mod-bootstrap-0.15.3 vendor/bootstrap/scss/_offcanvas.scss
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/scss/_offcanvas.scss