Modal: Radio Groups

No notes defined.

<div class="sds-modal modal fade -hasHeaderStepper -bodySecondary06" id="calendarModal" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-dialog-scrollable modal-dialog-centered modal-lg">
        <div class="sds-modal__content modal-content">

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

                <div class="modal-title">Réservation de parking</div>
                <div class="sds-modal__headerStepper">
                    <nav class="sds-mobileStepper -secondary">
                        <ul class="sds-mobileStepper__inner list-unstyled">

                            <li class="sds-mobileStepper__item">
                                <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                                    <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>

                                </div>
                            </li>

                            <li class="sds-mobileStepper__item">
                                <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                                    <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 70%" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" aria-current="true"></div>

                                </div>
                            </li>

                            <li class="sds-mobileStepper__item">
                                <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                                    <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

                                </div>
                            </li>

                            <li class="sds-mobileStepper__item">
                                <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                                    <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

                                </div>
                            </li>

                        </ul>
                    </nav>
                </div>

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

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

                </button>

            </div>

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

                <div class="sds-box -insetLg">
                    <div class="sds-stackLg">
                        <p>Veuillez sélectionner la place de parking</p>
                        <fieldset class="sds-stackXl">
                            <div class="sds-stackMd">
                                <legend>
                                    <div class="sds-label">
                                        Choix du parking

                                    </div>
                                </legend>
                                <div class="sds-stackMd">
                                    <div class="sds-radio custom-control custom-radio">
                                        <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio-group-1"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                        <label class="custom-control-label" for="radio-group-1">
                                            Rousegaertchen
                                        </label>

                                    </div>
                                    <div class="sds-radio custom-control custom-radio">
                                        <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio-group-2"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                        <label class="custom-control-label" for="radio-group-2">
                                            Heine
                                        </label>

                                    </div>
                                </div>
                            </div>
                            <div class="sds-stackMd">
                                <legend>
                                    <div class="sds-label">
                                        Choix de la place

                                    </div>
                                </legend>
                                <div class="sds-stackMd">
                                    <div class="sds-radio custom-control custom-radio">
                                        <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio1"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                        <label class="custom-control-label" for="radio1">
                                            L-1500
                                        </label>

                                    </div>
                                    <div class="sds-radio custom-control custom-radio">
                                        <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio2"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                        <label class="custom-control-label" for="radio2">
                                            L-2700
                                        </label>

                                    </div>
                                    <div class="sds-radio custom-control custom-radio">
                                        <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio3"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                        <label class="custom-control-label" for="radio3">
                                            L-2800
                                        </label>

                                    </div>
                                    <div class="sds-radio custom-control custom-radio">
                                        <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio4"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                        <label class="custom-control-label" for="radio4">
                                            L-3200
                                        </label>

                                    </div>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

            </div>

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

                <div class="sds-btnGroup">
                    <button type="button" class="sds-btn -btnSecondary -btnInverse" data-dismiss="modal">

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

                    </button>
                    <button type="button" class="sds-btn -btnPrimary" data-dismiss="modal" disabled="true">

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

                    </button>
                </div>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	<div class="modal-title">Réservation de parking</div>
	<div class="{{ namespace }}modal__headerStepper">
		{% render "@msp-stepper" %}
	</div>
{% endblock %}
{% block body %}
	<div class="{{ namespace }}box -insetLg">
		<div class="{{ namespace }}stackLg">
			<p>Veuillez sélectionner la place de parking</p>
			<fieldset class="{{ namespace }}stackXl">
				<div class="{{ namespace }}stackMd">
					<legend>{% render "@label--div",{text: "Choix du parking"},true %}</legend>
					<div class="{{ namespace }}stackMd">
						{% render "@radio",{
							text: "Rousegaertchen",
							id: "radio-group-1"
						},true %}
						{% render "@radio",{
							text: "Heine",
							id: "radio-group-2"
						},true %}
					</div>
				</div>
				<div class="{{ namespace }}stackMd">
					<legend>{% render "@label--div",{text: "Choix de la place"},true %}</legend>
					<div class="{{ namespace }}stackMd">
						{% render "@radio",{text: "L-1500", id: "radio1"} ,true %}
						{% render "@radio",{text: "L-2700", id: "radio2"} ,true %}
						{% render "@radio",{text: "L-2800", id: "radio3"} ,true %}
						{% render "@radio",{text: "L-3200", id: "radio4"} ,true %}
					</div>
				</div>
			</fieldset>
		</div>
	</div>
{% endblock %}
{% block footer %}
	<div class="{{ namespace }}btnGroup">
		{% render "@btn-secondary-inverse", {
			text: "Annuler",
			attrs: {
				"data-dismiss": "modal"
			}
		} ,true %}
		{% render "@btn-primary",{
			text: "Suivant",
			attrs: {
				"data-dismiss": "modal",
				"disabled": true
			}
		},true %}
	</div>
{% 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