Dot: Neutral

No notes defined.

<span class="sds-dot -dotNeutral"></span>
<span class="{{ namespace }}dot{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}"></span>
  • Content:
    /* variables specific to current element */
    
    .#{$namespace}dot {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	@extend %dot;
    	flex-shrink: 0;
    	@include custom-prop-fallback("background-color","comp-badge-neutral-background-color");
    
    	/* 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 */
    
    	// dot__childElement
    	&__childElement {
    
    		// follows same logic as parent
    
    	}
    
    
    	/* modifiers */
    
    	// dot -primary
    	&.-dotPrimary{
    
    		@include custom-prop-fallback("background-color", "comp-badge-primary-background-color");
    
    	}
    
    	&.-dotDanger,
    	&.-primary100 {
    
    		// follows same logic as base element
    		@include custom-prop-fallback("background-color", "comp-badge-danger-background-color");
    
    	}
    
    	&.-dotHighlight {
    
    		@include custom-prop-fallback("background-color", "comp-badge-highlight-background-color");
    
    	}
    
    	&.-dotWarning {
    
    		@include custom-prop-fallback("background-color", "comp-badge-warning-background-color");
    
    	}
    
    	&.-dotInfo {
    
    		@include custom-prop-fallback("background-color", "comp-badge-info-background-color");
    
    	}
    
    	// dot -success
    	&.-dotSuccess,
    	&.-success100,
    	&.-success120 {
    
    		// follows same logic as base element
    		@include custom-prop-fallback("background-color", "comp-badge-success-background-color");
    
    	}
    
    	// dot -faded
    	&.-dotNeutral,
    	&.-faded100 {
    
    		// follows same logic as base element
    
    		@include custom-prop-fallback("background-color", "comp-badge-neutral-background-color");
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-dot/_dot.scss
  • Filesystem Path: components/snet/atoms/dot/_dot.scss
  • Size: 2 KB