No notes defined.
<div class="sds-dismissibleAccountCard">
<div class="sds-dismissibleAccountCard__content sds-stackXxs">
<div>Compte Epicerie Fournisseurs</div>
<div class="sds-dismissibleAccountCard__meta sds-textHelper">LU55 0030 0566 9076 0000</div>
</div>
<div class="d-flex flex-column align-items-end">
<div class="sds-amount -positive -amountLg">
<span class="sds-amount__value">{+#.###,##}</span>
<span class="sds-amount__currency">€</span>
</div>
</div>
<button type="button" class="sds-btn -iconBtn -btnSecondary -btnSmall">
<span class="sds-icon sds-icon-close"></span>
</button>
</div>
<div class="{{ namespace }}dismissibleAccountCard{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}dismissibleAccountCard__content {{ namespace }}stackXxs">
<div>{{ title }}</div>
<div class="{{ namespace }}dismissibleAccountCard__meta {{ namespace }}textHelper">{{ meta | safe }}</div>
</div>
{% if amountInfo %}
<div class="d-flex flex-column align-items-end">
{% if amountLabel %}
<div class="{{ namespace }}dismissibleAccountCard__meta {{ namespace }}textHelper">Solde restant dû</div>
{% endif %}
{% if amount %}
{% render "@amount--large-positive" %}
{% else %}
{% render "@badge--primary-tonal",{text: "non visible"},true %}
{% endif %}
</div>
{% endif %}
{% if not hasBtn %}
{% else %}
{% render "@icon-btn-secondary--small",{icon: "icon-close"},true %}
{% endif %}
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}dismissibleAccountCard {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
display: flex;
align-items: center;
@include custom-prop-fallback("background-color", "sys-color-elevation-surface-sunken");
border-radius: map-deep-get($token-radius-map, "8");
@include spacer-component-inset("sm");
@include spacer-component-inline("md");
/* 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 */
// dismissibleAccountCard___meta
&__meta {
// follows same logic as parent
@include custom-prop-fallback("color", "sys-color-text-primary-muted");
}
&__content {
padding-right: map-deep-get($token-spacer-unit-map, "16");
margin-right: auto;
}
&__info {
display: flex;
align-items: center;
margin-left: auto;
@include spacer-component-inline("md");
}
/* modifiers */
// dismissibleAccountCard -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}