Javi Martín
ede4515230
Remove unused stats styles
...
These classes aren't used since commit e5a2440e9 and the styles were
accidentally added when bringing code from Madrid's fork in commit
ba67bb2f9 .
2021-06-29 19:41:58 +02:00
Javi Martín
66ecb2835b
Show only available budget stats phases
...
This way we can show statistics for the supports phase before the vote
phase is over.
2019-05-21 13:50:18 +02:00
Javi Martín
ba67bb2f98
Move survey district styles to stats stylesheet
...
So these styles are available in CONSUL.
Note we're not including these styles inside `.participation-stats`
because this class is used in Plaza de España's statistics.
2019-05-21 13:50:18 +02:00
decabeza
fdeef72189
Fix lint warnings on stats scss
2019-05-21 13:50:17 +02:00
decabeza
a886b8ae59
Make stats numbers smaller
...
The number of total participants is still written using a larger font
because it's the most important number.
2019-05-21 13:50:17 +02:00
decabeza
6410d4c3e5
Replace data equalizer with css
...
Data equalizer was used to show a border to separate sidebar from the content. Now is the same with only css avoiding use js.
2019-05-21 13:50:17 +02:00
Javi Martín
cf32dcd6d5
Use the new stats layout in budget stats
...
So now stats by gender and age are replaced by shared participation
stats (which also includes stats by district), reusing the code already
used in poll stats, and advanced statistics (which used to be at the top
of the page) are now displayed after partipation stats.
2019-05-21 13:50:17 +02:00
decabeza
b2ad1e796f
Replace images with transparent png
2019-05-21 13:50:17 +02:00
Javi Martín
7b408a4b88
Add poll stats by gender and channel
2019-05-21 13:50:17 +02:00
Javi Martín
553af8e95b
Add poll stats by channel
...
Note we currently don't have a way to get the votes by mail, so that
section is always blank.
2019-05-21 13:50:17 +02:00
Javi Martín
c4c0301f3f
Simplify stats images styles
...
This way we don't need to manually define the width we think the image
we insert in the `::before` pseudoclass is going to take.
2019-05-21 13:50:16 +02:00
Javi Martín
1c9552b922
Add number-with-info HTML class to stats
...
So it can be reused in advanced statistics.
2019-05-21 13:50:16 +02:00
decabeza
b91b766e96
Adds styles and updates html markup to stats
2019-05-21 13:50:16 +02:00
Javi Martín
7ce57f649f
Use a <meter> tag to display age percentages
2019-05-21 13:50:16 +02:00
Javi Martín
be68c8cdbf
Add gender stats to polls
2019-05-21 13:50:15 +02:00
Javi Martín
afa8bf8dba
Add basic headings and navigaton styles for stats
2019-05-21 13:50:15 +02:00