Modal: Stepper Calendar

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 sélectionner la période de votre congé</p>
                        <div class="sds-amountCard -info">
                            <div class="sds-stackXxs">
                                <p class="sds-amountCard__meta sds-textHelper">Solde restant</p>
                                <div class="sds-amount -amountXl -secondary100">
                                    <span class="sds-amount__value">16</span>

                                    <span class="sds-amount__currency">jours</span>

                                    <span class="sds-amount__frequency">
                                        +04h51m
                                    </span>

                                </div>
                            </div>
                        </div>
                        <div class="row row-sm">
                            <div class="col-12">
                                <div class="form-group">
                                    <label for="" class="sds-label -form">
                                        Date de début

                                    </label>
                                    <div class="sds-input -hasIcon -calendar js-flatpickrInline">
                                        <input id="inputCalendarInline" class="sds-input form-control" type="text" placeholder="11.04.2023" value="">

                                        <div class="sds-input__iconRight">

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

                                        </div>

                                    </div>
                                </div>
                            </div>
                            <div class="col-12 col-md-6">
                                <div class="form-group">
                                    <label for="" class="sds-label -form">
                                        Heure de début

                                    </label>
                                    <div class="sds-input">
                                        <input id="" class="sds-input form-control js-timepickr" type="text" placeholder="Choisir heure" value="">

                                        <div class="sds-input__hint"></div>

                                    </div>
                                </div>
                            </div>
                            <div class="col-12 col-md-6">
                                <div class="form-group">
                                    <label for="" class="sds-label -form">
                                        Durée

                                    </label>
                                    <div class="sds-input">
                                        <input id="" class="sds-input form-control js-timepickr" type="text" placeholder="Insérer durée" value="">

                                    </div>
                                </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">Valider</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 sélectionner la période de votre congé</p>
			{% render "@snet-amount-card--timesheet", {
				amount: "16",
				currency: "jours",
				frequency: "+04h51m"
			}, true %}
			<div class="row row-sm">
				<div class="col-12">
					<div class="form-group">
						{% render "@label--form",{text: "Date de début"},true %}
						{% render "@msp-input--calendar-inline" %}
					</div>
				</div>
				<div class="col-12 col-md-6">
					<div class="form-group">
						{% render "@label--form",{text: "Heure de début"}, true %}
						{% render "@input--hint", {
							classes: ["js-timepickr"],
							placeholder: "Choisir heure",
							hint: "Votre plage horaire est comprise entre 7:00 et 19:00"
						}, true %}
					</div>
				</div>
				<div class="col-12 col-md-6">
					<div class="form-group">
						{% render "@label--form",{text: "Durée"}, true %}
						{% render "@input", {
							classes: ["js-timepickr"],
							placeholder: "Insérer durée"
						}, true %}
					</div>
				</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: "Valider",
			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