pokemon-showdown-client/style
Guangcong Luo 11e3863aa7 Improve utilichart/search code
The utilichart-relevant code has been overhauled for simplicity.

Utilichart results and headers are now both 33 pixels tall, total.

Headers are slightly larger, to make them fill the space better. The
larger font size makes them more header-like, anyway.

Results are two pixels taller than before, giving them enough room for
gen 6 pokemon icons (not enabled in this commit), and in general
aiding performance slightly (fewer result rows on the screen at a
time).

Making them both 33 pixels allows height to be computed precisely
as 33*rows, which is relevant for result rows to be inserted into
the DOM on-demand.

On-demand DOM insertion has previously been implemented in pokedex.js,
but the new on-demand DOM code in search.js works slightly differently.
It makes stronger assumptions (that the only bottleneck is DOM
insertion speed, and that ctrl+f without scrolling to the bottom
doesn't need to be supported, and that result rows and result
headers are always 33 pixels tall), which makes for much simpler
code, and is presumably slightly faster because of this.

The new on-demand DOM code is surfaced by an "All results" button
in the pokedex (pokemonshowdown.com/dex/), for basic testing, but
the long-term plan is for it to be used in the teambuilder for
pokemon/etc selection, to massively increase performance.

Nearly two years after I wrote search.js to be a better utilichart
API than utilichart.js, we'll soon finally start using it in place of
utilichart.js in the main sim teambuilder!
2015-12-20 04:28:15 -05:00
..
font Work around CloudFlare cache issue 2015-09-26 01:52:12 -04:00
fonts Update Font Awesome to 4.4.0 2015-09-25 02:46:34 -05:00
slider Add jslider 2013-05-06 00:32:39 -07:00
battle.css Use relative URIs in CSS where possible 2015-12-13 13:25:41 -05:00
client.css Improve utilichart/search code 2015-12-20 04:28:15 -05:00
font-awesome.css Work around CloudFlare cache issue 2015-09-26 01:52:12 -04:00
hpbartest.html Test page for HP bar colors 2013-03-29 10:20:50 -07:00
jquery.slider.min.css Add jslider 2013-05-06 00:32:39 -07:00
replay.css Downloadable replays! 2015-12-07 03:19:46 -05:00
sim-types.css Remove outdated -webkit and -moz CSS 2015-06-28 00:50:16 -04:00
utilichart.css Improve utilichart/search code 2015-12-20 04:28:15 -05:00