Progress: Warning 100

No notes defined.

<div class="sds-progress progress -hasBadge -xtraSmall -warning100">
    <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
    <div class="sds-transactionState -processing -textHelper sds-progress__badge -hasBg">
        <div class="sds-icon sds-icon-sign" aria-hidden="true"></div>
        <div class="sds-transactionState__text">Initiée</div>

    </div>
</div>
<div class="{{ namespace }}progress progress{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="progress-bar {{ namespace }}progress__bar{% for mod in progressStyles %} {{ mod }}{% endfor %}" role="progressbar" style="width: {{ progressValuePecentage }}%" aria-valuenow="{{ progressValue }}" aria-valuemin="0" aria-valuemax="100"{% if current %} aria-current="true"{% endif %}></div>
	{% render "@snet-transaction-state"+state,{
		text: text,
		classes: [namespace+"progress__badge", "-hasBg"],
		icon: icon
	},true %}
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}progress {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	display: flex;
    	align-items: center;
    
    	/* 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 */
    
    	// progressState__childElement
    
    
    	/* modifiers */
    
    	// progressState -initiated
    	&.-warning100 {
    
    		// follows same logic as base element
    
    		#{$self}__bar {
    			background-color: map-deep-get($token-color-brand-map, "warning", "100");
    		}
    
    	}
    
    	&.-warning140 {
    
    		#{$self}__bar {
    			background-color: map-deep-get($token-color-brand-map, "warning", "140");
    		}
    
    	}
    
    	&.-highlight100 {
    
    		#{$self}__bar {
    			background-color: map-deep-get($token-color-brand-map, "highlight", "100");
    		}
    
    	}
    
    	&.-success100 {
    
    		#{$self}__bar {
    			background-color: map-deep-get($token-color-brand-map, "success", "100");
    		}
    
    	}
    
    	&.-primary100 {
    
    		#{$self}__bar {
    			background-color: map-deep-get($token-color-brand-map, "primary", "100");
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/cpb-progress/_progress.scss
  • Filesystem Path: components/corporate-bridge/molecules/progress/_progress.scss
  • Size: 1.5 KB