Badges

Badge-Colors   

.badges .badges .badges-gray .badges .badges-error .badges .badges-warning .badges .badges-success
Copy
Edit
<!-- components/badgess/badges-Colors.html --> <span class="badges"> .badges </span> <span class="badges badges-gray"> .badges .badges-gray </span> <span class="badges badges-error"> .badges .badges-error </span> <span class="badges badges-warning"> .badges .badges-warning </span> <span class="badges badges-success"> .badges .badges-success </span>
Copy
Copy
Edit
/* scss/badgess/_badges-Colors.scss */ .badges { @extend .text-sm; @extend .weight-m; padding: 2px 10px; border: 0; border-radius: 1rem; background-color: $primary-50; color: $primary-700; display: inline-flex; align-items: center; text-decoration: none; &:hover { text-decoration: none; color: $primary-700; } // badges colors &.badges-gray { background-color: $gray-100; color: $gray-700; &:hover { color: $gray-700; } } &.badges-error { background-color: $error-50; color: $error-700; &:hover { color: $error-700; } } &.badges-warning { background-color: $warning-50; color: $warning-700; &:hover { color: $warning-700; } } &.badges-success { background-color: $success-50; color: $success-700; &:hover { color: $success-700; } } // badges sizes &.badges-lg { padding: 4px 12px; } // badges with icon i { font-size: 12px; &.close-banner { cursor: pointer; } } }

Badge-Sizes   

.badges .badges .badges-lg
Copy
Edit
<!-- components/badgess/badges-Sizes.html --> <span class="badges"> .badges </span> <span class="badges badges-lg"> .badges .badges-lg </span>
Copy
Copy
Edit
/* scss/Badges/_Badge-Sizes.scss */

Badge-with-icon   

Copy
Edit
<!-- components/Badges/Badge-with-icon.html --> <a href="" class="badges"> .badges <i class="icomoon-arrow-right ml-2"></i> </a> <span class="badges"> .badges <i class="icomoon-x close-banner ml-2"></i> </span> <a href="" class="badges"> <i class="icomoon-arrow-up mr-2"></i> .badges </a>
Copy
Copy
Edit
/* scss/Badges/_Badge-with-icon.scss */
Copy
Edit

Warning: file_get_contents(../js/Badge-with-icon.js): failed to open stream: No such file or directory in /var/www/ecdesigncdn/atomic-core/index.php on line 452