Section Item: Reservation

No notes defined.

<div class="sds-sectionItem -isTimelineItem -isStatic">
    <div class="sds-sectionItem__inner">
        <div class="sds-sectionItem__innerCol -date">
            <div class="sds-sectionItem__textMeta sds-textHelper"></div>
        </div>
        <div class="sds-sectionItem__innerCol -dot">
            <div class="sds-sectionItem__dotWrapper">
                <span class="sds-circle"></span>
            </div>
        </div>
        <div class="sds-sectionItem__innerCol -grow">
            <div class="sds-stackXs">
                <div>{Parking}</div>
                <div class="sds-sectionItem__textMeta sds-textHelper">
                    {Amount of time [h:mm - h:mm] <br> Parking lot • Person in charge}
                </div>
            </div>
        </div>
        <div class="sds-sectionItem__innerCol">
            <button type="button" class="sds-btn -iconBtn -btnSecondary">

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

            </button>
        </div>
    </div>
</div>
<div class="{{ namespace }}sectionItem{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}sectionItem__inner">
		<div class="{{ namespace }}sectionItem__innerCol -date">
			<div class="{{ namespace }}sectionItem__textMeta {{ namespace }}textHelper"></div>
		</div>
		<div class="{{ namespace }}sectionItem__innerCol -dot">
			<div class="{{ namespace }}sectionItem__dotWrapper">
				{% render "@circle--default" %}
			</div>
		</div>
		<div class="{{ namespace }}sectionItem__innerCol -grow">
			<div class="{{ namespace }}stackXs">
				<div>{{ reservationLocation }}</div>
				<div class="{{ namespace }}sectionItem__textMeta {{ namespace }}textHelper">
					{{ reservation | safe }}
				</div>
			</div>
		</div>
		<div class="{{ namespace }}sectionItem__innerCol">
			{% render "@icon-btn-secondary",{
				icon: "icon-trash"
			},true %}
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}sectionItem {
    
    	/* 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 */
    
    	// sectionItem__childElement
    	&__statusIcon,
    	&__statusText {
    
    		// follows same logic as parent
    
    		color: map-deep-get($token-color-brand-map, "secondary", "100");
    
    	}
    
    
    	/* modifiers */
    
    	// sectionItem -statusPositive
    	&.-statusPositive {
    
    		// follows same logic as base element$
    
    		#{$self}__statusIcon,
    		#{$self}__statusText {
    
    			color: map-deep-get($token-color-brand-map, "success", "100");
    
    		}
    
    	}
    
    	// sectionItem -statusNegative
    	&.-statusNegative {
    
    		// follows same logic as base element
    
    		#{$self}__statusIcon,
    		#{$self}__statusText {
    
    			color: map-deep-get($token-color-brand-map, "primary", "100");
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/msp-section-item/_section-item.scss
  • Filesystem Path: components/my-spuerkeess/organisms/section-item/_section-item.scss
  • Size: 1.4 KB