No notes defined.
<div class="sds-loginBlock sds-box">
<div class="sds-iconHeader">
<div class="sds-iconHeader__iconContainer">
<img class="img-fluid" src="../../media/illustrative-icons/sdsillu-classicwallet.svg" alt="">
</div>
</div>
<div class="sds-loginBlock__heading">
<div class="h3">
Mon espace personnel
<sup>
<div class="sds-badge badge -badgeHighlight -badgeSm">
New
</div>
</sup>
</div>
</div>
<div class="sds-loginBlock__body">
<div class="sds-loginBlock__listHeading sds-textHelperSmall">
Veuillez choisir la convention
</div>
<div class="sds-loginBlock__list">
<div class="sds-loginBlock__listInner">
<ul class="sds-borderedBgList list-unstyled">
<li class="sds-borderedBgList__item">
<div class="sds-borderedBgList__itemOffset">
<a href="" class="sds-borderedBgList__link d-flex align-items-center">
<div class="sds-avatar centeredBgi sds-borderedBgList__typeIcon">
<img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">
</div>
<span class="sds-borderedBgList__text">{Convention}</span>
<span class="sds-iconCircle -ghost sds-borderedBgList__linkIcon" aria-hidden="true">
<span class="sds-icon sds-icon-chevronright"></span>
</span>
</a>
</div>
</li>
<li class="sds-borderedBgList__item">
<div class="sds-borderedBgList__itemOffset">
<a href="" class="sds-borderedBgList__link d-flex align-items-center">
<div class="sds-avatar centeredBgi sds-borderedBgList__typeIcon">
<img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicWoman.svg" alt="">
</div>
<span class="sds-borderedBgList__text">{Convention}</span>
<span class="sds-iconCircle -ghost sds-borderedBgList__linkIcon" aria-hidden="true">
<span class="sds-icon sds-icon-chevronright"></span>
</span>
</a>
</div>
</li>
<li class="sds-borderedBgList__item">
<div class="sds-borderedBgList__itemOffset">
<a href="" class="sds-borderedBgList__link d-flex align-items-center">
<div class="sds-avatar centeredBgi sds-borderedBgList__typeIcon">
<img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicWoman.svg" alt="">
</div>
<span class="sds-borderedBgList__text">{Convention}</span>
<span class="sds-iconCircle -ghost sds-borderedBgList__linkIcon" aria-hidden="true">
<span class="sds-icon sds-icon-chevronright"></span>
</span>
</a>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="{{ namespace }}loginBlock {{ namespace }}box{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
{% if bfm or cpb %}
{% render "@snet-icon-header--bfm",{img: img},true %}
{% else %}
{% render "@snet-icon-header" %}
{% endif %}
<div class="{{ namespace }}loginBlock__heading">
<div class="h3">
{{ heading }}
<sup>
{% render "@badge--highlight",{
text: "New",
classes: ["-badgeSm"]
},true %}
</sup>
</div>
{% if text %}
<p class="{{ namespace }}loginBlock__text {{ namespace }}textBodyLg">{{ text }}</p>
{% endif %}
</div>
<div class="{{ namespace }}loginBlock__body">
<div class="{{ namespace }}loginBlock__listHeading {{ namespace }}textHelperSmall">
{% if noListHeading %}{% else %}Veuillez choisir la convention{% endif %}
</div>
<div class="{{ namespace }}loginBlock__list">
<div class="{{ namespace }}loginBlock__listInner">
{% render "@snet-bordered-bg-list",borderedBgListOptions,true %}
</div>
</div>
</div>
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}loginBlock {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
@include media-breakpoint-up(md) {
max-height: calc(100vh - #{map-deep-get($token-sizes-component-map, "topbar-height")} - #{$grid-gutter-width} * 2);
display: flex;
flex-direction: column;
}
/* 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 */
// loginBlock__heading
&__heading {
// follows same logic as parent
@include spacer-component-stack("xs");
padding: 0 map-deep-get($token-spacer-unit-map, "16");
flex-shrink: 0;
@include media-breakpoint-up(md) {
margin: auto;
text-align: center;
padding: map-deep-get($token-spacer-unit-map, "16") map-deep-get($token-spacer-unit-map, "24") map-deep-get($token-spacer-unit-map, "32");
}
}
&__listHeading,
&__body {
&::after {
content: "";
position: absolute;
z-index: z("low");
left: 0;
right: 0;
height: map-deep-get($token-sizes-unit-map, "24");
pointer-events: none;
}
}
&__listHeading {
font-weight: map-deep-get($token-font-weight-map, "bold");
color: map-deep-get($token-color-brand-map, "secondary", "100");
position: relative;
min-height: 18px; /* @TODO find a way to */
&::after {
top: 100%;
@include gradient-directional(rgba(map-deep-get($token-color-grayscale-map, "0"), 0%), rgba(map-deep-get($token-color-grayscale-map, "0"), 100%), 0, 100%, 0deg, true);
}
}
&__body {
padding: map-deep-get($token-spacer-unit-map, "8") map-deep-get($token-spacer-unit-map, "16") 0;
@include media-breakpoint-up(md) {
padding: map-deep-get($token-spacer-unit-map, "32") map-deep-get($token-spacer-unit-map, "24") 0;
position: relative;
flex-grow: 1;
overflow: hidden;
display: flex;
flex-direction: column;
&::before {
content: "";
position: absolute;
top: 0;
left: map-deep-get($token-spacer-unit-map, "24");
right: map-deep-get($token-spacer-unit-map, "24");
border-top: $border-width solid $border-color;
}
&::after {
left: map-deep-get($token-spacer-unit-map, "24");
right: map-deep-get($token-spacer-unit-map, "24");
bottom: 0;
height: map-deep-get($token-sizes-unit-map, "24");
@include gradient-directional(rgba(map-deep-get($token-color-grayscale-map, "0"), 0%), rgba(map-deep-get($token-color-grayscale-map, "0"), 100%), 0, 100%, 180deg, true);
}
}
}
&__list {
padding: map-deep-get($token-spacer-unit-map, "16") map-deep-get($token-spacer-unit-map, "24") map-deep-get($token-spacer-unit-map, "8");
margin: 0 (-(map-deep-get($token-spacer-unit-map, "32")));
@include media-breakpoint-up(md) {
padding-bottom: map-deep-get($token-spacer-unit-map, "24");
margin: 0 (-(map-deep-get($token-spacer-unit-map, "24")));
position: relative;
flex-grow: 1;
overflow-y: auto;
height: 100%;
}
}
&__listInner {
//height: 100%;
}
/* modifiers */
// loginBlock -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}