5 A floating container that can anchor to any other on-screen element, and contain any content, including grid blocks or panels.
\r
8 /// @Foundation.settings
\r
10 $popup-width: rem-calc(300) !default;
\r
11 $popup-background: #fff !default;
\r
12 $popup-border: 0 !default;
\r
13 $popup-radius: 0 !default;
\r
14 $popup-shadow: 0 0 10px rgba(#000, 0.25) !default;
\r
22 transition: opacity 0.25s ease-out;
\r
23 pointer-events: none;
\r
27 pointer-events: auto;
\r
31 @mixin popup-layout(
\r
32 $width: $popup-width
\r
34 width: $popup-width;
\r
37 $background: $popup-background,
\r
39 $radius: $popup-radius,
\r
40 $shadow: $popup-shadow,
\r
41 $border: $popup-border
\r
43 background: $background;
\r
44 border-radius: $radius;
\r
45 box-shadow: $shadow;
\r
50 $width: $popup-width,
\r
51 $background: $popup-background,
\r
52 $radius: $popup-radius,
\r
53 $shadow: $popup-shadow,
\r
54 $border: $popup-border
\r
57 @include popup-layout($width);
\r
58 @include popup-style($background, isitlight($background), $radius, $shadow, $border);
\r
61 @include exports(popup) {
\r
65 &.dark { @include popup-style($dark-color, #fff); }
\r
66 &.primary { @include popup-style($primary-color, isitlight($primary-color)); }
\r