Modal: Chat Consent

No notes defined.

<div class="sds-modal modal fade" id="chatConsentModal" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-dialog-scrollable modal-dialog-centered modal-sm">
        <div class="sds-modal__content modal-content">

            <div class="sds-modal__header modal-header">

                <div class="modal-title">Consentement</div>

                <button type="button" class="sds-btn -iconBtn -btnSecondary -ghost sds-modal__close" data-dismiss="modal" aria-label="Close">

                    <span aria-hidden="true" class="sds-icon sds-icon-close"></span>

                </button>

            </div>

            <div class="sds-modal__body modal-body">

                <div class="sds-staticStackMd">
                    <div class="d-flex justify-content-center">

                        <div class="sds-media -mediaXl">

                            <img src="https://design.spuerkeess.lu/media/illustrations/svg240x240/spot/sdsillu-magichatpapersb.svg" alt="">

                        </div>
                    </div>
                    <div class="sds-outOfBounds">
                        <div class="sds-listItem">
                            <div class="sds-listItem__leading">
                                <div class="sds-staticStackXxs">
                                    <div class="h4">
                                        <label for="modalConsentSwitch" class="stretched-link">
                                            Assistant AI
                                        </label>
                                    </div>
                                    <p class="sds-metaColor sds-textHelper">
                                        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
                                    </p>
                                </div>
                            </div>
                            <div class="sds-listItem__trailing">
                                <div class="sds-switch -small">
                                    <input type="checkbox" class="sds-switch__input custom-control-input" id="modalConsentSwitch">

                                    <span class="sds-switch__shape custom-control custom-switch">

                                    </span>
                                </div>

                            </div>
                        </div>
                    </div>
                    <a href="" class="sds-document sds-box -boxInsetMd -boxSunken -documentSunken">
                        <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
                        <div class="sds-document__actionZone">
                            <span class="sds-btn -iconBtn -btnSecondary">

                                <span aria-hidden="true" class="sds-icon sds-icon-download"></span>

                            </span>
                        </div>
                    </a>
                </div>

            </div>

            <div class="sds-modal__footer modal-footer">

                <ul class="sds-btnGroup -btnGroup">
                    <li>
                        <button type="button" class="sds-btn -btnSecondary" data-dismiss="modal">

                            <span class="sds-btn__text">Annuler</span>

                        </button>
                    </li>
                    <li>
                        <button type="button" class="sds-btn -btnPrimary">

                            <span class="sds-btn__text">Valider</span>

                        </button>
                    </li>
                </ul>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	<div class="modal-title">Consentement</div>
{% endblock %}
{% block body %}
	<div class="{{ namespace }}staticStackMd">
		<div class="d-flex justify-content-center">
			{% render "@media--xl",{
				internalResource: false,
				img: "https://design.spuerkeess.lu/media/illustrations/svg240x240/spot/sdsillu-magichatpapersb.svg"
			}, true %}
		</div>
		<div class="{{ namespace }}outOfBounds">
			<div class="{{ namespace }}listItem">
				<div class="{{ namespace }}listItem__leading">
					<div class="{{ namespace }}staticStackXxs">
						<div class="h4">
							<label for="modalConsentSwitch" class="stretched-link">
								Assistant AI
							</label>
						</div>
						<p class="{{ namespace }}metaColor {{ namespace }}textHelper">
							Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
						</p>
					</div>
				</div>
				<div class="{{ namespace }}listItem__trailing">
					{% render "@switch--small",{
						eltType: "div",
						id: "modalConsentSwitch"
					},true %}
				</div>
			</div>
		</div>
		{% render "@document-list-item--sunken" %}
	</div>
{% endblock %}
{% block footer %}

	<ul class="{{ namespace }}btnGroup -btnGroup">
		<li>
			{% render "@btn-secondary", {
				text: "Annuler",
				attrs: {
					"data-dismiss": "modal"
				}
			} ,true %}
		</li>
		<li>
			{% render "@btn-primary", {
				text: "Valider"
			} ,true %}
		</li>
	</ul>

{% endblock %}
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}modal {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    
    	/* 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 */
    
    	// modal__headerStepper
    	&__headerStepper {
    
    		// follows same logic as parent
    
    		order: 1000;
    		flex: 1 0 100%;
    		margin: 0 (-(map-deep-get($token-spacer-inline-map, "md"))) (-(map-deep-get($token-spacer-inline-map, "md")));
    
    	}
    
    
    	/* modifiers */
    
    	// modal -hasHeaderStepper
    	&.-hasHeaderStepper {
    
    		// follows same logic as base element
    
    		#{$self}__header {
    
    			flex-wrap: wrap;
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/msp-modal/_modal.scss
  • Filesystem Path: components/my-spuerkeess/organisms/modal/_modal.scss
  • Size: 1.1 KB