Modal: Detail Demande Documents

When a modal is triggered, the modal-open class triggers
<div class="sds-modal modal fade" id="detailDemandeDocuments" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-dialog-centered">
        <div class="sds-modal__content modal-content">

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

                <div class="sds-modal__title modal-title">
                    {Document name request}
                </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-stackSm">

                    <div class="sds-imgUpload -box -small -uploadComplete">
                        <div class="sds-imgUpload__content">

                            <div class="sds-imgUpload__iconWrapper">
                                <span class="sds-iconCircle -secondary10 sds-imgUpload__icon" aria-hidden="true">

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

                                </span>

                                <div class="sds-imgUpload__progress">
                                    <div class="sds-circularProgress">
                                        <svg viewBox="0 0 36 36" class="">

                                            <path class="sds-circularProgress__shape" stroke-dasharray="50, 100" d="M18 2.0845
						  a 15.9155 15.9155 0 0 1 0 31.831
						  a 15.9155 15.9155 0 0 1 0 -31.831" />
                                        </svg>
                                    </div>
                                </div>
                            </div>
                            <div class="sds-stackXxs">
                                <div class="sds-imgUpload__title">

                                    {File Name}

                                </div>
                                <div class="sds-imgUpload__meta sds-textHelper">{file_name.format (Weight)}</div>
                            </div>
                        </div>

                        <a href="" class="sds-btn -iconBtn -btnSecondary">

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

                            <div class="sr-only">View document</div>

                        </a>

                    </div>

                    <div class="sds-imgUpload -box -small -uploadComplete">
                        <div class="sds-imgUpload__content">

                            <div class="sds-imgUpload__iconWrapper">
                                <span class="sds-iconCircle -secondary10 sds-imgUpload__icon" aria-hidden="true">

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

                                </span>

                                <div class="sds-imgUpload__progress">
                                    <div class="sds-circularProgress">
                                        <svg viewBox="0 0 36 36" class="">

                                            <path class="sds-circularProgress__shape" stroke-dasharray="50, 100" d="M18 2.0845
						  a 15.9155 15.9155 0 0 1 0 31.831
						  a 15.9155 15.9155 0 0 1 0 -31.831" />
                                        </svg>
                                    </div>
                                </div>
                            </div>
                            <div class="sds-stackXxs">
                                <div class="sds-imgUpload__title">

                                    {File Name}

                                </div>
                                <div class="sds-imgUpload__meta sds-textHelper">{file_name.format (Weight)}</div>
                            </div>
                        </div>

                        <a href="" class="sds-btn -iconBtn -btnSecondary">

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

                            <div class="sr-only">View document</div>

                        </a>

                    </div>

                    <div class="sds-imgUpload -box -small -uploadComplete">
                        <div class="sds-imgUpload__content">

                            <div class="sds-imgUpload__iconWrapper">
                                <span class="sds-iconCircle -secondary10 sds-imgUpload__icon" aria-hidden="true">

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

                                </span>

                                <div class="sds-imgUpload__progress">
                                    <div class="sds-circularProgress">
                                        <svg viewBox="0 0 36 36" class="">

                                            <path class="sds-circularProgress__shape" stroke-dasharray="50, 100" d="M18 2.0845
						  a 15.9155 15.9155 0 0 1 0 31.831
						  a 15.9155 15.9155 0 0 1 0 -31.831" />
                                        </svg>
                                    </div>
                                </div>
                            </div>
                            <div class="sds-stackXxs">
                                <div class="sds-imgUpload__title">

                                    {File Name}

                                </div>
                                <div class="sds-imgUpload__meta sds-textHelper">{file_name.format (Weight)}</div>
                            </div>
                        </div>

                        <a href="" class="sds-btn -iconBtn -btnSecondary">

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

                            <div class="sr-only">View document</div>

                        </a>

                    </div>

                </div>

            </div>

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

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

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

                </button>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	<div class="{{ namespace }}modal__title modal-title">
		{Document name request}
	</div>
{% endblock %}
{% block body %}
	<div class="{{ namespace }}stackSm">
		{% for i in range(0,3) %}
		{% render "@snet-img-upload--box-small-complete",{
			onlyView: true,
			uploadedItem: true,
			title: "{File Name}",
			text: "{file_name.format (Weight)}"
		},true %}
		{% endfor %}
	</div>
{% endblock %}
{% block footer %}
	{% render "@btn-primary",{
		text: "Fermer"
	},true %}
{% 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__stickyBodyHeader
    	&__stickyBodyHeader {
    
    		// follows same logic as parent
    
    		top: -($modal-inner-padding-mobile);
    		z-index: z("low");
    		background-color: map-deep-get($token-color-grayscale-map, "0");
    		padding-top: map-deep-get($token-spacer-inset-map, "md");
    		padding-bottom: map-deep-get($token-spacer-inset-map, "md");
    		margin-top: -(map-deep-get($token-spacer-inset-map, "md"));
    
    		@include media-breakpoint-up(sm) {
    			top: -24px;
    		}
    
    		&.-inContentFlow {}
    
    	}
    
    	// modal__stickyBodyHeaderSearch
    	&__stickyBodyHeaderSearch {
    		margin-top: -(map-deep-get($token-spacer-stack-max-map, "md"));
    	}
    
    
    		/* modifiers */
    
    	// modal -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/cpb-modal/_modal.scss
  • Filesystem Path: components/corporate-bridge/organisms/modal/_modal.scss
  • Size: 1.5 KB