Added first version of election map feature

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-04-30 21:07:12 +02:00
parent e241e7b137
commit 24582be4a6
5 changed files with 201 additions and 7 deletions

View File

@ -1,3 +1,40 @@
@charset "UTF-8";
// non-critical CSS
// non-critical CSS
// map of election district feature
#election_map svg {
height: auto;
width: 100%;
margin: 0 auto;
display: block;
}
#election_map g {
fill: #ccc;
}
#election_map g:visited {
/*fill: #fc0 !important;*/
fill: #fc0;
}
#election_map g:hover {
fill: #228B22;
cursor: pointer;
}
#election_map g:active {
fill: #fc0;
}
.info_panel {
background-color: rgba(255,255,255, .8);
/*background-color: rgba(255,204,0, .8);*/
padding: 5px;
font-size: 10px;
position: absolute;
border: 1px solid #333;
color: #333;
white-space: nowrap;
}