/* variables specific to current element */ $element-specific-variables: ""; .#{$namespace}predefinedAppointment { /* Save root element context for easy access if nesting is needed */ $self: &; /* properties of current element + media queries */ /* Pseudo Elements */ position: relative; border-radius: map-deep-get($token-radius-map, "16"); display: flex; flex-wrap: wrap; align-items: stretch; padding: map-deep-get($token-spacer-inset-map, "md"); gap: map-deep-get($token-spacer-inset-map, "md"); @include media-breakpoint-up("lg") { padding: map-deep-get($token-spacer-inset-map, "lg"); gap: map-deep-get($token-spacer-inset-map, "lg"); } &::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 */ // predefinedAppointment__img &__img { &, IMG { width: map-deep-get($token-sizes-unit-map, "48"); @include media-breakpoint-up("lg") { width: map-deep-get($token-sizes-unit-map, "64"); } } } &__text { display: flex; flex-wrap: wrap; align-items: center; flex: 1 0 450px; max-width: 100%; gap: map-deep-get($token-spacer-inset-map, "lg"); } &__inner { display: flex; flex-direction: column; flex: 1 0 450px; max-width: 100%; } h3 { margin: 0; } &__description { line-height: map-deep-get($token-font-line-height-map, "xxl"); margin: 0; } /* modifiers */ // predefinedAppointment -altStyle &.-altStyle { // follows same logic as base element } /* random parent element */ /* * * Syntax : .randomParentElt & {} * */ /* Pseudo Classes */ &:hover { @media (hover: hover) { } } &:focus { } &:active { } &:focus, &:active { } }