/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}documentSlider { /* 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 */ // documentSlider__childElement &__childElement { // follows same logic as parent } /* modifiers */ // documentSlider -contained &.-contained { // follows same logic as base element width: $document-column-width-mobile-global; @include media-breakpoint-up("lg") { width: $document-column-width-desktop-global; } #{$self}__navigation#{$self}__navigation#{$self}__navigation#{$self}__navigation { display: flex; align-items: center; margin-left: 0; margin-right: 0; margin-top: map-deep-get($token-spacer-stack-max-map, "lg") !important; } } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }