Skip to content

Commit

Permalink
fix(overlay): allow overlay sass variables to be overwritten (#15507)
Browse files Browse the repository at this point in the history
Marks the overlay-related Sass variables as `default` so that they can be overwritten.

Fixes #15467.
  • Loading branch information
crisbeto authored and jelbourn committed May 13, 2019
1 parent 1ac9386 commit b1c10d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cdk/overlay/_overlay.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// We want overlays to always appear over user content, so set a baseline
// very high z-index for the overlay container, which is where we create the new
// stacking context for all overlays.
$cdk-z-index-overlay-container: 1000;
$cdk-z-index-overlay: 1000;
$cdk-z-index-overlay-backdrop: 1000;
$cdk-z-index-overlay-container: 1000 !default;
$cdk-z-index-overlay: 1000 !default;
$cdk-z-index-overlay-backdrop: 1000 !default;

// Background color for all of the backdrops
$cdk-overlay-dark-backdrop-background: rgba(0, 0, 0, 0.32);
$cdk-overlay-dark-backdrop-background: rgba(0, 0, 0, 0.32) !default;

// Default backdrop animation is based on the Material Design swift-ease-out.
$backdrop-animation-duration: 400ms !default;
Expand Down

0 comments on commit b1c10d1

Please sign in to comment.