Simulator Result Card

No notes defined.

<!-- Default -->
<div class="sds-simulatorResultCard sds-box -boxSunken">
    <div class="sds-simulatorResultCard__header">
        <div class="sds-textSemiBold sds-textHelper">
            Taux variable (1,8%)
        </div>
        <div class="sds-amount -positive -amountXl">
            <span class="sds-amount__value">{+#.###,##}</span>

            <span class="sds-amount__currency"></span>

            <span class="sds-amount__frequency">
                / mois
            </span>

        </div>
    </div>
    <p class="sds-textHelper">Soit 3.990 € / mois avec vos charges mensuelles existantes</p>
    <p class="sds-textHelper">TAEG: 3.76%</p>
</div>

<!-- Interaction Hint -->
<div class="sds-simulatorResultCard sds-box -boxSunken sds-interactionHint">
    <div class="sds-simulatorResultCard__header">
        <div class="sds-textSemiBold sds-textHelper">
            Taux variable (1,8%)
        </div>
        <div class="sds-amount -positive -amountXl">
            <span class="sds-amount__value">{+#.###,##}</span>

            <span class="sds-amount__currency"></span>

            <span class="sds-amount__frequency">
                / mois
            </span>

        </div>
    </div>
    <p class="sds-textHelper">Soit 3.990 € / mois avec vos charges mensuelles existantes</p>
    <p class="sds-textHelper">TAEG: 3.76%</p>
</div>

<div class="{{ namespace }}simulatorResultCard {{ namespace }}box -boxSunken{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}simulatorResultCard__header">
		<div class="{{ namespace }}textSemiBold {{ namespace }}textHelper">
			{{ headerText | safe }}
		</div>
		{% render "@amount--xtra-large-positive-frequency" %}
	</div>
	<p class="{{ namespace }}textHelper">Soit 3.990 € / mois avec vos charges mensuelles existantes</p>
	<p class="{{ namespace }}textHelper">TAEG: 3.76%</p>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}simulatorResultCard {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	border-radius: map-deep-get($token-radius-map, "16");
    	@include spacer-component-inset("md");
    	transition: background-color 0.25s ease-in-out;
    
    	/* 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 */
    
    	// simulatorResultCard__header
    	&__header {
    
    		// follows same logic as parent
    
    		margin-bottom: map-deep-get($token-spacer-stack-max-map, "xs");
    
    		@include media-breakpoint-up(lg) {
    			display: flex;
    			align-items: center;
    			justify-content: space-between;
    			@include spacer-component-inline("md")
    		}
    
    	}
    
    
    	/* modifiers */
    
    	// simulatorResultCard -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-simulator-result-card/_simulator-result-card.scss
  • Filesystem Path: components/snet/organisms/simulator-result-card/_simulator-result-card.scss
  • Size: 1.3 KB