/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}fakeVideoTrigger { /* Save root element context for easy access if nesting is needed */ $self: &; /* properties of current element + media queries */ position: relative; border-radius: map-deep-get($token-radius-map, "16"); /* Pseudo Elements */ &::before { } &::after { content: ""; position: absolute; z-index: z("zero"); top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(map-deep-get($token-color-brand-map, "secondary","100"), 0.64); } /* 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 */ // fakeVideoTrigger__inner &__inner { // follows same logic as parent z-index: z("low"); display: flex; align-items: center; justify-content: center; } /* modifiers */ // fakeVideoTrigger -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }