// Badges span.six-storage-badge.cc { min-width: 3rem; padding: 0 6px; margin-left: 14px; text-align: center; font-size: 1rem; line-height: $badge-height; height: $badge-height; color: color('six-storage-grey', 'darken-1'); float: right; box-sizing: border-box; &.new { font-weight: 300; font-size: 0.8rem; color: #fff; background-color: $badge-bg-color; border-radius: 2px; } &.new:after { content: " new"; } &[data-badge-caption]::after { content: " " attr(data-badge-caption); } } // Special cases nav ul a span.six-storage-badge.cc { display: inline-block; float: none; margin-left: 4px; line-height: $badge-height; height: $badge-height; -webkit-font-smoothing: auto; } // Line height centering .six-storage-collection-item span.six-storage-badge.cc { margin-top: calc(#{$collection-line-height / 2} - #{$badge-height / 2}); } .six-storage-collapsible span.six-storage-badge { margin-left: auto; } .six-storage-sidenav span.six-storage-badge { margin-top: calc(#{$sidenav-line-height / 2} - #{$badge-height / 2}); } table span.six-storage-badge.cc { display: inline-block; float: none; margin-left: auto; }