/* Shutter Out Horizontal */
.shutter-out-horizontal() {
	.hacks();
	position: relative;
	background: @primaryColor;
	.prefixed(transition-property, color);
	.prefixed(transition-duration, @mediumDuration);

	&:before {
		content: "";
		position: absolute;
		z-index: -1;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: @activeColor;
		.prefixed(transform, scaleX(0));
		.prefixed(transform-origin, 50%);
		.prefixed(transition-property, transform);
		.prefixed(transition-duration, @mediumDuration);
		.prefixed(transition-timing-function, ease-out);
	}

	&:hover,
	&:focus,
	&:active {
		color: white;

		&:before {
			.prefixed(transform, scaleX(1));
		}
	}
}
