/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.superset-legacy-chart-heatmap {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
}

.superset-legacy-chart-heatmap .axis text {
  font: 10px sans-serif;
  text-rendering: optimizeLegibility;
  fill: #555;
}

.superset-legacy-chart-heatmap .background-rect {
  stroke: #ddd;
  fill-opacity: 0;
  pointer-events: all;
}

.superset-legacy-chart-heatmap .axis path,
.superset-legacy-chart-heatmap .axis line {
  fill: none;
  stroke: #ddd;
  shape-rendering: crispEdges;
}

.superset-legacy-chart-heatmap canvas,
.superset-legacy-chart-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                            */
}

.superset-legacy-chart-heatmap .legendCells text {
  font-size: 10px;
  font-weight: normal;
  opacity: 0;
}

.superset-legacy-chart-heatmap .legendCells .cell:first-child text {
  opacity: 1;
}
.superset-legacy-chart-heatmap .legendCells .cell:last-child text {
  opacity: 1;
}

.dashboard .superset-legacy-chart-heatmap .axis text {
  font-size: 10px;
  opacity: 0.75;
}
