Recap Card

No notes defined.

<a href="#" class="sds-recapCard sds-box -insetMd -border">
    <div class="sds-stackXxs">
        <div class="d-flex align-items-center justify-content-between">
            <div class="h5">{ Account Name }</div>
            <span class="sds-countBadge -primary -small">
                {##} %
                <span class="sr-only">Notifications non lues</span>
            </span>
        </div>
        <div>
            <div class="sds-textHelper">{ Reference Number}</div>
            <div class="sds-recapCard__meta sds-textHelper">{ category }</div>
        </div>
    </div>
</a>
<a href="#" class="{{ namespace }}recapCard {{ namespace }}box -insetMd{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}stackXxs">
		<div class="d-flex align-items-center justify-content-between">
			<div class="h5">{{ title }}</div>
			{% render "@count-badge--primary-small",{text: "{##} %"},true %}
		</div>
		<div>
			<div class="{{ namespace }}textHelper">{{ referenceNumber }}</div>
			<div class="{{ namespace }}recapCard__meta {{ namespace }}textHelper">{{ category }}</div>
		</div>
	</div>
</a>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}recapCard {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	display: block;
    
    	/* 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 */
    
    	// recapCard__childElement
    	&__childElement {
    
    		// follows same logic as parent
    
    	}
    
    
    	/* modifiers */
    
    	// recapCard -border
    	&.-border {
    
    		// follows same logic as base element
    
    		border: $border-width*2 solid $border-color;
    
    		&:hover {
    			@media (hover: hover) {
    				border-color: map-deep-get($token-color-brand-map, "secondary", "06");
    				background-color: map-deep-get($token-color-brand-map, "secondary", "06");
    			}
    		}
    
    	}
    
    	&.-paddingSm {
    
    
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/cpb-recap-card/_recap-card.scss
  • Filesystem Path: components/corporate-bridge/organisms/recap-card/_recap-card.scss
  • Size: 1.2 KB