Merge pull request #2356 from thelounge/xpaw/placeholder
Update placeholder rules for modern browsers
This commit is contained in:
commit
a242fb15a3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user