Input Recap: Has Close

No notes defined.

<div class="sds-inputRecap">
    <div class="d-flex align-items-center justify-content-between">
        <div class="h4">Vente</div>
        <button type="button" class="sds-btn -iconBtn -btnSecondary -ghost">

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

        </button>
    </div>
    <div class="form-group">
        <label for="" class="sds-label -labelForm">
            Prix de vente

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

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

        </div>
    </div>
    <div class="form-group">
        <label for="" class="sds-label -labelForm">
            Prêt restant à rembourser

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

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

        </div>
    </div>
    <div class="form-group">
        <label for="" class="sds-label -labelForm">
            Passez-vous pas une agence?

        </label>
        <div class="sds-select">
            <select id="" class="sds-select form-control">

                <option value="opt-0">Option 1</option>

                <option value="opt-1">Option 2</option>

                <option value="opt-2">Option 3</option>

            </select>
            <span class="sds-select__arrow sds-icon sds-icon-chevrondown" aria-hidden="true"></span>

        </div>

    </div>
    <div class="form-group">
        <label for="" class="sds-label -labelForm">
            Somme que vous souahitez conserver

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

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

        </div>
    </div>
    <div class="form-group">
        <label for="" class="sds-label -labelForm -labelOptional">
            URL de l'annonce

            <span class="sds-label__helper">Optionnel</span>

        </label>
        <div class="sds-input">
            <input id="" class="sds-input form-control" type="text" placeholder="https://www.athome.lu/appartement" value="">

        </div>
    </div>
    <div class="form-group">
        <label for="" class="sds-label -labelForm">
            Montant issu de la vente à utiliser dans le nouveau projet immobilier

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

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

        </div>
    </div>
</div>
<div class="{{ namespace }}inputRecap{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="d-flex align-items-center justify-content-between">
		<div class="h4">Vente</div>
		{% render "@icon-btn-secondary--ghost",{
			icon: "icon-trash"
		},true %}
	</div>
	<div class="form-group">
		{% render "@label--form",{text: "Prix de vente"},true %}
		{% render "@input--shadow" %}
	</div>
	<div class="form-group">
		{% render "@label--form",{text: "Prêt restant à rembourser"},true %}
		{% render "@input--shadow" %}
	</div>
	<div class="form-group">
		{% render "@label--form",{text: "Passez-vous pas une agence?"},true %}
		{% render "@select" %}
	</div>
	<div class="form-group">
		{% render "@label--form",{text: "Somme que vous souahitez conserver"},true %}
		{% render "@input--shadow" %}
	</div>
	<div class="form-group">
		{% render "@label--optional",{
			text: "URL de l'annonce"},true %}
		{% render "@input",{
			placeholder: "https://www.athome.lu/appartement"
		},true %}
	</div>
	<div class="form-group">
		{% render "@label--form",{text: "Montant issu de la vente à utiliser dans le nouveau projet immobilier"},true %}
		{% render "@input--shadow",{readonly: true},true %}
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}inputRecap {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	@include custom-prop-fallback("background-color", "sys-color-elevation-surface-sunken");
    	@include spacer-component-inset("md");
    	border-radius: map-deep-get($token-radius-map, "16");
    
    	/* 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 */
    
    	// inputRecap__operation
    	&__operation {
    
    		// follows same logic as parent
    
    		height: $input-height;
    		display: flex;
    		align-items: center;
    		justify-content: flex-end;
    		position: relative;
    		left: map-deep-get($token-spacer-inline-map, "lg");
    
    	}
    
    	&__total {
    
    		margin-top: map-deep-get($token-spacer-stack-max-map, "md");
    		padding-top: map-deep-get($token-spacer-stack-max-map, "md");
    		border-top: $border-width*2 solid;
    		@include custom-prop-fallback("border-color", "sys-color-border-primary-moderate");
    		display: flex;
    		justify-content: space-between;
    		align-items: baseline;
    
    	}
    
    
    	/* modifiers */
    
    	// inputRecap -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/snet-input-recap/_input-recap.scss
  • Filesystem Path: components/snet/organisms/input-recap/_input-recap.scss
  • Size: 1.6 KB