Loan Embed: Spot

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: 40%" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" aria-current="true"></div>

                            </div>
                        </li>

                    </ul>
                </nav>
            </div>
        </div>
    </div>
    <div class="sds-stackLg">
        <div class="h3">Voulez-vous emprunter seul(e) ou à deux&nbsp;?</div>
        <div class="row row-xs">
            <div class="col-md-6">
                <div class="sds-spotSelect sds-showCustomIndicatorHover  -centered">
                    <input type="radio" id="spotSelectContentCentered" class="sds-spotSelect__radioInput sr-only" value="" name="radio-name">
                    <div data-scope-wrapper="box" data-scope="flat" class="sds-spotSelect__body">
                        <div class="sds-spotSelect__content">

                            <span class="sds-radioDot  sds-spotSelect__checkItem" aria-hidden="true"></span>

                            <img src="../../media/illustrations/svg/spot/sdsillu-armchairb.svg" alt="">

                            <div class="sds-spotSelect__inner sds-stackMd">
                                <div class="sds-spotSelect__text">

                                    <p><label class="sds-spotSelect__checkItemLabel" for="spotSelectContentCentered">Seul(e)</label></p>

                                </div>
                            </div>

                        </div>

                    </div>

                </div>
            </div>
            <div class="col-md-6">
                <div class="sds-spotSelect sds-showCustomIndicatorHover  -centered">
                    <input type="radio" id="spotSelectContentCentered2" class="sds-spotSelect__radioInput sr-only" value="" name="radio-name">
                    <div data-scope-wrapper="box" data-scope="flat" class="sds-spotSelect__body">
                        <div class="sds-spotSelect__content">

                            <span class="sds-radioDot  sds-spotSelect__checkItem" aria-hidden="true"></span>

                            <img src="../../media/illustrations/svg/spot/sdsillu-sofab.svg" alt="">

                            <div class="sds-spotSelect__inner sds-stackMd">
                                <div class="sds-spotSelect__text">

                                    <p><label class="sds-spotSelect__checkItemLabel" for="spotSelectContentCentered2">À deux</label></p>

                                </div>
                            </div>

                        </div>

                    </div>

                </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">{{ title | safe }}</div>
		<div class="row row-xs">
			<div class="col-md-6">
				{% render '@spot-select--centered',{
					img: "/illustrations/svg/spot/sdsillu-armchairb.svg",
					text: "Seul(e)"
				}, true %}
			</div>
			<div class="col-md-6">
				{% render '@spot-select--centered',{
					img: "/illustrations/svg/spot/sdsillu-sofab.svg",
					text: "À deux",
					spotSelectID: "spotSelectContentCentered2"
				}, true %}
			</div>
		</div>
	</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