1 | @import "../../themes/ionic.globals";
|
2 |
|
3 | // Badge
|
4 | // --------------------------------------------------
|
5 |
|
6 | /// @prop - Font size of the badge
|
7 | $badge-font-size: 1.3rem !default;
|
8 |
|
9 | /// @prop - Font weight of the badge
|
10 | $badge-font-weight: bold !default;
|
11 |
|
12 |
|
13 | ion-badge {
|
14 | @include padding(3px, 8px);
|
15 | @include text-align(center);
|
16 |
|
17 | display: inline-block;
|
18 |
|
19 | min-width: 10px;
|
20 |
|
21 | font-size: $badge-font-size;
|
22 | font-weight: $badge-font-weight;
|
23 | line-height: 1;
|
24 |
|
25 | white-space: nowrap;
|
26 | vertical-align: baseline;
|
27 | }
|
28 |
|
29 | ion-badge:empty {
|
30 | display: none;
|
31 | }
|