Modal: Stepper Info Table

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 vérifier et valider les informations renseignées</p>

                        <table class="sds-infoTable table">
                            <tbody>

                                <tr>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div class="sds-label">
                                                Date de début

                                            </div>

                                        </div>
                                    </td>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div>
                                                15.10.2021
                                            </div>

                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div class="sds-label">
                                                Heure de début

                                            </div>

                                        </div>
                                    </td>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div>
                                                08h00
                                            </div>

                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div class="sds-label">
                                                Responsable

                                            </div>

                                        </div>
                                    </td>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div>
                                                Jil Schmit
                                            </div>

                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div class="sds-label">
                                                Ancien solde

                                            </div>

                                        </div>
                                    </td>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div>
                                                96 heures
                                            </div>

                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div class="sds-label">
                                                Nombre d'heures demandées

                                            </div>

                                        </div>
                                    </td>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div>
                                                4 heures
                                            </div>

                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div class="sds-label">
                                                Nouveau solde

                                            </div>

                                        </div>
                                    </td>
                                    <td class="">
                                        <div class="sds-infoTable__cellContent">

                                            <div>
                                                <span class='sds-textBold'>92 heures</span>
                                            </div>

                                        </div>
                                    </td>
                                </tr>

                            </tbody>
                        </table>

                    </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">

                        <span class="sds-btn__text">Envoyer</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 vérifier et valider les informations renseignées</p>
			{% render "@snet-info-table",infoTableOptions,true %}
		</div>
	</div>
{% endblock %}
{% block footer %}
	<div class="{{ namespace }}btnGroup">
		{% render "@btn-secondary-inverse", {
			text: "Annuler",
			attrs: {
				"data-dismiss": "modal"
			}
		} ,true %}
		{% render "@btn-primary",{
			text: "Envoyer",
			attrs: {
				"data-dismiss": "modal"
			}
		},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