Sha256: 50c73193836579754b1478d6b0ab984c48683636214deb6f648a2d05e07ad944

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

// Shared between modals and offcanvases
@mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) {
  position: fixed;
  top: 0;
  left: 0;
  z-index: $zindex;
  width: 100vw;
  height: 100vh;
  background-color: $backdrop-bg;

  // Fade for backdrop
  &.fade {
    opacity: 0;
  }
  &.show {
    opacity: $backdrop-opacity;
  }
}

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
jekyll-rubin-collab-theme-0.1.1 _third_party/mdb-ui-kit/src/scss/bootstrap-rtl-fix/mixins/_backdrop.scss
jekyll-rubin-collab-theme-0.1.1 _third_party/mdb-ui-kit/src/scss/bootstrap/mixins/_backdrop.scss