/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}digitalSignage { /* Save root element context for easy access if nesting is needed */ $self: &; /* properties of current element + media queries */ min-height: 100%; /* 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 */ &__header { @include custom-prop-fallback("font-size", "comp-digital-signage-header-font-size"); @include custom-prop-fallback("padding-top", "comp-digital-signage-header-inset-v"); @include custom-prop-fallback("padding-bottom", "comp-digital-signage-header-inset-v"); @include custom-prop-fallback("padding-left", "comp-digital-signage-header-inset-h"); @include custom-prop-fallback("padding-right", "comp-digital-signage-header-inset-h"); } &__main { @include custom-prop-fallback("padding-left","comp-digital-signage-body-inset-h"); @include custom-prop-fallback("padding-right","comp-digital-signage-body-inset-h"); margin-bottom: map-get($token-spacer-stack-max-map, "xl"); } // digitalSignage__childElement &__footer { // follows same logic as parent bottom: 0; @include custom-prop-fallback("background-color", "sys-color-elevation-surface-flat"); @include custom-prop-fallback("font-size", "comp-digital-signage-footer-font-size"); @include custom-prop-fallback("padding-top", "comp-digital-signage-footer-inset-v"); @include custom-prop-fallback("padding-bottom", "comp-digital-signage-footer-inset-v"); @include custom-prop-fallback("padding-left", "comp-digital-signage-footer-inset-h"); @include custom-prop-fallback("padding-right", "comp-digital-signage-footer-inset-h"); } /* modifiers */ // digitalSignage -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }