You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// Compatibility for browsers.
|
|
|
|
|
|
|
|
// Placeholder text
|
|
|
|
.placeholder(@color: @input-placeholder-color) {
|
|
|
|
// Firefox
|
|
|
|
&::-moz-placeholder {
|
|
|
|
color: @color;
|
|
|
|
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
|
|
|
}
|
|
|
|
// Internet Explorer 10+
|
|
|
|
&:-ms-input-placeholder {
|
|
|
|
color: @color;
|
|
|
|
}
|
|
|
|
// Safari and Chrome
|
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
color: @color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:placeholder-shown {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|