Previously, the userlist would be completely hidden in low
resolutions, but now a user count is displayed in the top left
corner. When clicked, the entire userlist appears.
This is supported on Chrome and Safari (and probably Opera), but
not Firefox because Firefox is too buggy.
(Honestly, every browser's HTML5 drag-and-drop implementation is
super buggy, but Firefox happens to be buggy in a way that makes
this feature semi-impossible.)
This is pretty experimental, but all the bugs I found are worked
out.
While researching how to best implement this, I came across the
famous PPK rant on why HTML5 drag-and-drop sucks:
http://quirksmode.org/blog/archives/2009/09/the_html5_drag.html
A lot of his complaints aren't really a big deal to me, but boy
was he right about browser bugs. Apparently mobile will never
support HTML5 drag-and-drop, either, and there are a lot of
other limitations. Oh well, this is all worth it for an
upcoming planned features: dragging and dropping team files to
and from your desktop.
This adds 1px top and bottom padding to popupmenu's button to match its
hover offset. Necessary because of a bug in Mozilla involving box-sizing
of buttons.
Chat room titles now turn orange and their icon changes when someone
talks in them. This is subtler than the highlight notification, and
should make it easier to keep up with rooms.
This change involves a refactor of the notification system, which
also happens to improve room-switching performance by only running
updateTopbar once instead of 3-5 times like it would before.
For now, battle chat is still at 8pt, but chatroom and PM font
size has been increased to 9pt. Join/leave messages, timestamps,
and user symbols in chat stay at 8pt, and timestamps are now
gray.
This adds in style for the new labels for the /weakness command, so that "Weaknesses:" is coloured red (the same as the red for .message-learn-cannotlearn for consistency reasons), "Resistances" is coloured blue, and "Immunities" is coloured grey. This reflects the changes to the command made in this pull request: https://github.com/Zarel/Pokemon-Showdown/pull/1116