Info Illustration

No notes defined.

<div class="sds-infoIllustration">
    <div class="sds-infoIllustration__infoItem">
        <div class="sds-announceBubble">
            <span class="h1 sds-colorInherit">88</span>
            <p class="sds-announceBubble__text">jours restants</p>
        </div>
    </div>
    <img src="https://design.spuerkeess.lu/media/illustrations/svg750x560/hero/sdsillu-luxtrustmobile.svg" class="img-fluid" alt="">
</div>
<div class="{{ namespace }}infoIllustration{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}infoIllustration__infoItem">
		{% render "@snet-announce-bubble" %}
	</div>
	<img src="{{ ("https://design.spuerkeess.lu/media"+ illustrationsSDSPath + svg750xPath + "/hero/sdsillu-luxtrustmobile.svg") }}" class="img-fluid" alt="">
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}infoIllustration {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	position: relative;
    	z-index: z("zero");
    	display: inline-flex;
    
    	/* 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 */
    
    	// infoIllustration__infoItem
    	&__infoItem {
    
    		// follows same logic as parent
    
    		position: absolute;
    		top: 0;
    		right: 0;
    		transform: translate(-50%,25%);
    
    	}
    
    
    	/* modifiers */
    
    	// infoIllustration -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-info-illustration/_info-illustration.scss
  • Filesystem Path: components/snet/molecules/info-illustration/_info-illustration.scss
  • Size: 1.1 KB