No notes defined.
<div class="sds-emptyState text-center">
<div class="sds-stackXs">
<span class="sds-emptyState__icon sds-icon sds-icon-family-l"></span>
<div class="sds-stackXxs">
<p class="sds-textBodyLg sds-textSemiBold">Aucune équipe assignée</p>
<p class="sds-textSemiBold">L’utilisateur n’est assigné à aucune équipe pour l’instant.</p>
</div>
</div>
<button type="button" class="sds-btn -btnSecondary">
<span class="sds-icon sds-icon-plus"></span>
<span class="sds-btn__text">Assigner équipes</span>
</button>
</div>
<div class="{{ namespace }}emptyState{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}stackXs">
<span class="{{ namespace }}emptyState__icon {{ namespace }}icon {{ namespace }}{{ icon }}"></span>
<div class="{{ namespace }}stackXxs">
<p class="{{ namespace }}textBodyLg {{ namespace }}textSemiBold">{{ title }}</p>
{% if text %}
<p class="{{ namespace }}textSemiBold">{{ text }}</p>
{% else %}
{% endif %}
</div>
</div>
{% if button %}
{% render "@btn-secondary--icon-left",{
classes: btnClasses,
icon: btnIcon,
text: btnText,
attrs: attrs
},true %}
{% endif %}
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}emptyState {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
/* Pseudo Elements */
display: flex !important;
flex-direction: column;
align-items: center;
justify-content: center;
@include custom-prop-fallback("color","comp-empty-state-title-text-color","true","true");
@include custom-prop-fallback("gap","ui-space-stack-static-1000");
flex-grow: 1;
&::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 */
&__icon {
// follows same logic as parent
&::before {
font-size: map-deep-get($token-sizes-unit-map, "40");
}
}
&__text {
text-align: center;
max-width: 50ch;
}
/* modifiers */
// emptyState -big
// emptyState -emptyStateLg
&.-big,
&.-emptyStateLg {
// follows same logic as base element
@include custom-prop-fallback("gap","ui-space-stack-static-1500");
#{$self}__icon {
// follows same logic as parent
&::before {
font-size: map-deep-get($token-sizes-unit-map, "64");
}
}
}
&.-bgSecondary06 {
background-color: map-deep-get($token-color-brand-map, "secondary", "06");
}
&.-noPadding {
padding: 0;
}
&.-verticalSpacingBig {
padding-top: map-deep-get($token-spacer-unit-map, "64");
padding-bottom: map-deep-get($token-spacer-unit-map, "64");
@include media-breakpoint-up(lg) {
padding-top: map-deep-get($token-spacer-unit-map, "64") * 2;
padding-bottom: map-deep-get($token-spacer-unit-map, "64") * 2;
}
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}