Table Recap

No notes defined.

<div class="sds-tableRecap">
    <div class="sds-stackMd">
        <div class="sds-tableRecap__header sds-stackXs">
            <div class="row row-xs align-items-center no-bottom-gutter">
                <div class="col">
                    <div class="h3">Mensulaités</div>
                </div>
                <div class="col-auto">
                    <div class="sds-amount -amountLg sds-tableRecap__amount">
                        <span class="sds-amount__value">335,30</span>

                        <span class="sds-amount__currency"></span>

                    </div>
                </div>
            </div>
            <div class="row row-xs align-items-start no-bottom-gutter">
                <div class="col">
                    <p class="sds-tableRecap__subtitle sds-textHelper">Mensualité indicative avec assurance en cas de décès</p>
                </div>
                <div class="col-auto">
                    <div class="sds-amount -amountSm">
                        <span class="sds-amount__value">2.780,00</span>

                        <span class="sds-amount__currency"></span>

                    </div>
                </div>
            </div>
        </div>
        <div class="sds-stackMd">

            <table class="sds-infoTable table">
                <tbody>

                    <tr>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div class="sds-label">
                                    Montant de la transaction

                                </div>

                            </div>
                        </td>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div class="sds-amount -negative">
                                    <span class="sds-amount__value">-165</span>

                                    <span class="sds-amount__currency"></span>

                                </div>

                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div class="sds-label">
                                    Date de la transaction

                                </div>

                            </div>
                        </td>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div>
                                    30.09.2021
                                </div>

                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div class="sds-label">
                                    Montant

                                </div>

                            </div>
                        </td>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div class="sds-amount -negative">
                                    <span class="sds-amount__value">-165</span>

                                    <span class="sds-amount__currency"></span>

                                </div>

                            </div>
                        </td>
                    </tr>

                    <tr>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div class="sds-label">
                                    Pays

                                </div>

                            </div>
                        </td>
                        <td class="">
                            <div class="sds-infoTable__cellContent">

                                <div>
                                    Luxembourg
                                </div>

                            </div>
                        </td>
                    </tr>

                </tbody>
            </table>

            <div class="sds-message sds-stackMd -light">
                <div class="sds-message__header">

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

                    <div class="sds-message__iconAlign">

                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque culpa cumque debitis dicta ducimus fugiat fugit maiores modi molestiae officiis provident quis, quos ratione sapiente sunt tempora temporibus unde veniam!</p>

                    </div>
                </div>

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

                <span class="sds-btn__text">Modifier votre mensualité</span>

            </button>
        </div>
    </div>
</div>
<div class="{{ namespace }}tableRecap{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}stackMd">
		<div class="{{ namespace }}tableRecap__header {{ namespace }}stackXs">
			<div class="row row-xs align-items-center no-bottom-gutter">
				<div class="col">
					<div class="h3">Mensulaités</div>
				</div>
				<div class="col-auto">
					{% render "@amount--large",{
						classes: [namespace+"tableRecap__amount"]
					},true %}
				</div>
			</div>
			<div class="row row-xs align-items-start no-bottom-gutter">
				<div class="col">
					<p class="{{ namespace }}tableRecap__subtitle {{ namespace }}textHelper">Mensualité indicative avec assurance en cas de décès</p>
				</div>
				<div class="col-auto">
					{% render "@amount--medium",{
						text: "2.780,00"
					},true %}
				</div>
			</div>
		</div>
		<div class="{{ namespace }}stackMd">
			{% render "@snet-info-table" %}
			{% render "@message--light" %}
			{% render "@btn-primary",{text: "Modifier votre mensualité"},true %}
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}tableRecap {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	@include spacer-component-inset("md");
    	border-radius: map-deep-get($token-radius-map, "16");
    	@include custom-prop-fallback("background-color","sys-color-elevation-surface-sunken");
    
    	/* 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 */
    
    	// tableRecap__childElement
    	&__amount {
    
    		// follows same logic as parent
    
    		font-weight: map-deep-get($token-font-weight-map, "bold");
    
    	}
    
    	&__subtitle {
    
    		@include custom-prop-fallback("color","sys-color-text-primary-vivid");
    		font-weight: map-deep-get($token-font-weight-map, "semi-bold");
    
    	}
    
    
    	/* modifiers */
    
    	// tableRecap -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-table-recap/_table-recap.scss
  • Filesystem Path: components/snet/organisms/table-recap/_table-recap.scss
  • Size: 1.3 KB