mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
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:
parent
6bbafd1c3e
commit
6e05d852ee
@ -453,22 +453,16 @@ form.icinga-form .form-info {
|
|||||||
// Placeholder styles
|
// Placeholder styles
|
||||||
|
|
||||||
.icinga-controls {
|
.icinga-controls {
|
||||||
input:-moz-placeholder { // FF 18-
|
input::placeholder {
|
||||||
color: @gray;
|
color: @disabled-gray;
|
||||||
opacity: 1;
|
font-style: italic;
|
||||||
}
|
|
||||||
|
|
||||||
input::-moz-placeholder { // FF 19+
|
|
||||||
color: @gray;
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:-ms-input-placeholder {
|
input:-ms-input-placeholder {
|
||||||
color: @gray;
|
color: @disabled-gray;
|
||||||
}
|
font-style: italic;
|
||||||
|
opacity: 1;
|
||||||
input::-webkit-input-placeholder {
|
|
||||||
color: @gray;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user