summaryrefslogtreecommitdiff
path: root/templates/assets/bootstrap-material-design/scss/mixins/_layout.scss
blob: 1a2394c4c9d4d646446885c1c4f575df7554bade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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;
      }
    }
  }
}