@@ -139,13 +139,6 @@ ion-icon {
139139 --border-width : #{globals .$ion-border-size-025 } ;
140140}
141141
142- // Textarea - Readonly
143- // ----------------------------------------------------------------
144-
145- :host (.textarea-readonly ) {
146- --background : #{globals .$ion-primitives-neutral-100 } ;
147- }
148-
149142// Textarea Highlight
150143// ----------------------------------------------------------------
151144
@@ -175,6 +168,15 @@ ion-icon {
175168 transform : scale (1 );
176169}
177170
171+ // Textarea Hover
172+ // ----------------------------------------------------------------
173+
174+ @media (any-hover : hover) {
175+ :host (:hover ) {
176+ --border-color : #{globals .$ion-primitives-neutral-600 } ;
177+ }
178+ }
179+
178180// Textarea - Disabled
179181// ----------------------------------------------------------------
180182
@@ -183,31 +185,18 @@ ion-icon {
183185 --background : #{globals .$ion-primitives-neutral-100 } ;
184186 --border-color : #{globals .$ion-primitives-neutral-300 } ;
185187 --placeholder-color : #{globals .$ion-primitives-neutral-500 } ;
186-
187- pointer-events : none ;
188188}
189189
190190:host (.textarea-disabled :not (.ion-valid )) .textarea-bottom .helper-text ,
191191:host (.textarea-disabled ) .textarea-bottom .counter ,
192- :host (.textarea-disabled ) .label-text-wrapper {
192+ :host (.textarea-disabled ) .label-text-wrapper ,
193+ :host (.textarea-disabled ) .ion-icon {
193194 color : globals .$ion-primitives-neutral-500 ;
194195}
195196
196- :host (.textarea-disabled.has-focus.ion-valid ) {
197- --border-color : rgba (#{globals .$ion-semantics-success-base-rgb } , 0.6 );
198- }
199-
200- :host (.textarea-disabled.ion-touched.ion-invalid ) {
201- --border-color : rgba (#{globals .$ion-semantics-danger-base-rgb } , 0.6 );
202- }
203-
204- :host (.textarea-disabled.ion-color ) {
205- --border-color : #{current-color (base , 0.6 )} ;
206- }
197+ // Textarea - Readonly
198+ // ----------------------------------------------------------------
207199
208- :host (.textarea-disabled.has-focus.ion-valid ) .textarea-bottom .helper-text ,
209- :host (.textarea-disabled.ion-touched.ion-invalid ) .error-text ,
210- :host (.textarea-disabled.ion-color ) .textarea-bottom .helper-text ,
211- :host (.textarea-disabled.ion-color ) .helper-text {
212- opacity : 0.6 ;
200+ :host (.textarea-readonly ) {
201+ --background : #{globals .$ion-primitives-neutral-100 } ;
213202}
0 commit comments