mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
adds `--backdrop-opacity` to all overlays and `--ion-backdrop-opacity` for global control closes #16446
22 lines
485 B
SCSS
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;
|
|
}
|