Files
ionic-framework/scss/_badge.scss
2013-11-13 08:53:31 -06:00

59 lines
981 B
SCSS

/**
* Badges
* --------------------------------------------------
*/
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 8px;
font-size: $badge-font-size;
font-weight: $badge-font-weight;
color: $badge-color;
line-height: $badge-line-height;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: $badge-bg;
border-radius: $badge-border-radius;
&:empty {
display: none;
}
}
// Quick fix for labels/badges in buttons
.button .badge {
position: relative;
top: -1px;
}
.badge-light {
background-color: $light;
}
.badge-stable {
background-color: $stable;
}
.badge-positive {
background-color: $positive;
}
.badge-calm {
background-color: $calm;
}
.badge-assertive {
background-color: $assertive;
}
.badge-balanced {
background-color: $balanced;
}
.badge-energized {
background-color: $energized;
}
.badge-royal {
background-color: $royal;
}
.badge-dark {
background-color: $dark;
}