← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands-website/searching_with_haystack_whoosh into lp:widelands-website

 

Yes that was a weird bug, but testing on mozilla I found out that this was a browser specific issue. See this stackoverflow: https://stackoverflow.com/questions/15497550/change-input-placeholder-color-darker


With your color this needs to be like this (don't know how to format code in launchpad):
/***********************************************************/
/* CSS for overrriding browser color change of placeholder */
/***********************************************************/
::-webkit-input-placeholder {
    color: #aaa;
    opacity: 1 !important; /* for older chrome versions. may no longer apply. */
}

:-moz-placeholder { /* Firefox 18- */
    color: #aaa;
    opacity: 1 !important;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #aaa;
    opacity: 1 !important;
}

:-ms-input-placeholder {  
   color: #aaa;
}



btw, I found other differences between chrome and mozilla. You should take a look. Here is a side by side comparison: https://imgur.com/WeqVkBz
-- 
https://code.launchpad.net/~widelands-dev/widelands-website/searching_with_haystack_whoosh/+merge/331605
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands-website/searching_with_haystack_whoosh into lp:widelands-website.


References