Loan Embed: Input

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: 60%" aria-valuenow="60" 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>Quels sont vos revenus net mensuels&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-monthlyRevenue" class="sds-label sr-only">
            Revenus nets mensuels

        </label>
        <div class="sds-input -hasShadow -input2xl">
            <input id="loanEmbed-monthlyRevenue" class="sds-input form-control" type="number" placeholder="0" value="">

            <div class="sds-input__shadowInput form-control" aria-hidden="true">
                <div class="sds-input__shadowValue">

                </div>
                <div class="sds-input__shadowCurrency"></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: "Revenus nets mensuels",
			modifiers: ["sr-only"],
			labelFor: "loanEmbed-monthlyRevenue"
		},true %}
		{% render '@input--shadow-2xl',{
			id: "loanEmbed-monthlyRevenue"
		},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