Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions public/heatmap.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
require('plugins/heatmap/heatmap.less');
require('plugins/heatmap/heatmap_tooltip.css');
require('plugins/heatmap/heatmap_tooltip.less');
require('plugins/heatmap/color_directive.js');
require('plugins/heatmap/lib/heatmap_controller.js');
require('plugins/heatmap/lib/heatmap_directive.js');
require('plugins/heatmap/heatmap_tooltip_directive.js');


function HeatmapProvider(Private) {
var TemplateVisType = Private(require('ui/template_vis_type/template_vis_type'));
var Schemas = Private(require('ui/vis/schemas'));
var TemplateVisType = Private(require('ui/template_vis_type/TemplateVisType'));
var Schemas = Private(require('ui/Vis/Schemas'));
var colors = require('plugins/heatmap/colors.js');

return new TemplateVisType({
Expand Down
18 changes: 11 additions & 7 deletions public/heatmap_tooltip.css → public/heatmap_tooltip.less
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
@import (reference) "~ui/styles/variables";

.heatmap-tooltip {
position: absolute;
width: auto;
background-color: #222222;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
padding: 5px !important;
background: fadeout(@gray-darker, 7%);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-mox-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
pointer-events: none;
white-space: nowrap;
white-space: nowrap;
color: #ecf0f1 !important;
}

.heatmap-tooltip-list {
Expand All @@ -21,4 +25,4 @@
}
.heatmap-tooltip-list span.key{
font-weight: bold;
}
}