|
104 | 104 | @include globals.typography(globals.$ion-body-action-sm); |
105 | 105 |
|
106 | 106 | min-height: #{globals.$ion-scale-1000}; |
| 107 | + min-width: globals.$ion-scale-1600; |
107 | 108 | } |
108 | 109 |
|
109 | 110 | /* Medium Button */ |
|
113 | 114 | @include globals.typography(globals.$ion-body-action-md); |
114 | 115 |
|
115 | 116 | min-height: #{globals.$ion-scale-1200}; |
| 117 | + min-width: globals.$ion-scale-1800; |
116 | 118 | } |
117 | 119 |
|
118 | 120 | /* Large Button */ |
|
122 | 124 | @include globals.typography(globals.$ion-body-action-lg); |
123 | 125 |
|
124 | 126 | min-height: #{globals.$ion-scale-1400}; |
| 127 | + min-width: globals.$ion-scale-2000; |
125 | 128 | } |
126 | 129 |
|
127 | 130 | // Button with Icons |
128 | 131 | // ------------------------------------------------------------------------------- |
129 | | - |
130 | | -/* Button containing only an icon */ |
131 | | -::slotted(ion-icon[slot="start"]), |
132 | | -::slotted(ion-icon[slot="end"]), |
133 | | -::slotted(ion-icon[slot="icon-only"]) { |
134 | | - font-size: globals.$ion-font-size-400; |
| 132 | +:host(.button-small) { |
| 133 | + ::slotted(ion-icon[slot="start"]), |
| 134 | + ::slotted(ion-icon[slot="end"]), |
| 135 | + ::slotted(ion-icon[slot="icon-only"]) { |
| 136 | + height: globals.$ion-scale-500; |
| 137 | + width: globals.$ion-scale-500; |
| 138 | + } |
135 | 139 | } |
136 | 140 |
|
137 | | -:host(.button-small), |
138 | 141 | :host(.button-large) { |
139 | 142 | ::slotted(ion-icon[slot="start"]), |
140 | 143 | ::slotted(ion-icon[slot="end"]), |
141 | 144 | ::slotted(ion-icon[slot="icon-only"]) { |
142 | | - font-size: inherit; |
| 145 | + height: globals.$ion-scale-600; |
| 146 | + width: globals.$ion-scale-600; |
143 | 147 | } |
144 | 148 | } |
145 | 149 |
|
146 | 150 | :host(.button-has-icon-only) { |
147 | 151 | --padding-end: var(--padding-top); |
| 152 | + min-width: unset; |
148 | 153 |
|
149 | 154 | aspect-ratio: 1 / 1; |
150 | 155 | } |
|
0 commit comments