Icon Button Pair: Large

No notes defined.

<div class="sds-iconBtnPair -iconBtnPairLg">

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

        <span aria-hidden="true" class="sds-icon sds-icon-arrownext"></span>

    </button>

    <span class="sds-dot -dotHighlight -dotBorder sds-iconBtnPair__badge">

        <span class="sr-only">status text</span>

    </span>
</div>
{% extends "@icon-btn-pair-frame" %}
{% block iconBtn %}
	{% render "@icon-btn-secondary--big", {
		icon: "icon-arrownext"
	}, true %}
{% endblock %}
  • Content:
    /* variables specific to current element */
    
    .#{$namespace}iconBtnPair {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    
    	/* properties of current element  + media queries */
    
    	position: relative;
    	display: inline-flex;
    
    
    	/* 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 */
    
    	// iconBtnPair__badge
    	&__badge {
    		position: absolute;
    		@include custom-prop-fallback("top", "comp-button-icon-button-pair-medium-badge-dot-inset-v-t");
    		@include custom-prop-fallback("right", "comp-button-icon-button-pair-medium-badge-dot-inset-h-r");
    		pointer-events: none;
    	}
    
    
    	/* modifiers */
    
    	// iconBtnPair -iconBtnPairSm
    	&.-iconBtnPairSm {
    
    		#{$self}__badge {
    			top: 0;
    			right: 0;
    		}
    
    	}
    
    	// iconBtnPair -iconBtnPairLg
    	&.-iconBtnPairLg {
    
    		#{$self}__badge {
    			@include custom-prop-fallback("top", "comp-button-icon-button-pair-large-badge-dot-inset-v-t");
    			@include custom-prop-fallback("right", "comp-button-icon-button-pair-large-badge-dot-inset-h-r");
    		}
    
    	}
    
    	/* random parent element */
    	/*
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/icon-btn-pair/_icon-btn-pair.scss
  • Filesystem Path: components/token-based/actions-and-inputs/btn/icon-btn-pair/_icon-btn-pair.scss
  • Size: 1.5 KB