Loan Embed: Range

No notes defined.

<div class="sds-embed sds-loanEmbed sds-box sds-stackXl">
    <div class="sds-loanEmbed__header">
        <div class="row row-sm no-bottom-gutter align-items-center">
            <div class="col">
                <img class="sds-embed__logo img-fluid" src="../../media/logos/logo-bcee-secondary.svg" alt="Spuerkeess.lu Logo">
            </div>
            <div class="col-6 col-md-8">
                <nav class="sds-mobileStepper -secondary sds-embed__headerStepper">
                    <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: 80%" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" aria-current="true"></div>

                            </div>
                        </li>

                    </ul>
                </nav>
            </div>
        </div>
    </div>
    <div class="sds-stackLg">
        <div class="h3"><span>Quel est le nombre de personnes à charge&nbsp;?</span><button type="button" class="sds-infoDot" data-trigger="focus" data-container="body" data-placement="right" data-toggle="popover" title="Popover title" data-content="Le détail de la / des transactions (bénéficiaire et communication) sera masqué dans les mouvements des transactions (sur S-Net Pro et dans les extraits de compte)">
                <span class="sds-icon sds-icon-infocirclefill"></span>
                <span class="sr-only">Show more info</span>
            </button></div>
        <label for="loanEmbed-numberOfPeople" class="sds-label sr-only">
            Nombre de personnes à charge

        </label>
        <div class="sds-range -hasIndicator -alignToInput">
            <div class="sds-range__body">
                <input type="range" class="custom-range" id="loanEmbed-numberOfPeople" value="3" min="0" max="10">

                <div class="sds-range__indicator">
                    <span>3</span>
                </div>

            </div>

        </div>
    </div>
    <div class="sds-loanEmbed__footer">
        <div class="sds-btnGroup">
            <button type="button" class="sds-btn -btnSecondary -btnInverse">

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

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

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

            </button>
        </div>
    </div>
</div>
<div class="{{ namespace }}embed {{ namespace }}loanEmbed {{ namespace }}box {{ namespace }}stackXl{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}loanEmbed__header">
		<div class="row row-sm no-bottom-gutter align-items-center">
			<div class="col">
				<img class="{{ namespace }}embed__logo img-fluid" src="{{ (mediaPath + "/logos/logo-bcee-secondary.svg") | path }}"
					 alt="Spuerkeess.lu Logo">
			</div>
			<div class="col-6 col-md-8">
				{% render '@msp-stepper',{
					steps: steps,
					classes: [namespace + "embed__headerStepper"]
				}, true %}
			</div>
		</div>
	</div>
	<div class="{{ namespace }}stackLg">
		<div class="h3"><span>{{ title | safe }}</span>{% render '@info-dot--right' %}</div>
		{% render "@label--form",{
			text: "Nombre de personnes à charge",
			modifiers: ["sr-only"],
			labelFor: "loanEmbed-numberOfPeople"
		},true %}
		{% render '@range--has-indicator',{
			classes: ["-alignToInput"],
			footer: false,
			minValue: "0",
			maxValue: "10",
			currentValue: "3",
			id: "loanEmbed-numberOfPeople"
		}, true %}
	</div>
	<div class="{{ namespace }}loanEmbed__footer">
		<div class="{{ namespace }}btnGroup">
			{% render '@btn-secondary-inverse',{
				text: "Retour"
			}, true %}
			{% render '@btn-primary',{
				text: "Continuer"
			}, true %}
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $spot-image-dimension-mobile: 96px;
    $spot-image-dimension-desktop: 160px;
    
    .#{$namespace}loanEmbed {
    
        /* 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 */
    
        // loanEmbed__item
        &__img {
    
            width: $spot-image-dimension-mobile;
            height: $spot-image-dimension-mobile;
    
            @include media-breakpoint-up(lg){
    
                width: $spot-image-dimension-desktop;
                height: $spot-image-dimension-desktop;
    
            }
    
        }
    
        &__headerSpot {
    
            @include spacer-component-stack("md");
    
            @include media-breakpoint-up(md){
    
                display: flex;
                align-items: center;
                @include spacer-component-inline("xl");
    
                > * + * {
    
                    margin-top: 0;
    
                }
    
            }
    
        }
    
        &__footer {
    
            display: flex;
            justify-content: flex-end;
    
        }
    
        &__collapseInner {
    
    		padding-bottom: map-deep-get($token-spacer-inset-map, "md");
    
            @include media-breakpoint-up(lg) {
    
    			padding-bottom: map-deep-get($token-spacer-inset-map, "lg");
    
    		}
    
        }
    	
    	&__recapIcon {
    
    		width: map-deep-get($token-sizes-unit-map, "40");
    
    		@include media-breakpoint-up(md) {
    
    			width: map-deep-get($token-sizes-unit-map, "48");
    
    		}
    
    	}
    
    	&__recapListItem {
    
    		@include spacer-component-inline("md");
    		display: flex;
    		align-items: center;
    
    	}
    
    
        /* modifiers */
    
        // loanEmbed -recap
        &.-recap {
    
            #{$self}__footer {
    
                display: block;
                @include spacer-component-stack("lg");
                text-align: center;
    
            }
    
        }
    
        /* random parent element */
        /*
        *
        *   Syntax : .randomParentElt & {}
        *
        */
    
        /* Pseudo Classes */
    
        &:hover {
            @media (hover: hover) {
    
            }
        }
    
        &:focus {
        }
    
        &:active {
        }
    
        &:focus,
        &:active {
        }
    
    }
  • URL: /components/raw/spk-loan-embed/_loan-embed.scss
  • Filesystem Path: components/spuerkeess-site/organisms/embeds/loan-embed/_loan-embed.scss
  • Size: 2.3 KB