Skip to content

Commit

Permalink
gradient added
Browse files Browse the repository at this point in the history
  • Loading branch information
arajajyothibabu committed Jul 2, 2016
1 parent e973744 commit 278f190
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion css/retention-graph.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,15 @@
}

.hover {
opacity : 0.4;
opacity : 0.6;
/*border-left: mediumslateblue solid 1px !important;
border-right: mediumslateblue solid 1px !important;*/
color: black;
background: red; /* For browsers that do not support gradients */
background: -webkit-radial-gradient(circle, lightskyblue, lightcyan, steelblue); /* Safari */
background: -o-radial-gradient(circle, red, yellow, green); /* Opera 11.6 to 12.0 */
background: -moz-radial-gradient(circle, red, yellow, green); /* Firefox 3.6 to 15 */
background: radial-gradient(circle, lightskyblue, lightcyan, steelblue); /* Standard syntax */
}
a:hover{
text-decoration: none !important;
Expand Down
2 changes: 1 addition & 1 deletion js/retention-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
for(var key in headerData){
$('<td />', {
class : function(){
return key > 1 ? "retention-cell head-clickable" : (key == 0 ? "retention-cell key-cell" : "retention-cell");
return key > 0 ? "retention-cell head-clickable" : "retention-cell key-cell";
},
day : key-1,
text : headerData[key]
Expand Down

0 comments on commit 278f190

Please sign in to comment.