/* 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 */ @include custom-prop-fallback("background-image","comp-navbar-background-color"); @include custom-prop-fallback("color", "sys-color-text-neutral-inverse"); height: $mobile-stepper-height-global; /* 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 &__inner { // follows same logic as parent display: flex; align-items: center; justify-content: space-between; @include spacer-component-inline("md"); padding: map-deep-get($token-spacer-inset-map, "md"); } &__item {flex-grow: 1;} /* modifiers */ // mobileStepper -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ .bfm-theme &, .cpb-theme & { @include gradient-directional(map-deep-get($token-color-brand-map, "secondary", "160"), map-deep-get($token-color-brand-map, "secondary", "140"), 0, 100%, 45deg, true); } /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }