No notes defined.
<span class="sds-countBadge -primary -small">
{##}
<span class="sr-only">Notifications non lues</span>
</span>
<span class="{{ namespace }}countBadge{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
{{ text }}
<span class="sr-only">Notifications non lues</span>
</span>
.#{$namespace}countBadge {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* variables specific to current element */
$element-specific-variables: "";
/* properties of current element + media queries */
@include custom-prop-fallback("color", "sys-color-text-neutral-inverse");
border-radius: map-deep-get($token-radius-map,"16");
@include custom-prop-fallback("background-color", "sys-color-background-primary-70");
@include spacer-component-inset-horiz-greater('xs',"sm");
@extend .#{$namespace}textHelperSmall;
display: inline-flex;
align-items: center;
justify-content: center;
height: 26px;
font-weight: map-deep-get($token-font-weight-map,"bold");
/* 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 */
// countBadge__childElement
&__childElement {
// follows same logic as parent
}
/* modifiers */
// countBadge -primary
&.-primary {
// follows same logic as base element
@include custom-prop-fallback("background-image", "sys-color-background-secondary-gradient");
border-radius: map-deep-get($token-radius-map,"8");
}
&.-small {
padding: map-deep-get($token-spacer-inset-map, "xs");
font-size: map-deep-get($token-font-size-map, "body", "2xs");
line-height: 1;
height: auto;
border-radius: map-deep-get($token-radius-map,"16");
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}