/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}documentDownload { /* Save root element context for easy access if nesting is needed */ $self: &; /* properties of current element + media queries */ display: flex; align-items: baseline; justify-content: space-between; @include spacer-component-inline("md"); position: relative; // when action as stretched link border-radius: map-deep-get($token-radius-map, "16"); padding: map-deep-get($token-spacer-inset-map, "sm"); /* 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 */ // documentDownload__content &__content { // follows same logic as parent @include spacer-component-inline("md"); display: flex; align-items: stretch; } // documentDownload__text &__text { // follows same logic as parent font-weight: map-deep-get($token-font-weight-map, "semi-bold"); display: flex; align-items: center; } /* modifiers */ // documentDownload -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }