No notes defined.
<div class="sds-cardStepper">
<div class="row row-sm align-items-start align-items-stretch-immediate no-bottom-gutter">
<div class="sds-cardStepper__item sds-stackMd">
<div class="sds-cardStepper__img">
<img class="img-fluid" src="../../media/snet/illustrations/sdsillu-manlookinghouseplanb.svg" alt="">
</div>
<div class="sds-cardStepper__numberWrapper">
<span class="sds-numberCircle -large sds-cardStepper__numberCircle">
1
</span>
</div>
<div class="sds-cardStepper__innerText sds-stackXs text-center">
<div class="h4">Le projet</div>
<p>Vous souhaitez acheter un appartement ou construire une maison ? Racontez-nous votre projet !</p>
</div>
</div>
<div class="sds-cardStepper__item sds-stackMd">
<div class="sds-cardStepper__img">
<img class="img-fluid" src="../../media/snet/illustrations/sdsillu-womanmancoupleb.svg" alt="">
</div>
<div class="sds-cardStepper__numberWrapper">
<span class="sds-numberCircle -large sds-cardStepper__numberCircle">
2
</span>
</div>
<div class="sds-cardStepper__innerText sds-stackXs text-center">
<div class="h4">Informations personnelles</div>
<p>Complétez vos informations personnelles. Vous souhaitez emprunter à deux ? Aucun problème !</p>
</div>
</div>
<div class="sds-cardStepper__item sds-stackMd">
<div class="sds-cardStepper__img">
<img class="img-fluid" src="../../media/snet/illustrations/sdsillu-mancalculatingb.svg" alt="">
</div>
<div class="sds-cardStepper__numberWrapper">
<span class="sds-numberCircle -large sds-cardStepper__numberCircle">
3
</span>
</div>
<div class="sds-cardStepper__innerText sds-stackXs text-center">
<div class="h4">Financement et simulation</div>
<p>Définissez vos plan de financement et simulez votre mensualité.</p>
</div>
</div>
<div class="sds-cardStepper__item sds-stackMd">
<div class="sds-cardStepper__img">
<img class="img-fluid" src="../../media/snet/illustrations/sdsillu-mansendingmessagephoneb.svg" alt="">
</div>
<div class="sds-cardStepper__numberWrapper">
<span class="sds-numberCircle -large sds-cardStepper__numberCircle">
4
</span>
</div>
<div class="sds-cardStepper__innerText sds-stackXs text-center">
<div class="h4">Envoi à un conseiller !</div>
<p>Joignez vos pièces justificatives et envoyez votre demande ! Un conseiller vous contacte sous 24H !</p>
</div>
</div>
</div>
<div class="sds-cardStepper__action text-center">
<a href="" class="sds-btn -btnPrimary">
<span class="sds-btn__text">C'est parti!</span>
</a>
</div>
</div>
<div class="{{ namespace }}cardStepper{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="row row-sm align-items-start align-items-stretch-immediate no-bottom-gutter">
{% for key, item in stepperItems %}
<div class="{{ namespace }}cardStepper__item {{ namespace }}stackMd">
<div class="{{ namespace }}cardStepper__img">
<img class="img-fluid" src="{{ item.img | path }}" alt="">
</div>
<div class="{{ namespace }}cardStepper__numberWrapper">
{% render '@snet-number-circle--large',{
classes: [namespace + "cardStepper__numberCircle"],
text: item.number
}, true %}
</div>
<div class="{{ namespace }}cardStepper__innerText {{ namespace }}stackXs text-center">
<div class="h4">{{ item.title }}</div>
<p>{{ item.text }}</p>
</div>
</div>
{% endfor %}
</div>
{% if link %}
<div class="{{ namespace }}cardStepper__action text-center">
{% render '@btn-primary',{eltType: "a", text: "C'est parti!"},true %}
</div>
{% endif %}
</div>
@use "sass:math";
/* variables specific to current element */
$card-stepper-line-position-offset: -(map-deep-get($token-spacer-unit-map, "16") + math.div(map-deep-get($token-spacer-unit-map, "40"), 2));
.#{$namespace}cardStepper {
/* 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 */
// cardStepper__childElement
&__item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-grow: 1;
width: 100%;
@include make-col-ready();
@include make-col(3);
&:first-child,
&:last-child {
#{$self}__numberWrapper {
&::before {
width: calc(50% + #{$grid-gutter-width});
transform: translateY(-50%);
}
}
}
&:first-child {
#{$self}__numberWrapper {
&::before {
left: 50%;
}
}
}
&:last-child {
#{$self}__numberWrapper {
&::before {
right: 50%;
left: auto;
}
}
}
}
&__img {
width: 180px;
}
&__numberCircle {
background-color: map-deep-get($token-color-brand-map, "secondary", "10");
outline: map-deep-get($token-spacer-unit-map, "8") solid map-deep-get($token-color-grayscale-map, "0") !important;
}
&__numberWrapper {
position: relative;
z-index: z("zero");
width: 100%;
text-align: center;
&::before {
content: "";
width: calc(100% + #{$grid-gutter-width});
left: 50%;
height: $border-width;
position: absolute;
z-index: z("negative");
top: 50%;
transform: translate(-50%);
background-color: map-deep-get($design-tokens, "sys-color-background-primary-15");
}
}
&__action {
margin-top: map-deep-get($token-spacer-unit-map, "64");
}
/* modifiers */
// cardStepper -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}