Merge pull request #2356 from thelounge/xpaw/placeholder

Update placeholder rules for modern browsers
This commit is contained in:
Jérémie Astori 2018-04-14 17:22:28 -04:00 committed by GitHub
commit a242fb15a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,16 @@
--link-color: #50a656;
}
/* Samsung Internet <7.0 and Microsoft Edge support (yes, both of them use webkit prefix) */
::-webkit-input-placeholder {
color: rgba(0, 0, 0, 0.35);
}
::placeholder {
color: rgba(0, 0, 0, 0.35);
opacity: 1; /* fix opacity in Firefox */
}
html,
body {
height: 100%;
@ -180,19 +190,6 @@ kbd {
max-width: 600px;
}
::-moz-placeholder {
color: rgba(0, 0, 0, 0.35);
opacity: 1;
}
::-webkit-input-placeholder {
color: rgba(0, 0, 0, 0.35);
}
:-ms-input-placeholder {
color: rgba(0, 0, 0, 0.35) !important;
}
#js-copy-hack,
#loading pre,
#help,