/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}housingSimulator { /* Save root element context for easy access if nesting is needed */ $self: &; /* properties of current element + media queries */ /* 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 */ // housingSimulator__childElement &__updateHint { // follows same logic as parent opacity: 0; visibility: hidden; text-align: center; position: fixed; z-index: z("fixed"); top: $nav-topbar-height-mobile-global + $mobile-stepper-height-global + map-deep-get($token-spacer-unit-map, "8"); left: 0; right: 0; transition: transform 0.15s linear; transform: translateY(-($nav-topbar-height-mobile-global + $mobile-stepper-height-global + map-deep-get($token-spacer-unit-map, "8"))); &.-shown { transform: translateY(0); opacity: 1; visibility: visible; &.-headroomPinned { transform: translateY(-$nav-topbar-height-mobile-global); } } @include media-breakpoint-up(md) { display: none; } } /* modifiers */ // housingSimulator -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }