$equalstrue-icons--font: "equalstrue-icons" !default;
$equalstrue-icons--font--dir: "../../assets/fonts/equalstrue-icons" !default;
$equalstrue-icons--font--file: "#{$equalstrue-icons--font--dir}/#{$equalstrue-icons--font}" !default;
$equalstrue-icons--font--hash: "19a4f398d922882f1f39a97d89bc42a4" !default;
$equalstrue-icons--font--src: url("#{$equalstrue-icons--font--file}.woff2?#{$equalstrue-icons--font--hash}") format("woff2") !default;

@font-face {
	font-display: block;
	font-family: $equalstrue-icons--font;
	src: $equalstrue-icons--font--src;
}

[class^="equalstrue-icons--"],
[class*=" equalstrue-icons--"] {
	display: inline-block;
	vertical-align: -.125em;
	width: 1em;
	height: 1em;
	font-size: inherit;
	user-select: none;
	pointer-events: none;

	&::before {
		display: inline-block;
		font-family: $equalstrue-icons--font !important;
		font-style: normal;
		font-weight: normal !important;
		font-variant: normal;
		text-transform: none;
		line-height: 1;
		vertical-align: -.125em;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.rich-text:focus &[data-rich-text-format-boundary] {
		background-color: transparent;
		border-radius: 0;
		pointer-events: none;
	}
}

$equalstrue-icons--map: (
	"arrow-corner-top-right": "\f1c5",
	"arrows-fullscreen": "\f14d",
	"binoculars": "\f18f",
	"chat": "\f268",
	"code-slash": "\f2c6",
	"crosshair": "\f769",
	"graph-up-arrow": "\f673",
	"hand-peace": "\f7f9",
	"hand-waving": "\f904",
	"resize": "\f905",
	"rocket-takeoff": "\f845",
	"speedometer": "\f57f",
	"star": "\f588",
);

@each $icon, $codepoint in $equalstrue-icons--map {
	.equalstrue-icons--#{$icon}::before { content: $codepoint; }
}
