No notes defined.
<div class="sds-amountSummaryHeader">
<div class="sds-amountSummaryHeader__amount">
<div class="sds-amount -amountXxl">
<span class="sds-amount__value">30.458,45</span>
<span class="sds-amount__currency">€</span>
</div>
</div>
<p class="sds-amountSummaryHeader__subTitle">
<span class="sds-amountSummaryHeader__icon sds-icon sds-icon-hourglass -isProcessing" aria-hidden="true"></span>
<span>500 €</span> <a href="#!" class="sds-textHelper sds-textSemiBold text-underline">(Investissement en cours)</a>
</p>
</div>
<div class="{{ namespace }}amountSummaryHeader{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}amountSummaryHeader__amount">
{% render "@amount--body-xxl",{
text: amountText,
modifiers: amountModifiers
},true %}
</div>
<p class="{{ namespace }}amountSummaryHeader__subTitle">
<span class="{{ namespace }}amountSummaryHeader__icon {{ namespace }}icon {{ namespace }}icon-{{ icon }}{% if status %} {{ status }}{% endif %}" aria-hidden="true"></span>
<span>{{ subtitle }}</span>{% if inProgress %} <a href="#!" class="{{ namespace }}textHelper {{ namespace }}textSemiBold text-underline">(Investissement en cours)</a> {% endif %}
</p>
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}amountSummaryHeader {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
color: map-deep-get($token-color-brand-map, "secondary", "100");
@include spacer-component-stack("sm");
/* 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 */
&__subTitle {
display: flex;
align-items: center;
}
// amountSummaryHeader__icon
&__icon {
// follows same logic as parent
margin-right: map-deep-get($token-spacer-inline-map, "sm");
&::before {
font-size: 1em;
}
&.-isProcessing {
color: map-deep-get($token-color-brand-map, "warning", "100");
}
}
/* modifiers */
// amountSummaryHeader -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}