/**
 *
 * @ai-apps/angular v2.152.0 | _heatmap.scss
 *
 * Copyright 2014, 2023 IBM
 *
 * Licensed 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.
 */


.#{$prefix}--#{$charts-prefix}--heatmap {
	g.highlighter-hidden {
		visibility: hidden;
	}

	g.cell-highlight {
		line {
			stroke: white;
			stroke-width: 1px;
		}
	}

	g.cell-2 {
		line {
			stroke: white;
			stroke-width: 2px !important;
		}
	}

	g.multi-cell {
		line {
			stroke: white;
			stroke-width: 2px;
		}
	}

	rect.pattern-fill {
		fill: $ui-04;
	}

	g.shadows {
		line.top {
			filter: drop-shadow(0px -3px 2px black);
		}

		line.down {
			filter: drop-shadow(0px 3px 2px black);
		}

		line.left {
			filter: drop-shadow(-3px 0px 2px black);
		}

		line.right {
			filter: drop-shadow(3px 0px 2px black);
		}
	}

	rect.null-state {
		stroke: transparent !important;
	}

	rect.heat {
		stroke-width: 0px;
	}

	rect.heat {
		stroke: $ui-background;
	}

	rect.null-state {
		fill: $ui-01;
	}

	@if $carbon--theme == $carbon--theme--g90 {
		rect.null-state {
			fill: $inverse-01;
		}
	}
}
