mdb-ui-kit/scss/mixins/_layout.scss

17 lines
376 B
SCSS
Raw Normal View History

// Generates the `.in` style for the generic backdrop used components such as the drawer in overlay mode
@mixin bmd-layout-backdrop-in() {
> .bmd-layout-backdrop {
.in {
visibility: visible;
background-color: rgba(0, 0, 0, 0.5);
}
@supports (pointer-events: auto) {
&.in {
pointer-events: auto;
opacity: 1;
}
}
}
}