Files
ionic-framework/core/src/components/popover/popover.md.scss
Brandy Carney bd22926c49 feat(overlays): add global backdrop opacity variable for animations (#19533)
adds `--backdrop-opacity` to all overlays and `--ion-backdrop-opacity` for global control

closes #16446
2019-10-10 14:34:16 -04:00

22 lines
485 B
SCSS

@import "./popover";
@import "./popover.md.vars";
// Material Design Popover
// --------------------------------------------------
:host {
--width: #{$popover-md-width};
--max-height: #{$popover-md-max-height};
--box-shadow: #{$popover-md-box-shadow};
--backdrop-opacity: var(--ion-backdrop-opacity, 0.32);
}
.popover-content {
@include border-radius($popover-md-border-radius);
@include transform-origin(start, top);
}
.popover-viewport {
transition-delay: 100ms;
}