2016-12-09 15:17:10 -08:00
|
|
|
@import '../core/style/variables';
|
|
|
|
|
|
|
|
|
|
md-input-container {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
position: relative;
|
|
|
|
|
font-family: $md-font-family;
|
|
|
|
|
line-height: normal;
|
|
|
|
|
|
|
|
|
|
// To avoid problems with text-align.
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-input-element {
|
2017-01-05 17:34:03 -08:00
|
|
|
// Note that we can't use something like visibility: hidden or
|
|
|
|
|
// display: none, because IE ends up preventing the user from
|
|
|
|
|
// focusing the input altogether.
|
2016-12-09 15:17:10 -08:00
|
|
|
&::placeholder {
|
2017-01-05 17:34:03 -08:00
|
|
|
color: transparent;
|
|
|
|
|
}
|
|
|
|
|
&::-moz-placeholder {
|
|
|
|
|
color: transparent;
|
|
|
|
|
}
|
|
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
|
color: transparent;
|
|
|
|
|
}
|
|
|
|
|
&:-ms-input-placeholder {
|
2016-12-20 23:52:10 +02:00
|
|
|
color: transparent;
|
2016-12-09 15:17:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-end & {
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
|
|
[dir='rtl'] & {
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|