mirror of
https://github.com/grafana/grafana.git
synced 2025-01-23 23:13:52 -06:00
92 lines
1.4 KiB
SCSS
92 lines
1.4 KiB
SCSS
.heatmap-canvas-wrapper {
|
|
// position: relative;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.heatmap-panel {
|
|
position: relative;
|
|
|
|
.axis .tick {
|
|
text {
|
|
fill: $text-color;
|
|
color: $text-color;
|
|
font-size: $font-size-sm;
|
|
}
|
|
|
|
line {
|
|
opacity: 0.4;
|
|
stroke: $text-color-weak;
|
|
}
|
|
}
|
|
|
|
// This hack prevents mouseenter/mouseleave events get fired too often
|
|
svg {
|
|
pointer-events: none;
|
|
|
|
rect {
|
|
pointer-events: visiblePainted;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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 {
|
|
stroke: darken($red,15%);
|
|
stroke-width: 1;
|
|
}
|
|
}
|
|
|
|
.heatmap-selection {
|
|
stroke-width: 1;
|
|
fill: rgba(102, 102, 102, 0.4);
|
|
stroke: rgba(102, 102, 102, 0.8);
|
|
}
|
|
|
|
.heatmap-legend-wrapper {
|
|
@include clearfix();
|
|
margin: 0 $spacer;
|
|
padding-top: 10px;
|
|
|
|
svg {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
height: 33px;
|
|
float: left;
|
|
white-space: nowrap;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.heatmap-legend-values {
|
|
display: inline-block;
|
|
}
|
|
|
|
.axis .tick {
|
|
text {
|
|
fill: $text-color;
|
|
color: $text-color;
|
|
font-size: $font-size-sm;
|
|
}
|
|
|
|
line {
|
|
opacity: 0.4;
|
|
stroke: $text-color-weak;
|
|
}
|
|
|
|
.domain {
|
|
opacity: 0.4;
|
|
stroke: $text-color-weak;
|
|
}
|
|
}
|
|
}
|