Contact Block

No notes defined.

<!-- Default -->
<div class="sds-contactBlock">
    <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>
</div>

<!-- Recap -->
<div class="sds-contactBlock -recap">
    <div class="sds-contactBlock__heading">
        <div class="h3">Récapitulatif</div>
    </div>
    <div class="sds-contactBlock__body">
        <div class="row row-sm align-items-stretch-immediate">
            <div class="col-md-6 col-lg-4">
                <div class="sds-actionCard -top sds-contactBlock__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>

                            <p>Conseiller</p>

                        </div>
                    </div>

                </div>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="sds-actionCard -top sds-contactBlock__actionCard">
                    <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>
            </div>
            <div class="col-md-6 col-lg-4">
                <div class="sds-actionCard -top sds-contactBlock__actionCard">
                    <div class="sds-actionCard__inner">

                        <span class="sds-iconCircle -info100" aria-hidden="true">

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

                        </span>

                        <div class="sds-actionCard__text sds-stackXxs">
                            <div class="sds-actionCard__title sds-textBodyLg">Le 29 mars 2022</div>

                            <p>À 10h30</p>

                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="sds-contactBlock__footer">
        <div class="sds-textHelper">
            Vous recevrez un SMS de rappel 24 heures avant votre rendez-vous au +352 621 123 456.
            <br>
            <a href="#!" class="sds-contactBlock__footerLink">Le numéro de téléphone n’est pas correct ?</a>
        </div>
    </div>
</div>

<!-- Action Card -->
<div class="sds-contactBlock">
    <div class="row row-sm align-items-center">
        <div class="col-md-6">
            <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>
        </div>
        <div class="col-md-6">
            <div class="sds-actionCard -action sds-sectionForm__actionCard">
                <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>
    </div>
</div>

<!-- Default -->
<div class="{{ namespace }}contactBlock{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	{% render '@snet-action-card--description' %}
</div>

<!-- Recap -->
<div class="{{ namespace }}contactBlock{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}contactBlock__heading">
		<div class="h3">Récapitulatif</div>
	</div>
	<div class="{{ namespace }}contactBlock__body">
		<div class="row row-sm align-items-stretch-immediate">
			<div class="col-md-6 col-lg-4">
				{% render '@snet-action-card--small-description',{
					classes: [namespace + "contactBlock__actionCard"]
				}, true %}
			</div>
			<div class="col-md-6 col-lg-4">
				{% render '@snet-action-card--icon-circle',{
					classes: [namespace + "contactBlock__actionCard"]
				}, true %}
			</div>
			<div class="col-md-6 col-lg-4">
				{% render '@snet-action-card--icon-circle',{
					icon: "icon-calendar",
					title: "Le 29 mars 2022",
					description: "À 10h30",
					classes: [namespace + "contactBlock__actionCard"]
				}, true %}
			</div>
		</div>
	</div>
	<div class="{{ namespace }}contactBlock__footer">
		<div class="{{ namespace }}textHelper">
			Vous recevrez un SMS de rappel 24 heures avant votre rendez-vous au +352 621 123 456.
			<br>
			<a href="#!" class="{{ namespace }}contactBlock__footerLink">Le numéro de téléphone n’est pas correct ?</a>
		</div>
	</div>
</div>

<!-- Action Card -->
<div class="{{ namespace }}contactBlock{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
    <div class="row row-sm align-items-center">
        <div class="col-md-6">
            {% render '@snet-action-card--description' %}
        </div>
        <div class="col-md-6">
            {% render '@snet-action-card--icon-circle-action',{
                classes: [ namespace + "sectionForm__actionCard"]
            }, true %}
        </div>
    </div>
</div>
  • Content:
    .#{$namespace}contactBlock {
    
    	/* 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 */
    	background-color: map-deep-get($token-color-brand-map, "secondary", "06");
    	@include spacer-component-inset("lg");
    	border-radius: map-deep-get($token-radius-map, "16");
    
    	/* 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 */
    
    	// contactBlock__childElement
    	&__heading {
    
    		// follows same logic as parent
    
    		padding-bottom: map-deep-get($token-spacer-inset-map, "lg");
    		margin-bottom: map-deep-get($token-spacer-inset-map, "lg");
    		border-bottom: $border-width solid $border-color;
    
    	}
    
    	&__body {
    
    		padding-top: map-deep-get($token-spacer-inset-map, "sm");
    		padding-bottom: map-deep-get($token-spacer-inset-map, "sm");
    
    	}
    
    	&__footer {
    
    		// follows same logic as parent
    
    		padding-top: map-deep-get($token-spacer-inset-map, "lg");
    		margin-top: map-deep-get($token-spacer-inset-map, "lg");
    		border-top: $border-width solid $border-color;
    		text-align: center;
    
    	}
    
    	&__footerLink {
    
    		color: map-deep-get($token-color-brand-map, "primary", "100");
    
    	}
    
    
    	/* modifiers */
    
    	// contactBlock -altStyle
    	&.-recap {
    
    		border-radius: 0;
    		border-top: $border-width solid $border-color;
    		background-color: map-deep-get($token-color-grayscale-map, "0");
    		padding: map-deep-get($token-spacer-inset-map, "lg") 0 0 0;
    
    		#{$self}__heading {
    
    			padding-bottom: 0;
    			border-bottom: none;
    
    		}
    
    		#{$self}__body {
    
    			padding: 0;
    
    		}
    
    		#{$self}__footer {
    
    			padding-top: 0;
    			border-top: none;
    
    		}
    
    		#{$self}__actionCard {
    
    			padding: map-deep-get($token-spacer-inset-map, "md");
    			border-radius: map-deep-get($token-radius-map, "16");
    			border: $border-width solid $border-color;
    
    		}
    
    	}
    
    	/* random parent element */
    	/*
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-contact-block/_contact-block.scss
  • Filesystem Path: components/snet/organisms/contact-block/_contact-block.scss
  • Size: 2.3 KB