Update placeholder rules for modern browsers

This commit is contained in:
Pavel Djundik 2018-04-14 10:24:39 +03:00 committed by GitHub
parent 81188e8ef6
commit 09482aed7b
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,