2018-02-21 02:16:56 -06:00
|
|
|
$font-size-heatmap-tick: 11px;
|
|
|
|
|
2017-03-24 07:15:01 -05:00
|
|
|
.heatmap-canvas-wrapper {
|
2017-03-27 11:04:29 -05:00
|
|
|
// position: relative;
|
2017-03-24 07:15:01 -05:00
|
|
|
cursor: crosshair;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heatmap-panel {
|
2017-03-27 11:04:29 -05:00
|
|
|
position: relative;
|
|
|
|
|
2017-03-24 07:15:01 -05:00
|
|
|
.axis .tick {
|
|
|
|
text {
|
|
|
|
fill: $text-color;
|
|
|
|
color: $text-color;
|
2018-02-21 02:16:56 -06:00
|
|
|
font-size: $font-size-heatmap-tick;
|
2017-03-24 07:15:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
line {
|
|
|
|
opacity: 0.4;
|
|
|
|
stroke: $text-color-weak;
|
|
|
|
}
|
|
|
|
}
|
2017-07-25 09:28:29 -05:00
|
|
|
|
|
|
|
// This hack prevents mouseenter/mouseleave events get fired too often
|
|
|
|
svg {
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
rect {
|
|
|
|
pointer-events: visiblePainted;
|
|
|
|
}
|
|
|
|
}
|
2017-03-24 07:15:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.heatmap-tooltip {
|
|
|
|
white-space: nowrap;
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
background-color: $graph-tooltip-bg;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heatmap-histogram rect {
|
|
|
|
fill: $text-color-weak;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heatmap-crosshair {
|
|
|
|
line {
|
2017-12-19 09:22:41 -06:00
|
|
|
stroke: darken($red, 15%);
|
2017-03-24 07:15:01 -05:00
|
|
|
stroke-width: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-07-31 12:11:55 -05:00
|
|
|
|
2017-08-01 05:54:09 -05:00
|
|
|
.heatmap-selection {
|
|
|
|
stroke-width: 1;
|
2017-08-01 08:21:40 -05:00
|
|
|
fill: rgba(102, 102, 102, 0.4);
|
|
|
|
stroke: rgba(102, 102, 102, 0.8);
|
2017-08-01 05:54:09 -05:00
|
|
|
}
|
|
|
|
|
2017-07-31 12:11:55 -05:00
|
|
|
.heatmap-legend-wrapper {
|
|
|
|
@include clearfix();
|
|
|
|
margin: 0 $spacer;
|
2018-02-21 02:16:56 -06:00
|
|
|
padding-top: 4px;
|
2017-07-31 12:11:55 -05:00
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 300px;
|
2018-02-21 02:16:56 -06:00
|
|
|
height: 18px;
|
2017-07-31 12:11:55 -05:00
|
|
|
float: left;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heatmap-legend-values {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.axis .tick {
|
|
|
|
text {
|
|
|
|
fill: $text-color;
|
|
|
|
color: $text-color;
|
2018-02-21 02:16:56 -06:00
|
|
|
font-size: $font-size-heatmap-tick;
|
2017-07-31 12:11:55 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
line {
|
|
|
|
opacity: 0.4;
|
|
|
|
stroke: $text-color-weak;
|
|
|
|
}
|
|
|
|
|
|
|
|
.domain {
|
|
|
|
opacity: 0.4;
|
|
|
|
stroke: $text-color-weak;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|