Modal: Radio Group Input

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">Demande de congé</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 indiquer le responsable et le motif de votre demande</p>
                        <div class="sds-stackXl">
                            <fieldset>
                                <div class="sds-stackMd">
                                    <legend>
                                        <div class="sds-label">
                                            Veuillez sélectionner un responsable

                                        </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">
                                                Jil Schmit
                                            </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">
                                                Pol Schmit
                                            </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">
                                                Fabrice Schmit
                                            </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">
                                                Marine Schmit
                                            </label>

                                        </div>
                                    </div>
                                </div>
                            </fieldset>
                            <div class="form-group">
                                <label for="" class="sds-label -form -optional">
                                    Commentaire (Facultatif)

                                    <span class="sds-label__helper"><span>0</span>/100</span>

                                </label>
                                <div class="sds-textarea">
                                    <textarea class="form-control" id="" rows="1" placeholder="Veuillez saisir votre commentaire"></textarea>

                                </div>

                            </div>
                        </div>
                    </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">Demande de congé</div>
	<div class="{{ namespace }}modal__headerStepper">
		{% render "@msp-stepper" %}
	</div>
{% endblock %}
{% block body %}
	<div class="{{ namespace }}box -insetLg">
		<div class="{{ namespace }}stackLg">
			<p>Veuillez indiquer le responsable et le motif de votre demande</p>
			<div class="{{ namespace }}stackXl">
				<fieldset>
					<div class="{{ namespace }}stackMd">
						<legend>{% render "@label--div",{text: "Veuillez sélectionner un responsable"},true %}</legend>
						<div class="{{ namespace }}stackMd">
							{% render "@radio",{text: "Jil Schmit", id: "radio1"},true %}
							{% render "@radio",{text: "Pol Schmit", id: "radio2"},true %}
							{% render "@radio",{text: "Fabrice Schmit", id: "radio3"},true %}
							{% render "@radio",{text: "Marine Schmit", id: "radio4"},true %}
						</div>
					</div>
				</fieldset>
				<div class="form-group">
					{% render "@label--optional",{
						text: "Commentaire (Facultatif)",
						textOptional: "<span>0</span>/100"
					},true %}
					{% render "@textarea",{
						placeholder: "Veuillez saisir votre commentaire"
					},true %}
				</div>
			</div>
		</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