Time Recap: Default

No notes defined.

<div class="sds-timeRecap sds-stackSm">
    <div class="sds-timeRecap__title sds-textHelper">Employé modèle</div>
    <div class="sds-timeRecap__time sds-textBodyXl">124:00 </div>
</div>
<div class="{{ namespace }}timeRecap {{ namespace }}stackSm{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
    <div class="{{ namespace }}timeRecap__title {{ namespace }}textHelper">{{ title }}</div>
    <div class="{{ namespace }}timeRecap__time {{ namespace }}textBodyXl">{{ time }} {% if helper %} <span class="{{ namespace }}textBodyLg {{ namespace }}textSemiBold">{{ helper }}</span> {% endif %}</div>
</div>
  • Content:
    .#{$namespace}timeRecap {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    
    	/* variables specific to current element */
    
    	$element-specific-variables: "";
    
    
    	/* 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 */
    
    	// timeRecap__title
    	&__title,
    	&__time {
    
    		color: map-deep-get($token-color-brand-map, "secondary", "60");
    
    	}
    
    	// timeRecap__time
    	&__time {
    
    		font-weight: map-deep-get($token-font-weight-map, "bold");
    
    	}
    
    
    	/* modifiers */
    
    	// timeRecap -altStyle
    	&.-secondary100 {
    
    		#{$self}__time {
    
    			color: map-deep-get($token-color-brand-map, "secondary", "100");
    
    		}
    
    	}
    
    	&.-success100 {
    
    		#{$self}__time {
    
    			color: map-deep-get($token-color-brand-map, "success", "100");
    
    		}
    
    	}
    
    	&.-warning120 {
    
    		#{$self}__time {
    
    			color: map-deep-get($token-color-brand-map, "warning", "120");
    
    		}
    
    	}
    
    	&.-textRight {
    
    		text-align: right;
    
    	}
    
    	/* random parent element */
    	/*
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/msp-time-recap/_time-recap.scss
  • Filesystem Path: components/my-spuerkeess/molecules/time-recap/_time-recap.scss
  • Size: 1.4 KB