Skip to content

Commit 2d798c7

Browse files
authored
Merge pull request #45 from stormpython/issue-43
Issue 43. Error while installing most recent version (with tooltips fix) bug
2 parents eaa77a0 + 5bcf29d commit 2d798c7

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

public/heatmap.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
require('plugins/heatmap/heatmap.less');
2-
require('plugins/heatmap/heatmap_tooltip.css');
2+
require('plugins/heatmap/heatmap_tooltip.less');
33
require('plugins/heatmap/color_directive.js');
44
require('plugins/heatmap/lib/heatmap_controller.js');
55
require('plugins/heatmap/lib/heatmap_directive.js');
66
require('plugins/heatmap/heatmap_tooltip_directive.js');
77

8+
89
function HeatmapProvider(Private) {
9-
var TemplateVisType = Private(require('ui/template_vis_type/template_vis_type'));
10-
var Schemas = Private(require('ui/vis/schemas'));
10+
var TemplateVisType = Private(require('ui/template_vis_type/TemplateVisType'));
11+
var Schemas = Private(require('ui/Vis/Schemas'));
1112
var colors = require('plugins/heatmap/colors.js');
1213

1314
return new TemplateVisType({
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1+
@import (reference) "~ui/styles/variables";
2+
13
.heatmap-tooltip {
24
position: absolute;
35
width: auto;
4-
background-color: #222222;
5-
-webkit-border-radius: 10px;
6-
-moz-border-radius: 10px;
7-
border-radius: 10px;
6+
padding: 5px !important;
7+
background: fadeout(@gray-darker, 7%);
8+
-webkit-border-radius: 4px;
9+
-moz-border-radius: 4px;
10+
border-radius: 4px;
811
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
9-
-mox-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
12+
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
1013
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
1114
pointer-events: none;
12-
white-space: nowrap;
15+
white-space: nowrap;
16+
color: #ecf0f1 !important;
1317
}
1418

1519
.heatmap-tooltip-list {
@@ -21,4 +25,4 @@
2125
}
2226
.heatmap-tooltip-list span.key{
2327
font-weight: bold;
24-
}
28+
}

0 commit comments

Comments
 (0)