|
60 | 60 | line-height: globals.$ion-font-line-height-400; |
61 | 61 | } |
62 | 62 |
|
| 63 | +:host(.badge-xxsmall) ::slotted(ion-icon) { |
| 64 | + width: globals.$ion-scale-300; |
| 65 | + height: globals.$ion-scale-300; |
| 66 | +} |
| 67 | + |
63 | 68 | /* Extra Small Badge */ |
64 | 69 | :host(.badge-xsmall) { |
65 | 70 | --padding-start: #{globals.$ion-space-100}; |
|
73 | 78 | line-height: globals.$ion-font-line-height-600; |
74 | 79 | } |
75 | 80 |
|
| 81 | +:host(.badge-xsmall) ::slotted(ion-icon) { |
| 82 | + width: globals.$ion-scale-400; |
| 83 | + height: globals.$ion-scale-400; |
| 84 | +} |
| 85 | + |
76 | 86 | /* Small Badge */ |
77 | 87 | :host(.badge-small) { |
78 | 88 | --padding-start: #{globals.$ion-space-100}; |
|
86 | 96 | line-height: globals.$ion-font-line-height-600; |
87 | 97 | } |
88 | 98 |
|
| 99 | +:host(.badge-small) ::slotted(ion-icon) { |
| 100 | + width: globals.$ion-scale-500; |
| 101 | + height: globals.$ion-scale-500; |
| 102 | +} |
| 103 | + |
89 | 104 | /* Medium Badge */ |
90 | 105 | :host(.badge-medium) { |
91 | 106 | min-width: globals.$ion-scale-1000; |
|
96 | 111 | line-height: globals.$ion-font-line-height-700; |
97 | 112 | } |
98 | 113 |
|
| 114 | +:host(.badge-medium) ::slotted(ion-icon) { |
| 115 | + width: globals.$ion-scale-600; |
| 116 | + height: globals.$ion-scale-600; |
| 117 | +} |
| 118 | + |
99 | 119 | /* Large Badge */ |
100 | 120 | :host(.badge-large) { |
101 | 121 | min-width: globals.$ion-scale-1200; |
|
106 | 126 | line-height: globals.$ion-font-line-height-700; |
107 | 127 | } |
108 | 128 |
|
| 129 | +:host(.badge-large) ::slotted(ion-icon) { |
| 130 | + width: globals.$ion-scale-800; |
| 131 | + height: globals.$ion-scale-800; |
| 132 | +} |
| 133 | + |
109 | 134 | /* Extra Large Badge */ |
110 | 135 | :host(.badge-xlarge) { |
111 | 136 | min-width: globals.$ion-scale-1400; |
|
115 | 140 |
|
116 | 141 | line-height: globals.$ion-font-line-height-700; |
117 | 142 | } |
| 143 | + |
| 144 | +:host(.badge-xlarge) ::slotted(ion-icon) { |
| 145 | + width: globals.$ion-scale-1000; |
| 146 | + height: globals.$ion-scale-1000; |
| 147 | +} |
0 commit comments