Amount Card: Default

No notes defined.

<div class="sds-amountCard">
    <div class="sds-stackXs">
        <div class="sds-label">
            Label

        </div>
        <div class="sds-amount -positive -amountXxl">
            <span class="sds-amount__value">{+#.###,##}</span>

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

        </div>
    </div>
</div>
<div class="{{ namespace }}amountCard{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}stackXs">
		{% render "@label--div" %}
		{% render "@amount--body-xxl" %}
	</div>
</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