Chart Display

No notes defined.

<!-- Default -->
<div class="sds-chartDisplay">
    <div class="sds-chartDisplay__row">
        <div class="sds-chartDisplay__col -chart">
            <div class="sds-chartDisplay__chart">
                <img class="img-fluid" src="../../media/corporate-bridge/pages/dashboard/cpb-fake-pie-chart.png" alt="">
            </div>
        </div>
        <div class="sds-chartDisplay__col -chartLegends">
            <div class="sds-stackSm sds-outOfBounds">
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -processing -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-sign" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Initiée</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -crossValidation -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-visible" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Validation quatre yeux</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -highlight -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-check" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Soumise</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -paid -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-checkcircleborder" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Acceptée</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -rejected -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-crosscircleborder" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Refusée</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
            </div>
        </div>
    </div>
</div>

<!-- 2 -->
<div class="sds-chartDisplay">
    <div class="sds-chartDisplay__row">
        <div class="sds-chartDisplay__col -chart">
            <div class="sds-chartDisplay__chart">
                <img class="img-fluid" src="../../media/corporate-bridge/pages/dashboard/cpb-fake-pie-chart-2.png" alt="">
            </div>
        </div>
        <div class="sds-chartDisplay__col -chartLegends">
            <div class="sds-stackSm sds-outOfBounds">
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -highlight -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-turnright" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">A venir</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -processing -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-alert" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Expirée</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
                <a href="" class="sds-listItem sds-hoverContentSecondary">
                    <div class="sds-transactionState -paid -textHelper -hasBg sds-listItem__transactionState">
                        <div class="sds-icon sds-icon-checkcircleborder" aria-hidden="true"></div>
                        <div class="sds-transactionState__text">Conforme</div>

                    </div>

                    <div class="sds-listItem__rightContent">

                        <div class="sds-amount -amountSm -secondary100">
                            <span class="sds-amount__value">{#.###.###}</span>

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

                        </div>

                        <span class="sds-iconCircle sds-hoverContentSecondary__icon" aria-hidden="true">

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

                        </span>

                    </div>

                </a>
            </div>
        </div>
    </div>
</div>

<!-- Default -->
<div class="{{ namespace }}chartDisplay{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}chartDisplay__row">
		<div class="{{ namespace }}chartDisplay__col -chart">
			<div class="{{ namespace }}chartDisplay__chart">
				<img class="img-fluid"
					 src="{{ (mediaPath + "/corporate-bridge/pages/dashboard/cpb-fake-pie-chart.png") | path }}"
					 alt="">
			</div>
		</div>
		<div class="{{ namespace }}chartDisplay__col -chartLegends">
			<div class="{{ namespace }}stackSm {{ namespace }}outOfBounds">
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--processing-small",
					stateIcon: "icon-sign",
					stateText: "Initiée"
				},true %}
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--cross-validation-small",
					stateIcon: "icon-visible",
					stateText: "Validation quatre yeux"
				},true %}
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--highlight-small",
					stateIcon: "icon-check",
					stateText: "Soumise"
				},true %}
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--paid-small",
					stateText: "Acceptée"
				},true %}
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--rejected-small",
					stateIcon: "icon-crosscircleborder",
					stateText: "Refusée"
				},true %}
			</div>
		</div>
	</div>
</div>

<!-- 2 -->
<div class="{{ namespace }}chartDisplay{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}chartDisplay__row">
		<div class="{{ namespace }}chartDisplay__col -chart">
			<div class="{{ namespace }}chartDisplay__chart">
				<img class="img-fluid"
					 src="{{ (mediaPath + "/corporate-bridge/pages/dashboard/cpb-fake-pie-chart-2.png") | path }}"
					 alt="">
			</div>
		</div>
		<div class="{{ namespace }}chartDisplay__col -chartLegends">
			<div class="{{ namespace }}stackSm {{ namespace }}outOfBounds">
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--highlight-small",
					stateText: "A venir"
				},true %}
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--processing-small",
					stateIcon: "icon-alert",
					stateText: "Expirée"
				},true %}
				{% render "@cpb-list-item--transaction-state",{
					stateType: "--paid-small",
					stateText: "Conforme"
				},true %}
			</div>
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}chartDisplay {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    
    	/* 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 */
    
    	// chartDisplay__row
    	&__row {
    
    		// follows same logic as parent
    
    		@include make-row();
    		justify-content: center;
    		margin-bottom: -($grid-gutter-width);
    
    	}
    
    	&__col {
    
    		@include make-col-ready();
    		margin-bottom: $grid-gutter-width;
    
    		&.-chart {
    			@include make-col-auto();
    		}
    
    		&.-chartLegends {
    			width: 272px;
    			flex-grow: 1;
    		}
    
    	}
    
    	&__chart {
    
    		min-width: 180px;
    		max-width: 240px;
    		margin: auto;
    
    	}
    
    
    	/* modifiers */
    
    	// chartDisplay -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/cpb-chart-display/_chart-display.scss
  • Filesystem Path: components/corporate-bridge/organisms/chart-display/_chart-display.scss
  • Size: 1.3 KB