
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";

.plugin-common-actions__all-actions {
	vertical-align: middle;
	display: flex;
	color: var(--studio-gray-40);
	margin: 0 0.1em;
	@include break-large() {
		display: inline-flex;
		height: 100%;
	}
}
a.plugin-common-actions__menu-item {
	margin: 0 -1px;
	border-style: solid;
	border-color: var(--studio-gray-5);
	border-width: 0 0 1px;
	font-size: 0.875rem;
	height: 40px;
	box-sizing: border-box;
	color: var(--studio-black);
	display: flex;
	align-items: center;
	padding: 0 16px;
	min-width: 200px;
	&:last-child {
		margin-block-end: 5px;
		border-bottom-width: 0;
	}
	&:first-child {
		margin-block-start: 5px;
	}
	&:hover,
	&:focus {
		border-style: solid;
		border-color: var(--studio-gray-5);
		border-width: 0 0 1px;
		background: var(--studio-black);
		cursor: pointer;
		color: var(--studio-white);
		&:last-child {
			border-bottom-width: 0;
		}
	}
	svg.gridicon {
		vertical-align: middle;
		position: absolute;
		inset-block-start: unset;
		inset-inline-end: 10px;
	}
}
