@import "./shared/animations.css";

.context-menu__container {
	background-color: var(--core-primary-3);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	min-width: 105px;
	padding: 5px 0;
	position: absolute;
	z-index: 999;
	top: 50%;
	right: 30%;
	width: fit-content;
}

.context-menu__container.flow-right {
	left: 5%;
}

.context-menu__container.flow-up {
	top: auto;
	bottom: 15px;
}

.context-menu__container .context-menu__action {
	color: var(--core-primary-5);
	cursor: pointer;
	display: flex;
	font-size: var(--font-size);
	height: 17px;
	line-height: 26px;
	padding: 4px;
	text-align: center;
	white-space: nowrap;
}

.context-menu__container .context-menu__action:hover {
	opacity: 0.5;
	background-color: var(--core-primary-1);
}

.context-menu__action {
	display: grid;
	grid-template-columns: 30px auto;
	grid-template-rows: 26px;
	align-items: center;
	padding-left: 0;
}

.context-menu__action .icon-holder i {
	font-size: 18px;
	color: white;
}

.context-menu__action i {
	color: var(--core-primary-5);
}

.context-menu__action span {
	margin-left: 1px;
	color: var(--font-color);
}

.context-menu__action:hover {
	background-color: var(--accent-primary);
}

.context-menu__container .finsemble-icon {
	display: grid;
	margin: 0 7px;
	width: 17px;
	height: 17px;
	font-size: 16px;
}

.context-menu__container .finsemble-icon svg {
	font-size: 1em;
	width: 1em;
	height: 1em;
	fill: currentcolor;
	display: inline-block;
	color: inherit;
	pointer-events: none;
	line-height: normal;
}

.context-menu__container .finsemble-icon i {
	color: var(--font-color);
}

.context-menu__container .finsemble-icon g {
	fill: var(--font-color); /* custom icons (evelope, snooze, etc) color */
}

.finsemble-icon__btn {
	align-items: center;
	color: var(--core-primary-5);
	cursor: pointer;
	height: 24px;
	position: relative;
	width: 24px;
}

.finsemble-icon__btn.active {
	color: var(--accent-primary);
}

.finsemble-icon__btn:hover:not(.no-hover) {
	background: var(--menu-actions-hover-color);
	border-radius: 50%;
}

.finsemble-icon__btn > i {
	font-size: var(--font-size-large);
}
