Stats Bar

There are no notes for this item.

<div class="demo-bg">
    <div class="stats-bar">
        <div class="row row--large">
            <div class="columns small-12 medium-6 large-expand">
                <div class="stats-bar__inner">
                    <span class="stats-bar__icon"><i class="ss-tag"></i></span>
                    <p class="stats-bar__text"><strong>Version:</strong> 1.0.2-pl</p>
                </div>
            </div>
            <div class="columns small-12 medium-6 large-expand">
                <div class="stats-bar__inner" data-tooltip="Commerce supports MODX 2.x and 3.x 👍">
                    <span class="stats-bar__version">V2 <span>&</span> V3</span>
                    <p class="stats-bar__text"><strong>MODX Compatibility</strong></p>
                </div>
            </div>
            <div class="columns small-12 medium-6 large-expand">
                <div class="stats-bar__inner">
                    <span class="stats-bar__icon"><i class="ss-download"></i></span>
                    <p class="stats-bar__text"><strong>Downloads:</strong> 661</p>
                </div>
            </div>
            <div class="columns small-12 medium-6 large-expand">
                <div class="stats-bar__inner">
                    <span class="stats-bar__icon"><i class="ss-star"></i></span>
                    <p class="stats-bar__text"><strong>Rated:</strong> 4.9/5</p>
                </div>
            </div>
            <div class="columns small-12 medium-6 large-expand">
                <div class="stats-bar__inner">
                    <span class="stats-bar__icon"><i class="ss-dollarsign"></i></span>
                    <p class="stats-bar__text"><strong>Price:</strong> €299 per site</p>
                </div>
            </div>
            <div class="columns small-12 medium-6 large-expand">
                <!--
			<div class="stats-bar__inner">
				<svg role="img" class="stats-bar__logo stats-bar__logo--treehill_studio">
					<use xlink:href="/svg/svg-symbols.svg#treehill_studio-icon"></use>
				</svg>
				<p class="stats-bar__text">By <strong>Treehill Studio</strong></p>
			</div>
		-->
                <div class="stats-bar__inner">
                    <svg role="img" class="stats-bar__logo">
					<use xlink:href="/svg/svg-symbols.svg#modmore-icon"></use>
				</svg>
                    <p class="stats-bar__text">By modmore</p>
                </div>
            </div>
        </div>
    </div>
</div>
/* No context defined for this component. */
  • Content:
    /*------------------------------------*\
    	Product features
    \*------------------------------------*/
    
    .stats-bar {
    	margin: 1rem 0;
    	padding: 1rem 0;
    }
    
    .stats-bar__inner {
    	display: flex;
    	flex-direction: column;
    	height: 100%;
    	text-align: center;
    	padding-bottom: 2rem;
    }
    
    .stats-bar__icon {
    	font-size: 2.5rem;
    	margin-bottom: 0.2rem;
    	color: $color-white;
    	opacity: 0.7;
    }
    
    .stats-bar__version {
    	display: flex;
    	align-items: center;
    	justify-content: center;
    	font-size: 2.4rem;
    	margin-bottom: 0.4rem;
    	color: $color-white;
    	font-weight: bold;
    	opacity: 0.7;
    
    	span {
    		font-size: 0.6em;
    		margin: 0 6px;
    		font-weight: normal;
    	}
    }
    
    .stats-bar__logo {
    	width: 100%;
    	max-height: 50px;
    	max-width: 50px;
    	margin: 3px auto 0;
    	color: $color-white;
    	opacity: 0.7;
    }
    
    .stats-bar__logo--treehill_studio {
    	max-width: 140px;
    }
    
    .stats-bar__text {
    	margin-top: auto;
    	margin-bottom: 0;
    	line-height: 1.3;
    	color: $color-white;
    }
    
  • URL: /components/raw/stats-bar/stats-bar.scss
  • Filesystem Path: components/02-components/stats-bar/stats-bar.scss
  • Size: 929 Bytes