Forms: Distinguish placeholders from real values (#3911)

We now also use the ::placeholder pseudo-element selector instead of
several vendor prefixes.
This commit is contained in:
Eric Lippmann 2019-08-12 12:54:44 +02:00 committed by Johannes Meyer
parent 6bbafd1c3e
commit 6e05d852ee
1 changed files with 6 additions and 12 deletions

View File

@ -453,22 +453,16 @@ form.icinga-form .form-info {
// Placeholder styles
.icinga-controls {
input:-moz-placeholder { // FF 18-
color: @gray;
opacity: 1;
}
input::-moz-placeholder { // FF 19+
color: @gray;
input::placeholder {
color: @disabled-gray;
font-style: italic;
opacity: 1;
}
input:-ms-input-placeholder {
color: @gray;
}
input::-webkit-input-placeholder {
color: @gray;
color: @disabled-gray;
font-style: italic;
opacity: 1;
}
}