|
7 | 7 | :host { |
8 | 8 | --background: #{globals.$ion-bg-surface-default}; |
9 | 9 | --background-activated: #{globals.$ion-bg-select-default}; |
| 10 | + --background-focused: #{globals.$ion-primitives-neutral-200}; |
| 11 | + --background-focused-opacity: 1; |
10 | 12 | --border-color: #{globals.$ion-primitives-neutral-300}; |
11 | 13 | --border-style: #{globals.$ion-border-style-solid}; |
12 | 14 | --border-width: #{0 0 globals.$ion-border-size-025 0}; |
@@ -72,17 +74,21 @@ slot[name="end"]::slotted(*) { |
72 | 74 | // Item: Focused |
73 | 75 | // -------------------------------------------------- |
74 | 76 |
|
75 | | -:host(.ion-focused) .item-native::after { |
76 | | - @include globals.border-radius(inherit); |
77 | | - @include globals.position(0, 0, 0, 0); |
| 77 | +:host(.ion-focused) .item-native{ |
| 78 | + --border-radius: #{globals.$ion-border-radius-400}; |
| 79 | + |
| 80 | + &::after { |
| 81 | + @include globals.border-radius(inherit); |
| 82 | + @include globals.position(0, 0, 0, 0); |
78 | 83 |
|
79 | | - position: absolute; |
| 84 | + position: absolute; |
80 | 85 |
|
81 | | - border-width: globals.$ion-border-size-050; |
82 | | - border-style: globals.$ion-border-style-solid; |
83 | | - border-color: globals.$ion-border-focus-default; |
| 86 | + border-width: globals.$ion-border-size-050; |
| 87 | + border-style: globals.$ion-border-style-solid; |
| 88 | + border-color: globals.$ion-border-focus-default; |
84 | 89 |
|
85 | | - content: ""; |
| 90 | + content: ""; |
| 91 | + } |
86 | 92 | } |
87 | 93 |
|
88 | 94 | // Ionic Item Lines |
|
0 commit comments