Sha256: e72c7e2a776d19a26ac24c1f705f30ba30e98af4e46b8834cfceb6ae607ae6ce

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body {
  padding-top: 70px;
}
footer {
  padding: 30px 0;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right .sidebar-offcanvas {
    right: -100%; /* 12 columns */
  }

  .row-offcanvas-right.active .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left .sidebar-offcanvas {
    left: -100%; /* 12 columns */
  }

  .row-offcanvas-left.active .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.93.7 mod/bootstrap/vendor/bootstrap/docs/4.0/examples/offcanvas/offcanvas.css
card-1.93.6 mod/bootstrap/vendor/bootstrap/docs/4.0/examples/offcanvas/offcanvas.css
card-1.93.5 mod/bootstrap/vendor/bootstrap/docs/4.0/examples/offcanvas/offcanvas.css
card-1.93.4 mod/bootstrap/vendor/bootstrap/docs/4.0/examples/offcanvas/offcanvas.css
card-1.93.3 mod/bootstrap/vendor/bootstrap/docs/4.0/examples/offcanvas/offcanvas.css