mirror of
https://github.com/apache/superset.git
synced 2026-04-27 03:55:47 +00:00
* [heatmap] numerous improvements * flexibility as to how to sort X and Y axis (alpha/value, desc/asc) * option to show a legend * fixed margins, maximize real estate * allowed users to define bounds * Tunning
44 lines
1.0 KiB
CSS
44 lines
1.0 KiB
CSS
.heatmap {
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.heatmap .axis text {
|
|
font: 10px sans-serif;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
.heatmap .axis path,
|
|
.heatmap .axis line {
|
|
fill: none;
|
|
stroke: #000;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.heatmap svg {
|
|
}
|
|
|
|
.heatmap canvas, .heatmap img {
|
|
image-rendering: optimizeSpeed; /* Older versions of FF */
|
|
image-rendering: -moz-crisp-edges; /* FF 6.0+ */
|
|
image-rendering: -webkit-optimize-contrast; /* Safari */
|
|
image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
|
|
image-rendering: pixelated; /* Awesome future-browsers */
|
|
-ms-interpolation-mode: nearest-neighbor; /* IE */
|
|
}
|
|
|
|
.heatmap .legendCells text {
|
|
font-size: 10px;
|
|
font-weight: normal;
|
|
opacity: 0;
|
|
}
|
|
|
|
.heatmap .legendCells .cell:first-child text {
|
|
opacity: 1;
|
|
}
|
|
.heatmap .legendCells .cell:last-child text {
|
|
opacity: 1;
|
|
}
|