Sha256: efb48baf3fb5d383d65180ce2c6fc89d547c5092289b1ef91268759b582cf3f7

Contents?: true

Size: 328 Bytes

Versions: 473

Compression:

Stored size: 328 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

473 entries across 473 versions & 21 rubygems

Version Path
rails_admin-3.0.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_backdrop.scss
headmin-0.3.4 app/assets/stylesheets/headmin/vendor/bootstrap/scss/mixins/_backdrop.scss
headmin-0.3.3 app/assets/stylesheets/headmin/vendor/bootstrap/scss/mixins/_backdrop.scss
headmin-0.3.2 app/assets/stylesheets/headmin/vendor/bootstrap/scss/mixins/_backdrop.scss
headmin-0.3.1 app/assets/stylesheets/headmin/vendor/bootstrap/scss/mixins/_backdrop.scss
bootstrap-scss-0.0.3 vendor/assets/bootstrap/scss/mixins/_backdrop.scss
bootstrap-scss-0.0.2 vendor/assets/bootstrap/scss/mixins/_backdrop.scss
administrate-bootstrap-theme-1.0.1 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_backdrop.scss
administrate-bootstrap-theme-1.0.0 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_backdrop.scss
bootstrap-5.1.3 assets/stylesheets/bootstrap/mixins/_backdrop.scss
bootstrap-5.1.2 assets/stylesheets/bootstrap/mixins/_backdrop.scss
bootstrap-5.1.1 assets/stylesheets/bootstrap/mixins/_backdrop.scss
bootstrap-5.1.0 assets/stylesheets/bootstrap/mixins/_backdrop.scss