No notes defined.
<div class="sds-chartDisplay">
<div class="sds-chartDisplay__row">
<div class="sds-chartDisplay__col -chart">
<div class="sds-chartDisplay__chart">
<img class="img-fluid" src="../../media/corporate-bridge/pages/dashboard/cpb-fake-pie-chart-2.png" alt="">
</div>
</div>
<div class="sds-chartDisplay__col -chartLegends">
<div class="sds-stackSm sds-outOfBounds">
<a href="" class="sds-listItem sds-hoverContentSecondary">
<div class="sds-transactionState -highlight -textHelper -hasBg sds-listItem__transactionState">
<div class="sds-icon sds-icon-turnright" aria-hidden="true"></div>
<div class="sds-transactionState__text">A venir</div>
</div>
<div class="sds-listItem__rightContent">
<div class="sds-amount -amountNeutral -amountSm -secondary100">
<div class="sds-amount__body">
<span class="sds-amount__value">{#.###.###}</span>
<span class="sds-amount__currency">€</span>
</div>
</div>
<span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">
<span class="sds-icon sds-icon-chevronright"></span>
</span>
</div>
</a>
<a href="" class="sds-listItem sds-hoverContentSecondary">
<div class="sds-transactionState -processing -textHelper -hasBg sds-listItem__transactionState">
<div class="sds-icon sds-icon-alert" aria-hidden="true"></div>
<div class="sds-transactionState__text">Expirée</div>
</div>
<div class="sds-listItem__rightContent">
<div class="sds-amount -amountNeutral -amountSm -secondary100">
<div class="sds-amount__body">
<span class="sds-amount__value">{#.###.###}</span>
<span class="sds-amount__currency">€</span>
</div>
</div>
<span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">
<span class="sds-icon sds-icon-chevronright"></span>
</span>
</div>
</a>
<a href="" class="sds-listItem sds-hoverContentSecondary">
<div class="sds-transactionState -paid -textHelper -hasBg sds-listItem__transactionState">
<div class="sds-icon sds-icon-checkcircleborder" aria-hidden="true"></div>
<div class="sds-transactionState__text">Conforme</div>
</div>
<div class="sds-listItem__rightContent">
<div class="sds-amount -amountNeutral -amountSm -secondary100">
<div class="sds-amount__body">
<span class="sds-amount__value">{#.###.###}</span>
<span class="sds-amount__currency">€</span>
</div>
</div>
<span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">
<span class="sds-icon sds-icon-chevronright"></span>
</span>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="{{ namespace }}chartDisplay{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}chartDisplay__row">
<div class="{{ namespace }}chartDisplay__col -chart">
<div class="{{ namespace }}chartDisplay__chart">
<img class="img-fluid"
src="{{ (mediaPath + "/corporate-bridge/pages/dashboard/cpb-fake-pie-chart-2.png") | path }}"
alt="">
</div>
</div>
<div class="{{ namespace }}chartDisplay__col -chartLegends">
<div class="{{ namespace }}stackSm {{ namespace }}outOfBounds">
{% render "@cpb-list-item--transaction-state",{
stateType: "--highlight-small",
stateText: "A venir"
},true %}
{% render "@cpb-list-item--transaction-state",{
stateType: "--processing-small",
stateIcon: "icon-alert",
stateText: "Expirée"
},true %}
{% render "@cpb-list-item--transaction-state",{
stateType: "--paid-small",
stateText: "Conforme"
},true %}
</div>
</div>
</div>
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}chartDisplay {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* 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 */
// chartDisplay__row
&__row {
// follows same logic as parent
@include make-row();
justify-content: center;
margin-bottom: -($grid-gutter-width);
}
&__col {
@include make-col-ready();
margin-bottom: $grid-gutter-width;
&.-chart {
@include make-col-auto();
}
&.-chartLegends {
width: 272px;
flex-grow: 1;
}
}
&__chart {
min-width: 180px;
max-width: 240px;
margin: auto;
}
/* modifiers */
// chartDisplay -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}