Viewer: replace find label with placeholder/tooltip

This is common in the rest of the UI and helps us prevent responsiveness
issues for different length strings in different locales.
This commit is contained in:
Jonas Jenwald 2017-03-08 23:53:59 +01:00 committed by Tim van der Meij
parent a544a3b4a4
commit c79e5b3f17
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
5 changed files with 22 additions and 5 deletions

View file

@ -372,6 +372,21 @@ html[dir='rtl'] .findbar {
-moz-user-select: none;
}
#findInput {
width: 200px;
}
#findInput::-webkit-input-placeholder {
font-style: italic;
}
#findInput::-moz-placeholder {
font-style: italic;
}
#findInput:-ms-input-placeholder {
font-style: italic;
}
#findInput::placeholder {
font-style: italic;
}
#findInput[data-status="pending"] {
background-image: url(images/loading-small.png);
background-repeat: no-repeat;