Files
Brandy Carney 32f24f0b19 refactor(text-input): changed text-input references to item-input
cleaned up main text-input Sass file references #689
2015-12-08 16:01:25 -05:00

59 lines
936 B
SCSS

@import "../../globals.core";
// Text Input
// --------------------------------------------------
$text-input-textarea-resize: none !default;
// All Inputs in ion-input
// --------------------------------------------------
.item-input {
display: block;
background: transparent;
border: 0;
flex: 1;
pointer-events: none;
}
// Scroll Assist
// --------------------------------------------------
[scroll-assist] {
width: 1px;
height: 1px;
background: transparent;
border: 0;
pointer-events: none;
}
// Input focused
// --------------------------------------------------
.input-focused .item-input {
pointer-events: auto;
}
// Input textarea
// --------------------------------------------------
textarea {
height: auto;
overflow: auto;
font: inherit;
color: inherit;
}
.platform-mobile textarea {
resize: $text-input-textarea-resize;
}
input,
textarea {
@include placeholder();
}