Calendar Controls

No notes defined.

<div class="sds-calendarControls">
    <button type="button" class="sds-btn -iconBtn -btnSecondary">

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

    </button>
    <div class="sds-calendarControls__label sds-textHelper sds-textSemiBold">Novembre 2021</div>
    <button type="button" class="sds-btn -iconBtn -btnSecondary">

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

    </button>
</div>
<div class="{{ namespace }}calendarControls{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	{% render "@icon-btn-secondary",{icon: "icon-chevronleft"},true %}
	<div class="{{ namespace }}calendarControls__label {{ namespace }}textHelper {{ namespace }}textSemiBold">Novembre 2021</div>
	{% render "@icon-btn-secondary",{icon: "icon-chevronright"},true %}
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}calendarControls {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	@include spacer-component-inline("md");
    	display: flex;
    	align-items: center;
    
    	/* 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 */
    
    	// calendarControls__childElement
    	&__label {
    
    		// follows same logic as parent
    
    		@include custom-prop-fallback("color", "sys-color-text-primary-vivid");
    
    	}
    
    
    	/* modifiers */
    
    	// calendarControls -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/msp-calendar-controls/_calendar-controls.scss
  • Filesystem Path: components/my-spuerkeess/molecules/calendar-controls/_calendar-controls.scss
  • Size: 1.1 KB