/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}repetitiveFormFields { /* 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 */ // repetitiveFormFields__header &__header { // follows same logic as parent border-radius: map-deep-get($token-radius-map, "16"); display: flex; align-items: center; padding: map-deep-get($token-spacer-inset-map, "sm"); position: relative; } &__collapseToggle { margin-right: map-deep-get($token-spacer-inline-map, "md"); } &__delete { margin-left: auto; padding-left: map-deep-get($token-spacer-inset-map, "md"); } &__collapseInner { padding-top: map-deep-get($token-spacer-inset-map, "lg"); } &__lastRow { margin-bottom: 0 !important; [class*="col-lg-6"] { &:last-of-type { @include media-breakpoint-between(xs,md) { margin-bottom: map-deep-get($token-spacer-inset-map, "sm"); } } @include media-breakpoint-up(lg) { margin-bottom: map-deep-get($token-spacer-inset-map, "sm") !important; } } } /* modifiers */ // repetitiveFormFields -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }