/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}alertWrapper { /* Save root element context for easy access if nesting is needed */ $self: &; /* properties of current element + media queries */ @include spacer-component-stack("md"); position: fixed; left: 0; right: 0; bottom: $frame-content-bottom-bar-min-height-global; z-index: z("popover"); padding: $snet-frame-main-horiz-padding-mobile-global; max-width: map-deep-get($container-max-widths, "xl"); margin: auto; display: flex; flex-direction: column; align-items: flex-end; @include media-breakpoint-up(lg) { padding-top: 0; padding-bottom: 0; padding-right: $snet-frame-main-horiz-padding-desktop-global; bottom: $snet-frame-main-horiz-padding-desktop-global; } //@media screen and (min-width: map-get($tweakpoint-map, "tablet")) { // //} /* Pseudo Elements */ &::before { } &::after { } /* Include elements that are linked to the current element but have to reside at the root level of the stylesheet (e.g: keyframes) */ @at-root { } /* children - write selector in full in comments in order to facilitate search */ // alert__content &__content { // follows same logic as parent } > * { max-width: 100%; width: 375px; } /* modifiers */ // alert -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ .-hasBottomBar & { bottom: $frame-content-bottom-bar-min-height-global; } /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }