whoogle-search/app/static
Joao A. Candido Ramos 11099f7b1d
Use consistent header for all result types (#535)
Introduces a header for switching between result types (i.e. "All", "News",
etc) that is consistent between the different result types. Previously, image
results had a tab header that was formatted in a drastically different manner,
which was jarring when switching from a different result page to the Images
page.

Created a G class enum to reference class names returned in search
results. As noted in the class doc, this should only be used/updated as
a last resort, as class names change frequently. For some instances,
such as replacing the tbm tab, it's a lot easier to just replace by
header name than attempting to replace it based on how the element is
structured.

Also updated a few styles to revert the latest styling changes being
applied by Google.

Co-authored-by: jacr13 <ramos.joao@protonmail.com>
Co-authored-by: Ben Busby <contact@benbusby.com>
2022-02-07 10:47:25 -07:00
..
build Ensure existence of static build dir 2021-07-02 16:21:38 -04:00
css Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00
img Configure PWA for mobile browsers (#234) 2021-04-05 11:00:56 -04:00
js Add tools for currency conversion in search results (#536) 2021-12-06 22:56:13 -07:00
settings Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00