Skip to content

Commit

Permalink
Merge pull request antoniojgage#26 from antoniojgage/chris
Browse files Browse the repository at this point in the history
blurb styling finished
  • Loading branch information
ChrisSayles authored Mar 9, 2017
2 parents 9b3c049 + 191473c commit 9e445a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
13 changes: 8 additions & 5 deletions public/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,18 @@ div.tooltip {
position: absolute;
text-align: center;
width: 186px;
height: 58px;
padding: 5px;
height: 75px;
padding: 6px;
font: 12px sans-serif;
background: white;
border: 4px;
background: #7dced5;
border: 2px;
border-radius: 8px;
border-color: black;
border-color: #1a5d8f;
border-style: solid;
pointer-events: none;
padding-top: 15px;
padding-bottom: 15px;
pointer-events: none;
}

#heatmap .legend {
Expand Down
10 changes: 5 additions & 5 deletions public/assets/js/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ $(document).ready(function() {
})

//fade out tooltip on mouse out
.on("mouseout", function(d) {
div.transition()
.duration(500)
.style("opacity", 0);
});
// .on("mouseout", function(d) {
// div.transition()
// .duration(500)
// .style("opacity", 0);
// });

// Modified Legend Code from Mike Bostock: http://bl.ocks.org/mbostock/3888852
var legend = d3.select("#heatmap").append("svg")
Expand Down

0 comments on commit 9e445a1

Please sign in to comment.