No notes defined.
<div class="sds-accountInfo">
<div class="sds-avatar centeredBgi -avatarSm">
<img class="img-fluid" src="../../media/snet/avatars/avatarCactus.png" alt="">
</div>
<div class="sds-accountInfo__content">
<p class="sds-accountInfo__title">
<span class="text-truncate">
Kant Institution
</span>
<span class="sds-accountInfo__whitelisted sds-icon sds-icon-badgevalid"></span>
</p>
<p class="sds-accountInfo__meta">LU## #### #### #### ####</p>
</div>
</div>
<div class="{{ namespace }}accountInfo{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
{% if avatar %}
{% if small %}
{% render "@avatar--image-small" ,{img: "/snet/avatars/avatarCactus.png"},true %}
{% else %}
{% render "@avatar--image",{img: "/snet/avatars/avatarCactus.png"},true %}
{% endif %}
{% endif %}
<div class="{{ namespace }}accountInfo__content">
<p class="{{ namespace }}accountInfo__title{% if bold %} {{ namespace }}textSemiBold{% endif %}">
<span class="text-truncate">
{{ text }}
</span>
{% if whitelisted %}
<span class="{{ namespace }}accountInfo__whitelisted {{ namespace }}icon {{ namespace }}icon-badgevalid"></span>
{% endif %}
</p>
<p class="{{ namespace }}accountInfo__meta">{{ meta | safe }}</p>
{% if subMeta %}
<p class="{{ namespace }}accountInfo__meta">{{ subMeta | safe }}</p>
{% endif %}
{% if amount %}
{% render "@amount--large" %}
{% elseif badge %}
{% render "badge--fade-100" %}
{% endif %}
</div>
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}accountInfo {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
display: flex;
align-items: center;
@include spacer-component-inline("md");
min-width: 0; // for truncate to take effect in flex context
/* 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 */
//accountInfo__content
&__content {
@include spacer-component-stack("xs");
min-width: 0;
}
&__title {
display: flex;
align-items: baseline;
}
// accountInfo__meta
&__meta {
// follows same logic as parent
@include custom-prop-fallback("color","sys-color-text-primary-muted");
font-size: map-deep-get($design-tokens, "sys-font-size-helper-medium");
line-height: 1;
@include text-truncate();
//@supports (-webkit-line-clamp: 2) {
// white-space: normal;
// display: -webkit-box;
// -webkit-line-clamp: 2;
// -webkit-box-orient: vertical;
//}
}
&__whitelisted {
vertical-align: baseline;
margin-left: map-deep-get($token-spacer-inline-map, "xs");
&:before {
font-size: 1em;
@include custom-prop-fallback("color","sys-color-text-status-success-vivid");
}
}
/* modifiers */
// accountInfo -metaSmall
&.-metaSmall {
// follows same logic as base element
#{$self}__content {
@include spacer-component-stack("xxs");
}
#{$self}__meta {@extend %textHelperSmall;}
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}