Action Card

No notes defined.

<!-- Default -->
<div class="sds-actionCard">
    <div class="sds-actionCard__inner">

        <div class="sds-avatar centeredBgi -avatarXl">

            <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicMan.svg" alt="">

        </div>

        <div class="sds-actionCard__text sds-stackXxs">
            <div class="sds-actionCard__title sds-textBodyLg">Conseiller Prêt Immobilier</div>

        </div>
    </div>

</div>

<!-- Small -->
<div class="sds-actionCard">
    <div class="sds-actionCard__inner">

        <div class="sds-avatar centeredBgi">

            <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicMan.svg" alt="">

        </div>

        <div class="sds-actionCard__text sds-stackXxs">
            <div class="sds-actionCard__title sds-textBodyLg">Conseiller Prêt Immobilier</div>

        </div>
    </div>

</div>

<!-- Small Description -->
<div class="sds-actionCard -top">
    <div class="sds-actionCard__inner">

        <div class="sds-avatar centeredBgi">

            <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicMan.svg" alt="">

        </div>

        <div class="sds-actionCard__text sds-stackXxs">
            <div class="sds-actionCard__title sds-textBodyLg">Conseiller Prêt Immobilier</div>

            <p>Conseiller</p>

        </div>
    </div>

</div>

<!-- Description -->
<div class="sds-actionCard">
    <div class="sds-actionCard__inner">

        <div class="sds-avatar centeredBgi -avatarXl">

            <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicMan.svg" alt="">

        </div>

        <div class="sds-actionCard__text sds-stackXxs">
            <div class="sds-actionCard__title sds-textBodyLg">Conseiller Prêt Immobilier</div>

            <p>Conseiller</p>

        </div>
    </div>

</div>

<!-- Action -->
<div class="sds-actionCard">
    <div class="sds-actionCard__inner">

        <div class="sds-avatar centeredBgi -avatarXl">

            <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicMan.svg" alt="">

        </div>

        <div class="sds-actionCard__text sds-stackXxs">
            <div class="sds-actionCard__title sds-textBodyLg">Conseiller Prêt Immobilier</div>

        </div>
    </div>

    <button type="button" class="sds-btn -iconBtn -btnSecondary sds-actionCard__action">

        <span class="sds-icon sds-icon-edit"></span>

    </button>

</div>

<!-- Description Action -->
<div class="sds-actionCard">
    <div class="sds-actionCard__inner">

        <div class="sds-avatar centeredBgi -avatarXl">

            <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicMan.svg" alt="">

        </div>

        <div class="sds-actionCard__text sds-stackXxs">
            <div class="sds-actionCard__title sds-textBodyLg">Conseiller Prêt Immobilier</div>

            <p>Avenue de Luxembourg 135 - 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>

<!-- Icon Circle -->
<div class="sds-actionCard -top">
    <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>

</div>

<!-- Icon Circle Action -->
<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>
  • Content:
    .#{$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 {
    	}
    
    }
  • URL: /components/raw/snet-action-card/_action-card.scss
  • Filesystem Path: components/snet/molecules/action-card/_action-card.scss
  • Size: 1.5 KB