Amount Card: Info

No notes defined.

<div class="sds-amountCard -info">
    <div class="sds-stackXxs">
        <p class="sds-amountCard__meta sds-textHelper">Revenu disponible</p>
        <div class="sds-amount -amountXl -secondary100">
            <span class="sds-amount__value">1.550</span>

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

        </div>
    </div>

    <button type="button" class="sds-infoDot" data-trigger="focus" data-container="body" data-placement="left" data-toggle="popover" title="Popover title" data-content="Le détail de la / des transactions (bénéficiaire et communication) sera masqué dans les mouvements des transactions (sur S-Net Pro et dans les extraits de compte)">
        <span class="sds-icon sds-icon-infocirclefill"></span>
        <span class="sr-only">Show more info</span>
    </button>

</div>
<div class="{{ namespace }}amountCard{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}stackXxs">
		<p class="{{ namespace }}amountCard__meta {{ namespace }}textHelper">{{ helper }}</p>
		{% render "@amount--xtra-large-secondary-100",{
			currency: currency,
			text: amount
		}, true %}
	</div>
	{% if info %}
		{% render '@info-dot--left' %}
	{% endif %}
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}amountCard {
    
    	/* 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");
    	border-radius: map-deep-get($token-radius-map, "16");
    	@include spacer-component-inset("md");
    
    	/* 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 */
    
    	// amountCard__meta
    	&__meta {
    
    		// follows same logic as parent
    
    		@include custom-prop-fallback("color", "sys-color-text-primary-muted")
    
    	}
    
    
    	/* modifiers */
    
    	// amountCard -altStyle
    	&.-info {
    
    		display: flex;
    		align-items: flex-start;
    		justify-content: space-between;
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-amount-card/_amount-card.scss
  • Filesystem Path: components/snet/organisms/amount-card/_amount-card.scss
  • Size: 1.2 KB