/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}footer { /* 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-footer-background-color"); @include containerPaddingInline(); @include custom-prop-fallback("color","sys-color-text-neutral-inverse"); padding-top: map-deep-get($token-spacer-inset-map, "xl"); padding-bottom: map-deep-get($token-spacer-inset-map, "xl"); @include media-breakpoint-up("lg") { padding-top: map-deep-get($token-spacer-inset-map, "xl")*1.75; padding-bottom: map-deep-get($token-spacer-inset-map, "xl")*1.75; } /* 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 */ &__social { text-align: center; @include media-breakpoint-up(md) { text-align: left; } } &__socialIconsGroup { justify-content: center; margin-top: map-deep-get($token-spacer-stack-max-map, "sm"); @include media-breakpoint-up(md) { justify-content: flex-start; } } &__logo { svg { max-width: 100%; path[fill="#{map-deep-get($design-tokens, 'sys-color-text-primary-vivid')}"] { fill: map-deep-get($design-tokens, "sys-color-text-neutral-inverse"); } } } // footer__socialIcon &__socialIcon { // follows same logic as parent &:hover, &:focus { @media (hover: hover) { @include custom-prop-fallback("background-color", "sys-color-background-primary-100"); } } } &__links { text-align: center; @include media-breakpoint-up(md) { text-align: right; } } /* modifiers */ // footer -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }