mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
41 lines
501 B
SCSS
41 lines
501 B
SCSS
|
|
// Text Input
|
|
// --------------------------------------------------
|
|
|
|
|
|
ion-input {
|
|
display: block;
|
|
}
|
|
|
|
.key-input ion-input {
|
|
|
|
&.has-focus {
|
|
border-color: #51a7e8;
|
|
box-shadow: inset 0px 0px 8px 0px #51a7e8;
|
|
}
|
|
|
|
:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.item.input {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.item.input .text-input {
|
|
flex: 1;
|
|
}
|
|
|
|
ion-input .text-input {
|
|
pointer-events: none;
|
|
}
|
|
|
|
ion-input.has-focus .text-input {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.item.input textarea {
|
|
padding-top: 9px;
|
|
}
|