Avatar Text: Number Circle Big Highlight 30

300 × 150

No notes defined.

<div class="sds-avatarText">

    <div class="sds-avatar centeredBgi -avatarXl">

        <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

    </div>
    <div class="sds-avatarText__content stackXxs">
        <div class="h2">Jil Schmit</div>

        <div class="sds-avatarText__meta">{Rôle}</div>

    </div>
</div>
{% render "@snet-avatar-text--meta",avatarTextMetaOptions,true %}
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}avatarText {
    
    	/* 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 */
    
    	// avatarText__childElement
    	&__childElement {
    
    		// follows same logic as parent
    
    	}
    
    
    	/* modifiers */
    
    	// avatarText -locked
    	&.-locked {
    
    		// follows same logic as base element
    		color: map-deep-get($token-color-brand-map, "fade", "120");
    
    		* {
    			color: inherit;
    		}
    
    		&::after {
    
    			@include icon-base;
    			content: map-deep-get($token-icon-map, "locked");
    			font-size: 1.5em;
    			margin-left: map-deep-get($token-spacer-inline-map, "md");
    			color: inherit;
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/cpb-avatar-text/_avatar-text.scss
  • Filesystem Path: components/corporate-bridge/molecules/avatar-text/_avatar-text.scss
  • Size: 1.2 KB