/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}featureIconBoxList { /* 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 */ // featureIconBoxList__childElement &__col { // follows same logic as parent & + & { &::before { content: ""; @extend %logoSeparator; margin-bottom: inherit; position: relative; left: $feature-icon-box-img-dimensions-global + $feature-icon-box-img-spacing-global; @include media-breakpoint-up(lg) { left: $feature-icon-box-img-dimensions-lg-global + $feature-icon-box-img-spacing-lg-global; } } } } /* modifiers */ // featureIconBoxList -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ @each $breakpoint in map-keys(map-remove($grid-breakpoints, "xs")) { $infix: breakpoint-infix($breakpoint, $grid-breakpoints); @include media-breakpoint-up($breakpoint, $grid-breakpoints) { @if $grid-row-columns > 0 { [class*="row-cols#{$infix}"] { #{$self}__col { &::before { content: none; } } } } } } /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }