List Item Detail: Default

No notes defined.

<div class="sds-listItem__detail sds-box -insetXl">
    <div class="sds-listItem__detailHeader sds-listItem sds-hoverContentSecondary">
        <span class="sds-iconCircle -info100" aria-hidden="true">

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

        </span>

        <div class="sds-listItem__textMain">Text text text text</div>
        <div class="sds-listItem__rightContent">
            <div class="sds-btnGroup -aboveClickArea">
                <button type="button" class="sds-btn -btnSecondary">

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

                    <span class="sds-btn__text">Modifier</span>

                </button>
                <button type="button" class="sds-btn -iconBtn -btnSecondary">

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

                </button>
                <button type="button" class="sds-btn -iconBtn -btnSecondary">

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

                </button>
            </div>
        </div>
        <button type="button" class="sds-listItem__collapseTrigger">
            <span class="sr-only">Close list item detail</span>
        </button>
    </div>
    <div class="row">
        <div class="col-6 sds-stackLg">
            <div class="sds-stackXs">
                <div class="sds-listItem__detailHelperText">Statut</div>
                <div class="sds-listItem__detailText -success100">Actif</div>
            </div>

            <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>
        <div class="col-6 sds-stackLg">
            <div class="text-right sds-stackXs">
                <div class="sds-listItem__detailHelperText">Dernier encaissement</div>
                <div class="sds-listItem__detailText">01.06.2022</div>
            </div>

            <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>
    </div>
</div>
<div class="{{ namespace }}listItem__detail {{ namespace }}box -insetXl{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
    <div class="{{ namespace }}listItem__detailHeader {{ namespace }}listItem {{ namespace }}hoverContentSecondary">
        {% render "@icon-circle-regular--info-100",{icon: "icon-checkout"}, true %}
        <div class="{{ namespace }}listItem__textMain">{{ textBtn }}</div>
        <div class="{{ namespace }}listItem__rightContent">
            <div class="{{ namespace }}btnGroup -aboveClickArea">
                {% render "@btn-secondary--icon-left",{
                    text: "Modifier",
                    icon: "icon-edit"
                },true %}
                {% render "@icon-btn-secondary",{icon: "icon-printer"},true %}
                {% render "@icon-btn-secondary",{icon: "icon-locked"},true %}
            </div>
        </div>
		<button type="button" class="{{ namespace }}listItem__collapseTrigger"{% for attrKey, attr in detailToggleOptions %} {{ attrKey }}="{{ attr }}"{% endfor %}>
			<span class="sr-only">Close list item detail</span>
		</button>
    </div>
    <div class="row">
        <div class="col-6 {{ namespace }}stackLg">
            <div class="{{ namespace }}stackXs">
                <div class="{{ namespace }}listItem__detailHelperText">Statut</div>
                <div class="{{ namespace }}listItem__detailText -success100">Actif</div>
            </div>
            {% render "@snet-info-table" %}
        </div>
        <div class="col-6 {{ namespace }}stackLg">
            <div class="text-right {{ namespace }}stackXs">
                <div class="{{ namespace }}listItem__detailHelperText">Dernier encaissement</div>
                <div class="{{ namespace }}listItem__detailText">01.06.2022</div>
            </div>
            {% render "@snet-info-table" %}
        </div>
    </div>
</div>
  • Content:
    /* variables specific to current element */
    /* @TODO LEGACY DO NOT USE*/
    $section-item-horiz-padding: $section-item-horiz-padding-global;
    
    .#{$namespace}domItemDetail {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    
    	/* properties of current element  + media queries */
    	box-shadow: map-deep-get($token-shadow-map, "detail");
    	position: relative; // necessary for shadow to show above next element
    	margin: 0 (-($timeline-item-horiz-padding-global + $section-item-horiz-padding));
    
    	/* 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 */
    
    	// domItemDetail__header
    	&__header {
    
    		margin-bottom: map-deep-get($token-spacer-unit-map, "48");
    		position: relative;
    
    	}
    
    	&__text {
    
    		font-size: map-deep-get($design-tokens, "sys-font-size-body-extra-large-max");
    
    		&.-success100 {
    
    			@include custom-prop-fallback("color", "sys-color-text-status-success-vivid");
    
    		}
    
    	}
    
    	&__leftContent,
    	&__rightContent {
    
    		margin-bottom: map-deep-get($token-spacer-unit-map, "24");
    
    	}
    
    	&__leftContent {
    
    		text-align: left;
    
    	}
    
    	&__rightContent {
    
    		text-align: right;
    
    	}
    
    	&__content {
    
    		display: flex;
    		align-items: flex-start;
    		justify-content: space-between;
    		text-align: center;
    		margin-bottom: map-deep-get($token-spacer-unit-map, "24");
    
    	}
    
    
    	/* modifiers */
    
    	// domItemDetail -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-list-item-detail/_dom-item-detail.scss
  • Filesystem Path: components/snet/organisms/list-item-detail/_dom-item-detail.scss
  • Size: 1.8 KB