|
93 | 93 | // -------------------------------------------------- |
94 | 94 |
|
95 | 95 | :host ::slotted(ion-badge) { |
96 | | - @include globals.position($start: calc(50% + globals.$ion-scale-300)); |
| 96 | + @include globals.position(null, null, null, calc(50% + globals.$ion-scale-300)); |
97 | 97 | } |
98 | 98 |
|
99 | 99 | :host ::slotted(ion-badge.badge-vertical-top) { |
100 | | - @include globals.position($top: -2px); |
| 100 | + @include globals.position(-2px, null, null, null); |
101 | 101 | } |
102 | 102 |
|
103 | 103 | :host ::slotted(ion-badge.badge-vertical-top:empty) { |
104 | | - @include globals.position($top: calc(globals.$ion-scale-100 * -1)); |
| 104 | + @include globals.position(calc(globals.$ion-scale-100 * -1), null, null, null); |
105 | 105 | } |
106 | 106 |
|
107 | 107 | :host ::slotted(ion-badge.badge-vertical-bottom) { |
108 | | - @include globals.position($top: calc(50% - globals.$ion-scale-200)); |
| 108 | + @include globals.position(calc(50% - globals.$ion-scale-200), null, null, null); |
109 | 109 | } |
110 | 110 |
|
111 | 111 | :host ::slotted(ion-badge.badge-vertical-bottom:empty) { |
112 | | - @include globals.position($top: calc(50% - globals.$ion-scale-100)); |
| 112 | + @include globals.position(calc(50% - globals.$ion-scale-100), null, null, null); |
113 | 113 | } |
114 | 114 |
|
115 | 115 | :host ::slotted(ion-badge[vertical]:not(:empty)) { |
|
127 | 127 | } |
128 | 128 |
|
129 | 129 | :host(.tab-layout-icon-bottom) ::slotted(ion-badge.badge-vertical-top) { |
130 | | - @include globals.position($top: calc(50% - globals.$ion-scale-100)); |
| 130 | + @include globals.position(calc(50% - globals.$ion-scale-100), null, null, null); |
131 | 131 | } |
132 | 132 |
|
133 | 133 | :host(.tab-layout-icon-bottom) ::slotted(ion-badge.badge-vertical-bottom) { |
134 | | - @include globals.position($top: calc(50% + globals.$ion-scale-100)); |
| 134 | + @include globals.position(calc(50% + globals.$ion-scale-100), null, null, null); |
135 | 135 | } |
136 | 136 |
|
137 | 137 | :host(.tab-layout-icon-bottom) ::slotted(ion-badge.badge-vertical-bottom:empty) { |
138 | | - @include globals.position($top: calc(50% + 14px)); |
| 138 | + @include globals.position(calc(50% + 14px), null, null, null); |
139 | 139 | } |
0 commit comments