No notes defined.
<div class="sds-actionCard -action">
<div class="sds-actionCard__inner">
<span class="sds-iconCircle -info100" aria-hidden="true">
<span class="sds-icon sds-icon-pin"></span>
</span>
<div class="sds-actionCard__text sds-stackXxs">
<div class="sds-actionCard__title sds-textBodyLg">Bascharage</div>
<p>Avenue de Luxembourg, 135<br>4940, Bascharage</p>
</div>
</div>
<button type="button" class="sds-btn -iconBtn -btnSecondary sds-actionCard__action">
<span class="sds-icon sds-icon-edit"></span>
</button>
</div>
<div class="{{ namespace }}actionCard{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}actionCard__inner">
{% if iconCircle %}
{% render '@icon-circle-regular--info-100', { icon : icon }, true %}
{% else %}
{% render '@avatar--image' + size, { img : "/snet/avatars/nopic/avatarNoPicMan.svg"}, true %}
{% endif %}
<div class="{{ namespace }}actionCard__text {{ namespace }}stackXxs">
<div class="{{ namespace }}actionCard__title {{ namespace }}textBodyLg">{{ title }}</div>
{% if description %}
<p>{{ description | safe }}</p>
{% endif %}
</div>
</div>
{% if action %}
{% render '@icon-btn-secondary', {
icon : "icon-edit",
classes: [namespace + "actionCard__action"]
}, true %}
{% endif %}
</div>
.#{$namespace}actionCard {
/* 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 */
display: flex;
align-items: flex-start;
justify-content: space-between;
/* 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 */
// actionCard__inner
&__inner {
display: flex;
align-items: center;
@include spacer-component-inline("md");
}
&__title {
font-weight: map-deep-get($token-font-weight-map, "semi-bold");
}
// actionCard__action
&__action {
margin-left: map-deep-get($token-spacer-stack-max-map, "md");
}
/* modifiers */
// actionCard -action
&.-action {
#{$self}__inner {
align-items: flex-start;
@include spacer-component-inline("lg");
}
#{$self}__action {
margin-left: map-deep-get($token-spacer-stack-max-map, "lg");
}
}
&.-top {
#{$self}__inner {
align-items: flex-start;
}
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}