Helper Action

No notes defined.

<button type="button" class="sds-helperAction sds-textHelper sds-metaColor sds-staticInlineSm" data-toggle="modal" data-target="#modalID">
    <span class="sds-helperAction__icon sds-icon sds-icon-infocircleborder"></span>
    <span>Modal link</span>
</button>
<button type="button" class="{{ namespace }}helperAction {{ namespace }}textHelper {{ namespace }}metaColor {{ namespace }}staticInlineSm{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}"{% for attrKey, attr in attrs %} {{ attrKey }}="{{ attr }}"{% endfor %}>
	<span class="{{ namespace }}helperAction__icon sds-icon sds-icon-infocircleborder"></span>
	<span>Modal link</span>
</button>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}helperAction {
    
    	/* 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 */
    
    	// helperAction__childElement
    	&__icon {
    
    		// follows same logic as parent
    
    		&::before {
    
    			font-size: 1.25em;
    
    		}
    		
    	}
    
    
    	/* modifiers */
    
    	// helperAction -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/helper-action/_helper-action.scss
  • Filesystem Path: components/base-components/atoms/helper-action/_helper-action.scss
  • Size: 986 Bytes