Skip to content

Commit

Permalink
Merge pull request MoravianUniversity#59 from stjkr02/master
Browse files Browse the repository at this point in the history
Updated the tooltip design to be less transparent and use better cont…
  • Loading branch information
jpvonelli committed Aug 3, 2015
2 parents eecc12c + 205b673 commit 7a02699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradientUSMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function GradientMap(feature){
this.mouseOver = function(d){


d3.select("#tooltip" + newThis.id.toString()).transition().duration(200).style("opacity", 0.9);
d3.select("#tooltip" + newThis.id.toString()).transition().duration(200).style("opacity", 0.97);

//If the browser is Firefox or built with the Gecko engine
if(newThis.q[0] === "Gecko") {
Expand Down
4 changes: 2 additions & 2 deletions stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ svg {
border-radius: 2px;
pointer-events: none;
}
#tooltip h4{
.tooltip h4{
color: skyblue;
margin:0;
font-size:14px;
text-align: center;
text-align: left;
}
.tooltip{
position: fixed;
Expand Down

0 comments on commit 7a02699

Please sign in to comment.