/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}documentList { /* 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 */ /* modifiers */ // documentList -inverted &.-inverted { // follows same logic as base element // documentList > * + * > * + * { // follows same logic as parent margin-top: map-deep-get($token-spacer-stack-max-map, "xs"); } > * { &:not(:first-of-type):not(:last-of-type) { > * { border-radius: 0; } } &:first-of-type { > * { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } } &:last-of-type { > * { border-top-left-radius: 0; border-top-right-radius: 0; } } } } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }