File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
core/src/components/textarea Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 6060 margin-top : globals .$ion-space-100 ;
6161}
6262
63- // Input Focus
63+ // Ionic Textarea - Readonly
6464// ----------------------------------------------------------------
6565
66- :host (.textarea-fill-outline.has-focus ) {
67- --border-width : #{globals .$ion-border-size-050 } ;
68- }
66+ :host (.textarea-fill-outline.textarea-readonly ) {
67+ --border-color : #{globals .$ion-border-input-default } ;
68+ --border-width : #{globals .$ion-border-size-025 } ;
69+ }
Original file line number Diff line number Diff line change @@ -178,6 +178,8 @@ ion-icon {
178178
179179:host (.has-focus ) {
180180 --border-color : #{globals .$ion-border-focus-default } ;
181+ --border-width : #{globals .$ion-border-size-050 } ;
182+
181183}
182184
183185:host (.has-focus ) .textarea-highlight {
Original file line number Diff line number Diff line change 55
66:host (.textarea-fill-solid ) {
77 --border-color : #{globals .$ion-bg-input-bold-default } ;
8+ --border-width : #{globals .$ion-border-size-050 } ;
89 --background : #{globals .$ion-bg-input-bold-default } ;
910}
1011
1516}
1617
1718:host (.textarea-fill-solid ) .textarea-wrapper-inner {
18- --border-width : #{globals .$ion-border-size-050 } ;
19-
2019 @include globals .border-radius (var (--border-radius ));
2120 position : relative ;
2221
2524 background : var (--background );
2625}
2726
27+ :host (.textarea-fill-solid ) .textarea-bottom {
28+ --border-width : #{globals .$ion-scale-0 } ;
29+ }
2830
2931// Focus
3032// ----------------------------------------------------------------
3133
3234:host (.textarea-fill-solid.has-focus ) {
33- --border-width : #{globals .$ion-border-size-050 } ;
3435 --border-color : #{globals .$ion-border-focus-default } ;
3536}
3637
38+ :host (.textarea-fill-solid.has-focus.ion-valid ){
39+ --border-width : #{globals .$ion-border-size-050 } ;
40+ }
41+
3742// Ionic Textarea - Readonly
3843// ----------------------------------------------------------------
3944
5055// ----------------------------------------------------------------
5156
5257:host (.textarea-fill-solid.textarea-disabled ) {
53- --color : #{globals .$ion-text-disabled } ;
5458 --background : #{globals .$ion-bg-input-bold-disabled } ;
5559 --border-color : #{globals .$ion-bg-input-bold-disabled } ;
56- --placeholder-color : #{globals .$ion-text-disabled } ;
5760}
You can’t perform that action at this time.
0 commit comments