Sha256: ea80d29b9d86de5ce9832fe24c87e0e07dc2bbf6991e348278ad709e6a7bdf57
Contents?: true
Size: 978 Bytes
Versions: 2
Compression:
Stored size: 978 Bytes
Contents
.badge { @include border-radius($badge-border-radius); align-items: center; display: inline-flex; font-size: inherit; font-weight: $badge-font-weight; line-height: inherit; padding-right: $badge-padding-x; padding-left: $badge-padding-x; text-align: center; vertical-align: baseline; white-space: nowrap; &:empty { display: none; } .btn & { margin-top: -1px; margin-bottom: -1px; padding-top: 1px; padding-bottom: 1px; } } @each $color, $values in $theme-colors { .badge-#{$color} { background-color: map-get(theme-color($color), color); color: color-yiq(map-get(theme-color($color), color)); &[href] { @include active-focus-hover { background-color: map-get(theme-color($color), darker); color: color-yiq(map-get(theme-color($color), darker)); text-decoration: none; } } } } // Pill badges with extra rounded corners .badge-pill { @include border-radius(1em); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
material-sass-4.0.0.beta3 | assets/stylesheets/material/bootstrap/_badge.scss |
material-sass-4.0.0.beta2 | assets/stylesheets/material/bootstrap/_badge.scss |