Roeland Jago Douma
2fc458479e
[Avatars] Calculate 'sane' hue precissions
...
We used to get the numeric value of the entrire md5 string which is a
128bit integer. We would then devide this by the maxval of a 128bit int.
There is no need for such huge computations. As we just require a value
between 0 and 255. Thus using two 16 bit values is more than enough to
get the precision we need. By just taking the MSB we get nearly
identical results.
2015-12-24 10:50:12 +01:00
Roeland Jago Douma
6248bad0f7
Add a default size to the avatar placeholders
...
This removed the need to do an avatar request on the "empty" row in the
user settings.
2015-12-17 16:30:23 +01:00
Jan-Christoph Borchardt
79c5790a72
use normal font weight instead of bold for image placeholders
2015-05-22 03:26:30 +02:00
Vincent Petry
9aa164f381
Renamed current placeholder jquery plugin to imageplaceholder
...
This is to prevent conflicts with jquery libs that handle text
placeholders in IE8
2013-10-23 16:47:25 +02:00
kondou
5e7a7b3f61
Shorten optional text-argument processing
2013-09-25 17:19:38 +02:00
kondou
24eb41548e
Make it possible to have a different color than the username for placeholder
2013-09-25 12:57:41 +02:00
Jan-Christoph Borchardt
9eeb27c91a
placeholder.js: fix typo
2013-09-02 18:29:16 +02:00
Jan-Christoph Borchardt
57a1219ca0
placeholder.js: adjust saturation and lightness values
2013-09-02 18:20:18 +02:00
Morris Jobke
e7a14ea32d
RGB -> HSL
2013-09-02 16:41:18 +02:00
Thomas Müller
6502a148ec
fixing typo
2013-08-28 23:04:55 +02:00
Morris Jobke
067815099f
calculate fontsize and line-height
2013-08-28 21:54:20 +02:00
Morris Jobke
ed2fa06a26
reviewers comments
2013-08-28 16:52:12 +02:00