Radio Number Circle

No notes defined.

<label class="sds-radioNumberCircle sds-showCustomIndicatorHover" for="radio-number-circle">
    <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="radio-number-circle"><span class="sds-radioDot " aria-hidden="true"></span>
    <span class="sds-numberCircle -large">
        99+
    </span>
    <span class="">text</span>

</label>
<label class="{{ namespace }}radioNumberCircle {{ namespace }}showCustomIndicatorHover" for="{{ id }}">
	{% render "@radio-dot",{
		inputModifiers: ["custom-control-input",state],
		id: id,
		checked: checked,
		disabled: disabled
	},true %}
	{% render "@snet-number-circle",{
		text: numberCircleText,
		classes: numberCircleClasses
	},true %}
	<span class="{% if semibold %} {{ namespace }}textSemiBold{% endif %}">{{ text }}</span>
	{% if error %}
		<div class="{{ namespace }}radio__error invalid-feedback">Error message</div>
	{% endif %}
</label>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}radioNumberCircle {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	display: flex;
    	align-items: center;
    	@include spacer-component-inline("md");
    	cursor: pointer;
    
    	/* 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 */
    
    	// radio__childElement
    	&__childElement {
    
    		// follows same logic as parent
    
    	}
    
    
    	/* modifiers */
    
    	// radio -centeredRadiomark
    	&.-centeredRadiomark {
    
    		// follows same logic as base element
    
    		#{$self}__shape {
    
    			top: 50%;
    			transform: translateY(-50%);
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/cpb-radio-number-circle/_radio.scss
  • Filesystem Path: components/corporate-bridge/molecules/radio-number-circle/_radio.scss
  • Size: 1.1 KB