|
102 | 102 | // ------------------------------------------------------------------------------- |
103 | 103 |
|
104 | 104 | /* Small Button */ |
105 | | -/* Extra Small Button */ |
106 | | -:host(.button-small), |
107 | | -:host(.button-xsmall) { |
| 105 | +:host(.button-small) { |
108 | 106 | --padding-top: #{globals.$ion-space-200}; |
109 | 107 | --padding-end: #{globals.$ion-space-400}; |
110 | 108 |
|
|
114 | 112 | } |
115 | 113 |
|
116 | 114 | /* Large Button */ |
117 | | -/* Extra Large Button */ |
118 | | -:host(.button-large), |
119 | | -:host(.button-xlarge) { |
| 115 | +:host(.button-large) { |
120 | 116 | --padding-top: #{globals.$ion-space-400}; |
121 | 117 | --padding-end: #{globals.$ion-space-600}; |
122 | 118 |
|
|
135 | 131 | font-size: globals.$ion-font-size-400; |
136 | 132 | } |
137 | 133 |
|
138 | | -:host(.button-xsmall), |
139 | 134 | :host(.button-small), |
140 | | -:host(.button-large), |
141 | | -:host(.button-xlarge) { |
| 135 | +:host(.button-large) { |
142 | 136 | ::slotted(ion-icon[slot="start"]), |
143 | 137 | ::slotted(ion-icon[slot="end"]), |
144 | 138 | ::slotted(ion-icon[slot="icon-only"]) { |
|
166 | 160 | height: globals.$ion-space-500; |
167 | 161 | } |
168 | 162 |
|
169 | | -:host(.button-xlarge) ::slotted(ion-spinner) { |
170 | | - width: globals.$ion-space-600; |
171 | | - height: globals.$ion-space-600; |
172 | | -} |
173 | | - |
174 | 163 | // Button Shapes |
175 | 164 | // ------------------------------------------------------------------------------- |
176 | 165 |
|
|
181 | 170 | --border-radius: #{globals.$ion-border-radius-200}; |
182 | 171 | } |
183 | 172 |
|
184 | | -:host(.button-soft.button-xsmall), |
185 | 173 | :host(.button-soft.button-small) { |
186 | 174 | --border-radius: #{globals.$ion-border-radius-100}; |
187 | 175 | } |
|
247 | 235 | font-size: globals.$ion-font-size-500; |
248 | 236 | } |
249 | 237 |
|
250 | | -:host(.button-xsmall) ::slotted(ion-icon[slot="start"]), |
251 | | -:host(.button-xsmall) ::slotted(ion-spinner[slot="start"]), |
252 | 238 | :host(.button-small) ::slotted(ion-icon[slot="start"]), |
253 | 239 | :host(.button-small) ::slotted(ion-spinner[slot="start"]) { |
254 | 240 | @include globals.margin-horizontal(null, globals.$ion-space-200); |
|
260 | 246 | } |
261 | 247 |
|
262 | 248 | :host(.button-large) ::slotted(ion-icon[slot="start"]), |
263 | | -:host(.button-large) ::slotted(ion-spinner[slot="start"]), |
264 | | -:host(.button-xlarge) ::slotted(ion-icon[slot="start"]), |
265 | | -:host(.button-xlarge) ::slotted(ion-spinner[slot="start"]) { |
| 249 | +:host(.button-large) ::slotted(ion-spinner[slot="start"]) { |
266 | 250 | @include globals.margin-horizontal(null, globals.$ion-space-300); |
267 | 251 | } |
268 | 252 |
|
269 | | -:host(.button-xsmall) ::slotted(ion-icon[slot="end"]), |
270 | | -:host(.button-xsmall) ::slotted(ion-spinner[slot="end"]), |
271 | 253 | :host(.button-small) ::slotted(ion-icon[slot="end"]), |
272 | 254 | :host(.button-small) ::slotted(ion-spinner[slot="end"]) { |
273 | 255 | @include globals.margin-horizontal(globals.$ion-space-200, null); |
|
279 | 261 | } |
280 | 262 |
|
281 | 263 | :host(.button-large) ::slotted(ion-icon[slot="end"]), |
282 | | -:host(.button-large) ::slotted(ion-spinner[slot="end"]), |
283 | | -:host(.button-xlarge) ::slotted(ion-icon[slot="end"]), |
284 | | -:host(.button-xlarge) ::slotted(ion-spinner[slot="end"]) { |
| 264 | +:host(.button-large) ::slotted(ion-spinner[slot="end"]) { |
285 | 265 | @include globals.margin-horizontal(globals.$ion-space-300, null); |
286 | 266 | } |
287 | 267 |
|
|
0 commit comments