Mobile Stepper

No notes defined.

<nav class="sds-mobileStepper">
    <ul class="sds-mobileStepper__inner list-unstyled">

        <li class="sds-mobileStepper__item">
            <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>

            </div>
        </li>

        <li class="sds-mobileStepper__item">
            <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 70%" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" aria-current="true"></div>

            </div>
        </li>

        <li class="sds-mobileStepper__item">
            <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

            </div>
        </li>

        <li class="sds-mobileStepper__item">
            <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

            </div>
        </li>

    </ul>
</nav>
<nav class="{{ namespace }}mobileStepper{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<ul class="{{ namespace }}mobileStepper__inner list-unstyled">
		{% for key, step in steps %}
			{% if step %}
			<li class="{{ namespace }}mobileStepper__item">
				{% render "@snet-progress--stepper",{
					progressValue: step.completion,
					progressValuePecentage: (step.completion / maxValue) * maxValue,
					current: step.current,
					classes: [ namespace + "mobileStepper__progressBar"]
				},true %}
			</li>
			{% endif %}
		{% endfor %}
	</ul>
</nav>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}mobileStepper {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	@include custom-prop-fallback("background-image","comp-navbar-background-color");
    	@include custom-prop-fallback("color", "sys-color-text-neutral-inverse");
    	height: $mobile-stepper-height-global;
    
    	/* 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 */
    
    	// mobileStepper__childElement
    	&__inner  {
    
    		// follows same logic as parent
    
    		display: flex;
    		align-items: center;
    		justify-content: space-between;
    		@include spacer-component-inline("md");
    		padding: map-deep-get($token-spacer-inset-map, "md");
    
    	}
    
    	&__item {flex-grow: 1;}
    
    
    	/* modifiers */
    
    	// mobileStepper -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	.bfm-theme &,
    	.cpb-theme & {
    		@include gradient-directional(map-deep-get($token-color-brand-map, "secondary", "160"), map-deep-get($token-color-brand-map, "secondary", "140"), 0, 100%, 45deg, true);
    	}
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-mobile-stepper/_mobile-stepper.scss
  • Filesystem Path: components/snet/organisms/mobile-stepper/_mobile-stepper.scss
  • Size: 1.5 KB