Previously, both Volume sliders and EV sliders use an outdated jQuery
slider library with no mobile support or accessibility.
Volume sliders are now HTML5, which means better accessibility and
mobile support.
We unfortunately can't move EV sliders to HTML5 because they do some
magic to constrain them to 510 total EVs, but EV sliders are
fortunately still accessible because they come with a textbox as an
alternate input.
Fixes the slider part of #954
Since real custom elements still have very limited availability, this is the most proper way to do it, and results in a more predictable HTML parsing.
Adds support for custom styles and classes.
Example: <psicon pokemon="meloetta" class="pixelated" style="opacity:0.4" />
The highlight color is now blue to match notifying tab colors. People
were complaining about the previous highlight color, so this should be
better.
Notifying PMs are still orange, though. I haven't been able to find a
nicer-looking blue for it.
Honestly, though, if night mode is supposed to help you sleep, you want
more orange and less blue... Maybe one day we'll be able to find a color
combination that actually looks good.
The timer was always kind of ugly and text-based, which is awkward on
non-wide screens, where you couldn't see it at all without switching
into the battle log.
The new version gives the timer a home at the upper right of the battle
choice screen (where the active Pokémon's HP used to be) (the active
Pokémon's HP has been moved next to "What will [pokemon] do?").
The spectator UI has also been updated, and now supports jumping to the
beginning/end of the battle, as well as forward/backward 1 turn,
regardless of whether the battle has ended.
In addition, a lot of other button layouts/appearances have been
improved.
This merges the CSS for buttons and tabbars the way they're merged in
regular light mode, making them more consistent with each other and in
general making them look nicer.
It's, in all, a matter of taste, but while I don't think this looks
_great_, I do think it's an improvement on what it looked like before.
The HTML/CSS behind the form for choosing Pokémon forms was getting
relatively unmaintainable, mainly because of an early hack for the
item icon location. The item icon's been move and the HTML is
easier to deal with now.
- Visible changeform button in dark mode
- Show all learned moves on alternate forms
- Stop the changeform click event from triggering when you click the Pokemon input box
This gives one pixel of horizontal space as overflow buffer for the
stats button in the teambuilder. It doesn't seem to improve the range
of zoom values in Chrome, but perhaps it'll help Firefox or something.
Before, the Chat and Battle buttons were both in the top left. This
moves the Chat button to the top right, and also makes them bigger and
adds icons, to make them easier to find.
Previously, battles required 955 pixels each to appear side by side. Now,
we still guarantee 955 (well, 956 now) pixels for the left battle, but
we'll show a mini (320px) battle on the right side if it fits.