Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1f201ddf7 | ||
|
|
a41be433b9 | ||
|
|
f10c1c404f | ||
|
|
0c2616dfef | ||
|
|
8de58d8181 | ||
|
|
0d0d39c6fb | ||
|
|
001f4abe14 | ||
|
|
478d18b1a3 | ||
|
|
8be50c042d | ||
|
|
9dedfdf401 | ||
|
|
4f299443c1 | ||
|
|
564fa3f7ba |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@@ -59,9 +59,9 @@
|
||||
:host(.button-outline) {
|
||||
--border-width: #{globals.$ion-border-size-025};
|
||||
--border-style: #{globals.$ion-border-style-solid};
|
||||
--background-activated: #{globals.ion-color(primary, shade, $subtle: true)};
|
||||
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
|
||||
--background-focused: transparent;
|
||||
--background-hover: #{globals.ion-color(primary, shade, $subtle: true)};
|
||||
--background-hover: #{globals.$ion-bg-neutral-subtlest-press};
|
||||
--background-hover-opacity: 1;
|
||||
--border-color: #{globals.ion-color(primary, base)};
|
||||
--color: #{globals.ion-color(primary, base)};
|
||||
@@ -69,20 +69,13 @@
|
||||
--ripple-color: var(--background-activated);
|
||||
}
|
||||
|
||||
// Warning Outline Button - use foreground color for text and border
|
||||
:host(.button-outline.ion-color-warning) .button-native {
|
||||
border-color: globals.ion-color(warning, foreground);
|
||||
|
||||
color: globals.ion-color(warning, foreground);
|
||||
}
|
||||
|
||||
// Clear Button
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.button-clear) {
|
||||
--background-activated: #{globals.ion-color(primary, shade, $subtle: true)};
|
||||
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
|
||||
--background-focused: transparent;
|
||||
--background-hover: #{globals.ion-color(primary, shade, $subtle: true)};
|
||||
--background-hover: #{globals.$ion-bg-neutral-subtlest-press};
|
||||
--background-hover-opacity: 1;
|
||||
--color: #{globals.ion-color(primary, foreground)};
|
||||
--ripple-opacity: var(--background-activated-opacity, 1);
|
||||
@@ -98,7 +91,7 @@
|
||||
|
||||
:host(.button-outline.ion-color) ion-ripple-effect,
|
||||
:host(.button-clear.ion-color) ion-ripple-effect {
|
||||
color: globals.current-color(shade, $subtle: true);
|
||||
color: globals.$ion-primitives-neutral-200;
|
||||
}
|
||||
|
||||
// Button Sizes
|
||||
@@ -185,21 +178,21 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.button-soft) {
|
||||
--border-radius: #{globals.$ion-soft-xs};
|
||||
--border-radius: #{globals.$ion-border-radius-200};
|
||||
}
|
||||
|
||||
// Round Button
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.button-round) {
|
||||
--border-radius: #{globals.$ion-round-xs};
|
||||
--border-radius: #{globals.$ion-border-radius-full};
|
||||
}
|
||||
|
||||
// Rectangular Button
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.button-rectangular) {
|
||||
--border-radius: #{globals.$ion-rectangular-xs};
|
||||
--border-radius: #{globals.$ion-border-radius-0};
|
||||
}
|
||||
|
||||
// Button: Focus
|
||||
@@ -218,15 +211,8 @@
|
||||
background: globals.current-color(shade);
|
||||
}
|
||||
|
||||
:host(.button-outline.ion-color.ion-activated) .button-native::after,
|
||||
:host(.button-clear.ion-color.ion-activated) .button-native::after {
|
||||
background: globals.current-color(shade, $subtle: true);
|
||||
}
|
||||
|
||||
:host(.ion-activated) .button-native:has(ion-ripple-effect)::after,
|
||||
:host(.button-solid.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after,
|
||||
:host(.button-outline.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after,
|
||||
:host(.button-clear.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after {
|
||||
:host(.button-solid.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@@ -237,11 +223,6 @@
|
||||
:host(.button-solid.ion-color:hover) .button-native::after {
|
||||
background: globals.current-color(shade);
|
||||
}
|
||||
|
||||
:host(.button-outline.ion-color:hover) .button-native::after,
|
||||
:host(.button-clear.ion-color:hover) .button-native::after {
|
||||
background: globals.current-color(shade, $subtle: true);
|
||||
}
|
||||
}
|
||||
|
||||
// Button: Disabled
|
||||
|
||||
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 164 KiB |
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 155 KiB |
|
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 153 KiB |
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 174 KiB |
|
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.0 KiB |
@@ -56,8 +56,7 @@
|
||||
<ion-select-option value="primary">Primary</ion-select-option>
|
||||
<ion-select-option value="success">Success</ion-select-option>
|
||||
<ion-select-option value="warning">Warning</ion-select-option>
|
||||
<ion-select-option value="medium">Medium</ion-select-option>
|
||||
<ion-select-option value="danger">Danger</ion-select-option>
|
||||
<ion-select-option value="neutral">Neutral</ion-select-option>
|
||||
</ion-select>
|
||||
</p>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 39 KiB |
@@ -129,6 +129,13 @@
|
||||
background: var(--separator-color);
|
||||
}
|
||||
|
||||
// Fills
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.input-otp-fill-outline) {
|
||||
--background: none;
|
||||
}
|
||||
|
||||
// States
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
@@ -68,24 +68,20 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.input-otp-shape-round) {
|
||||
--border-radius: #{globals.$ion-round-xl};
|
||||
--border-radius: #{globals.$ion-border-radius-400};
|
||||
}
|
||||
|
||||
:host(.input-otp-shape-soft) {
|
||||
--border-radius: #{globals.$ion-soft-xl};
|
||||
--border-radius: #{globals.$ion-border-radius-200};
|
||||
}
|
||||
|
||||
:host(.input-otp-shape-rectangular) {
|
||||
--border-radius: #{globals.$ion-rectangular-xl};
|
||||
--border-radius: #{globals.$ion-border-radius-0};
|
||||
}
|
||||
|
||||
// Fills
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.input-otp-fill-outline) {
|
||||
--background: #{globals.$ion-bg-input-default};
|
||||
}
|
||||
|
||||
:host(.input-otp-fill-solid) {
|
||||
--border-color: #{globals.$ion-bg-input-bold-default};
|
||||
--background: #{globals.$ion-bg-input-bold-default};
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 534 B |
|
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 653 B |
|
Before Width: | Height: | Size: 575 B After Width: | Height: | Size: 526 B |
|
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 609 B After Width: | Height: | Size: 578 B |
|
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 575 B |
@@ -108,30 +108,30 @@
|
||||
// Ionic Input Sizes
|
||||
// --------------------------------------------------
|
||||
|
||||
:host(.input-size-small) {
|
||||
:host(.input-size-medium) {
|
||||
--padding-start: #{globals.$ion-space-300};
|
||||
--padding-end: #{globals.$ion-space-300};
|
||||
}
|
||||
|
||||
:host(.input-size-medium) {
|
||||
:host(.input-size-large) {
|
||||
--padding-start: #{globals.$ion-space-400};
|
||||
--padding-end: #{globals.$ion-space-400};
|
||||
}
|
||||
|
||||
:host(.input-size-large) {
|
||||
:host(.input-size-xlarge) {
|
||||
--padding-start: #{globals.$ion-space-500};
|
||||
--padding-end: #{globals.$ion-space-500};
|
||||
}
|
||||
|
||||
:host(.input-size-small) .native-wrapper {
|
||||
:host(.input-size-medium) .native-wrapper {
|
||||
min-height: globals.$ion-scale-1000;
|
||||
}
|
||||
|
||||
:host(.input-size-medium) .native-wrapper {
|
||||
:host(.input-size-large) .native-wrapper {
|
||||
min-height: globals.$ion-scale-1200;
|
||||
}
|
||||
|
||||
:host(.input-size-large) .native-wrapper {
|
||||
:host(.input-size-xlarge) .native-wrapper {
|
||||
min-height: globals.$ion-scale-1400;
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.1 KiB |