/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}mobileStepper { /* 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 */ // mobileStepper__childElement &__childElement { // follows same logic as parent } /* modifiers */ // mobileStepper -altStyle &.-secondary { // follows same logic as base element @include custom-prop-fallback("background-color", "sys-color-elevation-surface-flat"); background-image: none; #{$self}__progressBar { @include custom-prop-fallback("background-color", "sys-color-background-primary-15"); > * { @include custom-prop-fallback("background-color", "sys-color-background-primary-100"); } } } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }