Info Table

Modifiers

The following classes can be set on individual TDs, in order to add specific styles:

  • -alignBottom: aligns content to bottom
  • -alignTop: aligns content to top
<!-- Default -->
<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>

<!-- Box -->
<div class="sds-infoTableBox">

    <table class="sds-infoTable table -box">
        <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>

<!-- Has Icon -->
<table class="sds-infoTable table -hasIcon">
    <tbody>

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

                    <span class="sds-icon sds-icon-alert -info100"></span>

                    <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>

<!-- Periodicite -->
<table class="sds-infoTable table">
    <tr>
        <td class="sds-infoTable__cellAlignTop">
            <div class="sds-infoTable__cellContent">
                <div class="sds-label">
                    Périodicité

                </div>
            </div>
        </td>
        <td class="sds-infoTable__cellAlignTop">
            <div class="sds-infoTable__cellContent">
                <div class="sds-stackXxs">
                    <div>Personnalisée</div>
                    <div class="sds-infoTable__helper sds-textHelperSmall">Tous les ans au mois de: Janvier, Février, Mars, Avril, Juin, Juillet, Août, Septembre, Octobre, Novembre, Décembre</div>
                </div>
            </div>
        </td>
    </tr>
</table>

<!-- Empty -->
<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">

                    <span class="sds-infoTable__empty">à saisir</span>

                </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">

                    <span class="sds-infoTable__empty">à saisir</span>

                </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">

                    <span class="sds-infoTable__empty">à saisir</span>

                </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">

                    <span class="sds-infoTable__empty">à saisir</span>

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

    </tbody>
</table>

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

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

                    <div class="sds-label">
                        Coût total

                    </div>

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

                    <div class="sds-amount">
                        <span class="sds-amount__value">1.000.056,00</span>

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

                    </div>

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

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

                    <div class="sds-label">
                        A emprunter

                    </div>

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

                    <div class="sds-amount">
                        <span class="sds-amount__value">734.000,00</span>

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

                    </div>

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

    </tbody>
</table>

<div id="info-table-collapse" class="sds-infoTableCollapse collapse fade ">
    <table class="sds-infoTable table">
        <tbody>

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

                        <div class="sds-label">
                            Montant du bien

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">1000.000,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Travaux

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">50.000,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Coûts imprévus et suppléments

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">0,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Droits d'enregistrement

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

                        <div class="sds-amount -positive">
                            <span class="sds-amount__value">70.000,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Droits du crédit d'impôt

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">70.000,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Frais de notaire

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">3.000,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Frais d’instruction (frais d’inscrpition hypotécaire)

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">500,00</span>

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

                        </div>

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

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

                        <div class="sds-label">
                            Frais de dossier (-25% avec le Pack Zebra Premium)

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

                        <div class="sds-amount">
                            <span class="sds-amount__value">500,00</span>

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

                        </div>

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

        </tbody>
    </table>
</div>

<button type="button" class="sds-btn -btnSecondary -btnSmall -collapseTrigger" data-toggle="collapse" data-target="#info-table-collapse">

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

    <span class="sds-btn__text">Afficher le détail</span>

</button>

<!-- Horizontal Table Inside -->
<div class="sds-box -insetLg -elevated">

    <div class="row col-separator flex-md-nowrap justify-content-between">

        <div class="col-12 col-md-12 flex-md-shrink-1">
            <div class="row align-items-center">
                <div class="col-12">
                    <div class="sds-stackLg">
                        <h4 class="h4">Récapitulatif</h4>
                        <div class="wysiwyg">
                            <p>
                                Avec S-Invest, un investissement d’une somme de <b>14.400 €</b> sur <b>8 ans</b> via un versement de <b>150 € par mois</b> vous aurait permis de construire un capital d’environ :
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-12 col-md-auto">

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

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

                                <div class="sds-label">
                                    Argent investi

                                </div>

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

                                <div class="sds-amount -amountLg -hasTotal">
                                    <span class="sds-amount__value">14.400,00 €</span>

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

                                </div>

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

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

                                <div class="sds-label">
                                    Plus-value

                                </div>

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

                                <div class="sds-amount -amountLg -hasTotal">
                                    <span class="sds-amount__value">2.123,17 €</span>

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

                                </div>

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

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

                                <div class="sds-label">
                                    Total du capital

                                </div>

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

                                <div class="sds-amount -amountXl -hasTotal">
                                    <span class="sds-amount__value">16.523,17 €</span>

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

                                </div>

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

                </tbody>
            </table>

        </div>

    </div>

</div>

<!-- Default -->
{% if table %}
	{% if wrapper %}
		<div class="{{ namespace }}infoTableBox">
	{% endif %}
	<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
		<tbody>
		{% for key, item in tableItems %}
			{% if item %}
				<tr>
					<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.icon %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
							{% endif %}
							{% render "@label",{
								eltType: "div",
								text: item.label
							},true %}
							{% if item.infoDot %}
								{% render '@info-dot--small' %}
							{% endif %}
						</div>
					</td>
					<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.iconRight %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
							{% endif %}
							{% if item.amountNeg %}
								{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
							{% elseif item.amountNegLarge %}
								{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
							{% elseif item.amountPos %}
								{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
							{% elseif item.amountPosLarge %}
								{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
							{% elseif item.amountDef %}
								{% render "@amount--default",{
									text: item.amountDef,
									classes: item.amountDefClasses,
									currency: item.currency
								},true %}
							{% elseif item.amountDefLarge %}
								{% render "@amount--large",{
									text: item.amountDefLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.amountDefXtraLarge %}
								{% render "@amount--xtra-large",{
									text: item.amountDefXtraLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.empty %}
								{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
							{% else %}
								<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}{% if item.textProcessing %} class="{{ namespace }}infoTable__textProcessing"{% endif %}>
									{{ item.text | safe }}
								</div>
							{% endif %}
						</div>
					</td>
				</tr>
			{% endif %}
		{% endfor %}
		</tbody>
	</table>
	{% if wrapper %}
		</div>
	{% endif %}
{% endif %}
{% if collapse %}
	<div id="{{ collapseID }}" class="{{ namespace }}infoTableCollapse collapse fade {% if wrapper %}-box{% endif %}">
		<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
			<tbody>
			{% for key, item in tableItemsCollapse %}
				{% if item %}
					<tr>
						<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.icon %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
								{% endif %}
								{% render "@label",{
									eltType: "div",
									text: item.label
								},true %}
							</div>
						</td>
						<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.iconRight %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
								{% endif %}
								{% if item.amountNeg %}
									{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
								{% elseif item.amountNegLarge %}
									{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
								{% elseif item.amountPos %}
									{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
								{% elseif item.amountPosLarge %}
									{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
								{% elseif item.amountDef %}
									{% render "@amount--default",{text: item.amountDef, classes: item.amountDefClasses},true %}
								{% elseif item.amountDefLarge %}
									{% render "@amount--large",{
										text: item.amountDefLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.amountDefXtraLarge %}
									{% render "@amount--xtra-large",{
										text: item.amountDefXtraLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.empty %}
									{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
								{% else %}
									<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}>
										{{ item.text | safe }}
									</div>
								{% endif %}
							</div>
						</td>
					</tr>
				{% endif %}
			{% endfor %}
			</tbody>
		</table>
	</div>
	{% if btnCentered %}
		<div class="text-center">
	{% endif %}
		{% render  "@btn-secondary--icon-left-collapse-trigger",{
			icon: "icon-plus",
			text: "Afficher le détail",
			attrs: {
				"data-toggle": "collapse",
				"data-target": "#"+collapseID
			}
		},true %}
	{% if btnCentered %}
		</div>
	{% endif %}
{% endif %}

<!-- Box -->
{% if table %}
	{% if wrapper %}
		<div class="{{ namespace }}infoTableBox">
	{% endif %}
	<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
		<tbody>
		{% for key, item in tableItems %}
			{% if item %}
				<tr>
					<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.icon %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
							{% endif %}
							{% render "@label",{
								eltType: "div",
								text: item.label
							},true %}
							{% if item.infoDot %}
								{% render '@info-dot--small' %}
							{% endif %}
						</div>
					</td>
					<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.iconRight %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
							{% endif %}
							{% if item.amountNeg %}
								{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
							{% elseif item.amountNegLarge %}
								{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
							{% elseif item.amountPos %}
								{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
							{% elseif item.amountPosLarge %}
								{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
							{% elseif item.amountDef %}
								{% render "@amount--default",{
									text: item.amountDef,
									classes: item.amountDefClasses,
									currency: item.currency
								},true %}
							{% elseif item.amountDefLarge %}
								{% render "@amount--large",{
									text: item.amountDefLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.amountDefXtraLarge %}
								{% render "@amount--xtra-large",{
									text: item.amountDefXtraLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.empty %}
								{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
							{% else %}
								<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}{% if item.textProcessing %} class="{{ namespace }}infoTable__textProcessing"{% endif %}>
									{{ item.text | safe }}
								</div>
							{% endif %}
						</div>
					</td>
				</tr>
			{% endif %}
		{% endfor %}
		</tbody>
	</table>
	{% if wrapper %}
		</div>
	{% endif %}
{% endif %}
{% if collapse %}
	<div id="{{ collapseID }}" class="{{ namespace }}infoTableCollapse collapse fade {% if wrapper %}-box{% endif %}">
		<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
			<tbody>
			{% for key, item in tableItemsCollapse %}
				{% if item %}
					<tr>
						<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.icon %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
								{% endif %}
								{% render "@label",{
									eltType: "div",
									text: item.label
								},true %}
							</div>
						</td>
						<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.iconRight %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
								{% endif %}
								{% if item.amountNeg %}
									{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
								{% elseif item.amountNegLarge %}
									{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
								{% elseif item.amountPos %}
									{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
								{% elseif item.amountPosLarge %}
									{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
								{% elseif item.amountDef %}
									{% render "@amount--default",{text: item.amountDef, classes: item.amountDefClasses},true %}
								{% elseif item.amountDefLarge %}
									{% render "@amount--large",{
										text: item.amountDefLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.amountDefXtraLarge %}
									{% render "@amount--xtra-large",{
										text: item.amountDefXtraLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.empty %}
									{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
								{% else %}
									<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}>
										{{ item.text | safe }}
									</div>
								{% endif %}
							</div>
						</td>
					</tr>
				{% endif %}
			{% endfor %}
			</tbody>
		</table>
	</div>
	{% if btnCentered %}
		<div class="text-center">
	{% endif %}
		{% render  "@btn-secondary--icon-left-collapse-trigger",{
			icon: "icon-plus",
			text: "Afficher le détail",
			attrs: {
				"data-toggle": "collapse",
				"data-target": "#"+collapseID
			}
		},true %}
	{% if btnCentered %}
		</div>
	{% endif %}
{% endif %}

<!-- Has Icon -->
{% if table %}
	{% if wrapper %}
		<div class="{{ namespace }}infoTableBox">
	{% endif %}
	<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
		<tbody>
		{% for key, item in tableItems %}
			{% if item %}
				<tr>
					<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.icon %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
							{% endif %}
							{% render "@label",{
								eltType: "div",
								text: item.label
							},true %}
							{% if item.infoDot %}
								{% render '@info-dot--small' %}
							{% endif %}
						</div>
					</td>
					<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.iconRight %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
							{% endif %}
							{% if item.amountNeg %}
								{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
							{% elseif item.amountNegLarge %}
								{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
							{% elseif item.amountPos %}
								{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
							{% elseif item.amountPosLarge %}
								{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
							{% elseif item.amountDef %}
								{% render "@amount--default",{
									text: item.amountDef,
									classes: item.amountDefClasses,
									currency: item.currency
								},true %}
							{% elseif item.amountDefLarge %}
								{% render "@amount--large",{
									text: item.amountDefLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.amountDefXtraLarge %}
								{% render "@amount--xtra-large",{
									text: item.amountDefXtraLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.empty %}
								{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
							{% else %}
								<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}{% if item.textProcessing %} class="{{ namespace }}infoTable__textProcessing"{% endif %}>
									{{ item.text | safe }}
								</div>
							{% endif %}
						</div>
					</td>
				</tr>
			{% endif %}
		{% endfor %}
		</tbody>
	</table>
	{% if wrapper %}
		</div>
	{% endif %}
{% endif %}
{% if collapse %}
	<div id="{{ collapseID }}" class="{{ namespace }}infoTableCollapse collapse fade {% if wrapper %}-box{% endif %}">
		<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
			<tbody>
			{% for key, item in tableItemsCollapse %}
				{% if item %}
					<tr>
						<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.icon %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
								{% endif %}
								{% render "@label",{
									eltType: "div",
									text: item.label
								},true %}
							</div>
						</td>
						<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.iconRight %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
								{% endif %}
								{% if item.amountNeg %}
									{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
								{% elseif item.amountNegLarge %}
									{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
								{% elseif item.amountPos %}
									{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
								{% elseif item.amountPosLarge %}
									{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
								{% elseif item.amountDef %}
									{% render "@amount--default",{text: item.amountDef, classes: item.amountDefClasses},true %}
								{% elseif item.amountDefLarge %}
									{% render "@amount--large",{
										text: item.amountDefLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.amountDefXtraLarge %}
									{% render "@amount--xtra-large",{
										text: item.amountDefXtraLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.empty %}
									{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
								{% else %}
									<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}>
										{{ item.text | safe }}
									</div>
								{% endif %}
							</div>
						</td>
					</tr>
				{% endif %}
			{% endfor %}
			</tbody>
		</table>
	</div>
	{% if btnCentered %}
		<div class="text-center">
	{% endif %}
		{% render  "@btn-secondary--icon-left-collapse-trigger",{
			icon: "icon-plus",
			text: "Afficher le détail",
			attrs: {
				"data-toggle": "collapse",
				"data-target": "#"+collapseID
			}
		},true %}
	{% if btnCentered %}
		</div>
	{% endif %}
{% endif %}

<!-- Periodicite -->
<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<tr>
		<td class="{{ namespace }}infoTable__cellAlignTop">
			<div class="{{ namespace }}infoTable__cellContent">
				{% render "@label",{
					eltType: "div",
					text: "Périodicité"
				},true %}
			</div>
		</td>
		<td class="{{ namespace }}infoTable__cellAlignTop">
			<div class="{{ namespace }}infoTable__cellContent">
				<div class="{{ namespace }}stackXxs">
					<div>Personnalisée</div>
					<div class="{{ namespace }}infoTable__helper {{ namespace }}textHelperSmall">Tous les ans au mois de: Janvier, Février, Mars, Avril, Juin, Juillet, Août, Septembre, Octobre, Novembre, Décembre</div>
				</div>
			</div>
		</td>
	</tr>
</table>

<!-- Empty -->
{% if table %}
	{% if wrapper %}
		<div class="{{ namespace }}infoTableBox">
	{% endif %}
	<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
		<tbody>
		{% for key, item in tableItems %}
			{% if item %}
				<tr>
					<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.icon %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
							{% endif %}
							{% render "@label",{
								eltType: "div",
								text: item.label
							},true %}
							{% if item.infoDot %}
								{% render '@info-dot--small' %}
							{% endif %}
						</div>
					</td>
					<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.iconRight %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
							{% endif %}
							{% if item.amountNeg %}
								{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
							{% elseif item.amountNegLarge %}
								{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
							{% elseif item.amountPos %}
								{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
							{% elseif item.amountPosLarge %}
								{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
							{% elseif item.amountDef %}
								{% render "@amount--default",{
									text: item.amountDef,
									classes: item.amountDefClasses,
									currency: item.currency
								},true %}
							{% elseif item.amountDefLarge %}
								{% render "@amount--large",{
									text: item.amountDefLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.amountDefXtraLarge %}
								{% render "@amount--xtra-large",{
									text: item.amountDefXtraLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.empty %}
								{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
							{% else %}
								<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}{% if item.textProcessing %} class="{{ namespace }}infoTable__textProcessing"{% endif %}>
									{{ item.text | safe }}
								</div>
							{% endif %}
						</div>
					</td>
				</tr>
			{% endif %}
		{% endfor %}
		</tbody>
	</table>
	{% if wrapper %}
		</div>
	{% endif %}
{% endif %}
{% if collapse %}
	<div id="{{ collapseID }}" class="{{ namespace }}infoTableCollapse collapse fade {% if wrapper %}-box{% endif %}">
		<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
			<tbody>
			{% for key, item in tableItemsCollapse %}
				{% if item %}
					<tr>
						<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.icon %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
								{% endif %}
								{% render "@label",{
									eltType: "div",
									text: item.label
								},true %}
							</div>
						</td>
						<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.iconRight %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
								{% endif %}
								{% if item.amountNeg %}
									{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
								{% elseif item.amountNegLarge %}
									{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
								{% elseif item.amountPos %}
									{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
								{% elseif item.amountPosLarge %}
									{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
								{% elseif item.amountDef %}
									{% render "@amount--default",{text: item.amountDef, classes: item.amountDefClasses},true %}
								{% elseif item.amountDefLarge %}
									{% render "@amount--large",{
										text: item.amountDefLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.amountDefXtraLarge %}
									{% render "@amount--xtra-large",{
										text: item.amountDefXtraLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.empty %}
									{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
								{% else %}
									<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}>
										{{ item.text | safe }}
									</div>
								{% endif %}
							</div>
						</td>
					</tr>
				{% endif %}
			{% endfor %}
			</tbody>
		</table>
	</div>
	{% if btnCentered %}
		<div class="text-center">
	{% endif %}
		{% render  "@btn-secondary--icon-left-collapse-trigger",{
			icon: "icon-plus",
			text: "Afficher le détail",
			attrs: {
				"data-toggle": "collapse",
				"data-target": "#"+collapseID
			}
		},true %}
	{% if btnCentered %}
		</div>
	{% endif %}
{% endif %}

<!-- Collapse -->
{% if table %}
	{% if wrapper %}
		<div class="{{ namespace }}infoTableBox">
	{% endif %}
	<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
		<tbody>
		{% for key, item in tableItems %}
			{% if item %}
				<tr>
					<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.icon %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
							{% endif %}
							{% render "@label",{
								eltType: "div",
								text: item.label
							},true %}
							{% if item.infoDot %}
								{% render '@info-dot--small' %}
							{% endif %}
						</div>
					</td>
					<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
						<div class="{{ namespace }}infoTable__cellContent">
							{% if item.iconRight %}
								<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
							{% endif %}
							{% if item.amountNeg %}
								{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
							{% elseif item.amountNegLarge %}
								{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
							{% elseif item.amountPos %}
								{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
							{% elseif item.amountPosLarge %}
								{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
							{% elseif item.amountDef %}
								{% render "@amount--default",{
									text: item.amountDef,
									classes: item.amountDefClasses,
									currency: item.currency
								},true %}
							{% elseif item.amountDefLarge %}
								{% render "@amount--large",{
									text: item.amountDefLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.amountDefXtraLarge %}
								{% render "@amount--xtra-large",{
									text: item.amountDefXtraLarge,
									currency: item.currency,
									classes: classes
								},true %}
							{% elseif item.empty %}
								{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
							{% else %}
								<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}{% if item.textProcessing %} class="{{ namespace }}infoTable__textProcessing"{% endif %}>
									{{ item.text | safe }}
								</div>
							{% endif %}
						</div>
					</td>
				</tr>
			{% endif %}
		{% endfor %}
		</tbody>
	</table>
	{% if wrapper %}
		</div>
	{% endif %}
{% endif %}
{% if collapse %}
	<div id="{{ collapseID }}" class="{{ namespace }}infoTableCollapse collapse fade {% if wrapper %}-box{% endif %}">
		<table class="{{ namespace }}infoTable table{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
			<tbody>
			{% for key, item in tableItemsCollapse %}
				{% if item %}
					<tr>
						<td class="{% if item.icon %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.icon %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.icon }} {{ item.iconColor }}"></span>
								{% endif %}
								{% render "@label",{
									eltType: "div",
									text: item.label
								},true %}
							</div>
						</td>
						<td class="{% if item.iconRight %}-hasIcon{% endif %}{% if item.noBorder %}-noBorder{% endif %}">
							<div class="{{ namespace }}infoTable__cellContent">
								{% if item.iconRight %}
									<span class="{{ namespace }}icon {{ namespace }}{{ item.iconRight }} {{ item.iconRightColor }}"></span>
								{% endif %}
								{% if item.amountNeg %}
									{% render "@amount--negative",{text: item.amountNeg, classes: item.classes},true %}
								{% elseif item.amountNegLarge %}
									{% render "@amount--xtra-large-negative",{text: item.amountNegLarge, classes: item.classes},true %}
								{% elseif item.amountPos %}
									{% render "@amount--positive",{text: item.amountPos, classes: item.classes},true %}
								{% elseif item.amountPosLarge %}
									{% render "@amount--large-positive",{text: item.amountPosLarge, classes: item.classes},true %}
								{% elseif item.amountDef %}
									{% render "@amount--default",{text: item.amountDef, classes: item.amountDefClasses},true %}
								{% elseif item.amountDefLarge %}
									{% render "@amount--large",{
										text: item.amountDefLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.amountDefXtraLarge %}
									{% render "@amount--xtra-large",{
										text: item.amountDefXtraLarge,
										currency: item.currency,
										classes: classes
									},true %}
								{% elseif item.empty %}
									{% if item.text %}{{ item.text | safe }}{% endif %} <span class="{{ namespace }}infoTable__empty">{{ item.empty }}</span>
								{% else %}
									<div{% if item.bold %} class="{{ namespace }}textSemiBold"{% endif %}>
										{{ item.text | safe }}
									</div>
								{% endif %}
							</div>
						</td>
					</tr>
				{% endif %}
			{% endfor %}
			</tbody>
		</table>
	</div>
	{% if btnCentered %}
		<div class="text-center">
	{% endif %}
		{% render  "@btn-secondary--icon-left-collapse-trigger",{
			icon: "icon-plus",
			text: "Afficher le détail",
			attrs: {
				"data-toggle": "collapse",
				"data-target": "#"+collapseID
			}
		},true %}
	{% if btnCentered %}
		</div>
	{% endif %}
{% endif %}

<!-- Horizontal Table Inside -->
<div class="{{ namespace }}box -insetLg -elevated">

	<div class="row col-separator flex-md-nowrap justify-content-between">

		<div class="col-12 col-md-12 flex-md-shrink-1">
			<div class="row align-items-center">
				<div class="col-12">
					<div class="{{ namespace }}stackLg">
						<h4 class="h4">Récapitulatif</h4>
						<div class="{{ namspace }}wysiwyg">
							<p>
								Avec S-Invest, un investissement d’une somme de <b>14.400 €</b> sur <b>8 ans</b> via un versement de <b>150 € par mois</b> vous aurait permis de construire un capital d’environ :
							</p>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="col-12 col-md-auto">
			{% render '@snet-info-table',{
				classes: ["-hasTotal"],
				tableItems: tableItems
			}, true %}
		</div>

	</div>

</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}infoTableBox {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	padding: map-deep-get($token-spacer-inset-map, "md");
    	@include custom-prop-fallback("background-color", "sys-color-elevation-surface-sunken");
    	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 */
    
    	// infoTableBox__childElement
    	&__childElement {
    
    		// follows same logic as parent
    
    	}
    
    	TABLE {
    
    		TR:first-child TD {
    			padding-top: 0 !important;
    		}
    
    		TR:last-child TD {
    			padding-bottom: 0 !important;
    		}
    
    	}
    
    
    	/* modifiers */
    
    	// infoTableBox -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-info-table/_info-table-box.scss
  • Filesystem Path: components/snet/organisms/info-table/_info-table-box.scss
  • Size: 1.3 KB
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}infoTable {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	width: 100%;
    	position: relative;
    
    	+ .#{$namespace}infoTableCollapse {
    
    		border-top: $border-width solid;
    		@include custom-prop-fallback("border-top-color", "sys-color-border-primary-moderate");
    
    	}
    
    	/* 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 */
    
    	// infoTable TD
    	TR TD {
    
    		// follows same logic as parent
    		// @TODO change important once old CSS is removed
    		vertical-align: baseline !important;
    		border-bottom: 0;
    
    		padding-top: $table-cell-padding-y*0.5 !important;
    		padding-bottom: $table-cell-padding-y*0.5 !important;
    
    		@include media-breakpoint-up("md") {
    			padding-top: $table-cell-padding-y !important;
    			padding-bottom: $table-cell-padding-y !important;
    		}
    
    		&:first-child {
    			padding-left: 0 !important;
    		}
    		
    		&:last-child {
    			text-align: right;
    			padding-right: 0 !important;
    			#{$self}__cellContent {
    				justify-content: flex-end;
    			}
    		}
    
    		&.-hasIcon {
    
    			.#{$namespace}icon + * {
    
    				margin-left: map-deep-get($token-spacer-inline-map, "sm");
    
    			}
    
    			.#{$namespace}icon {
    
    				&.-info100 {
    
    					@include custom-prop-fallback("color", "sys-color-text-status-info-vivid");
    
    				}
    
    			}
    
    		}
    
    		&.-noBorder {
    
    			border-bottom: none;
    
    		}
    
    		&.-alignBottom {
    			#{$self}__cellContent {
    				align-items: baseline;
    			}
    		}
    
    		&.-alignTop {
    
    			vertical-align: top !important;
    
    			#{$self}__cellContent {
    				align-items: flex-start;
    			}
    
    		}
    		
    	}
    
    	TR + TR TD {
    
    		border-top: $border-width solid !important;
    		@include custom-prop-fallback("border-top-color", "sys-color-border-primary-moderate", true, true);
    
    	}
    
    	TBODY TH {
    
    		font-family: map-deep-get($token-font-family-map, "text");
    
    	}
    	
    	TR TD,
    	TR TH {
    		
    		&:only-of-type {
    
    			padding-left: 0 !important;
    			padding-right: 0 !important;
    
    		}
    		
    	}
    
    	TR > TH {
    
    		&:first-child {
    			padding-left: 0 !important;
    		}
    
    	}
    
    	TR:last-child TD {
    		border-bottom: 0 !important;
    	}
    
    	&__cellAlignTop#{$self}__cellAlignTop {
    
    		vertical-align: top !important;
    
    	}
    	&__cellAlignMiddle#{$self}__cellAlignMiddle {
    
    		vertical-align: middle !important;
    
    	}
    
    	&__labelIcon {
    
    		margin-right: map-deep-get($token-spacer-inline-map, "sm");
    		
    		&:before {
    
    			font-size: 1em;
    
    		}
    
    	}
    
    	&__cellContent {
    
    		display: flex;
    		align-items: center;
    
    	}
    
    	&__helper {
    
    		@include custom-prop-fallback("color","sys-color-text-primary-muted");
    
    	}
    
    	&__empty {
    
    		@include custom-prop-fallback("color","sys-color-text-primary-muted");
    
    	}
    
    	&__textProcessing {
    
    		@include custom-prop-fallback("color", "sys-color-text-status-warning-vivid");
    
    	}
    
    	/* modifiers */
    
    	// infoTable -noBorder
    
    	&.-noBorder {
    
    		TR + TR TD {
    
    			border-top: none !important;
    
    		}
    
    	}
    
    	&.-hasBorderBottom {
    
    		TR:last-child TD {
    			border-bottom: $table-border-width solid !important;
    			@include custom-prop-fallback("border-bottom-color", "sys-color-border-primary-moderate", true, true);
    		}
    
    	}
    
    	&.-hasTotal {
    
    		 > TBODY > TR + TR TD,
    		 > TR + TR TD {
    
    			border-top: none !important;
    
    		}
    
    		 > TBODY > TR:nth-last-of-type(2) > TD,
    		 > TR:nth-last-of-type(2) > TD {
    			padding-bottom: $table-cell-padding-y * 1.5 !important;
    			@include media-breakpoint-up("md") {
    				padding-bottom: $table-cell-padding-y *2 !important;
    			}
    		}
    
    		> TBODY > TR:last-child TD,
    		> TR:last-child TD {
    
    			border-top: $table-border-width solid !important;
    			@include custom-prop-fallback("border-top-color", "sys-color-border-primary-moderate", true, true);
    			padding-bottom: $table-cell-padding-y !important;
    			padding-top: $table-cell-padding-y * 1.5 !important;
    
    			@include media-breakpoint-up("md") {
    				padding-top: $table-cell-padding-y *2 !important;
    			}
    
    		}
    
    	}
    
    	&.-itemInsetSpacingSm {
    
    		margin-top: $table-cell-padding-y*0.5 !important;
    
    		@include media-breakpoint-up("md") {
    			margin-top: $table-cell-padding-y !important;
    		}
    
    		TR TH,
    		TR TD {
    
    			padding-top: $table-cell-padding-y*0.5 !important;
    			padding-bottom: $table-cell-padding-y*0.5 !important;
    
    			@include media-breakpoint-up("md") {
    				padding-top: $table-cell-padding-y*0.5 !important;
    				padding-bottom: $table-cell-padding-y*0.5 !important;
    			}
    
    		}
    
    	}
    
    
    	&.-firstRowStuckTop {
    
    		TBODY:first-of-type TR:first-of-type TD {
    
    			padding-top: 0 !important;
    
    		}
    
    	}
    
    	&.-alignMiddle {
    
    		TR TD {
    
    			// follows same logic as parent
    			// @TODO change important once old CSS is removed
    			vertical-align: middle !important;
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-info-table/_info-table.scss
  • Filesystem Path: components/snet/organisms/info-table/_info-table.scss
  • Size: 5.1 KB