HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/switch4u.komma.nl/resources/sass/5-Components/_components.hamburger.scss
// Component settings: Hamburger
// ------------------------------------------

// ------------------------------------------

.c-hamburger {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
	position: relative;
	width: space(5);
	height: space(5);
	padding: 0;
	color: map-get($site-header, 'textColor');
	background: none;
	border: none;
	outline: none;
	cursor: pointer;

	&:focus {
		outline-color: currentColor;
		outline-style: solid;
		outline-offset: 1px;
		outline-width: 2px;
	}

	& > span,
	&:after,
	&:before {
		content: '';
		position: absolute;
		top: 20px;
		right: 20%;
		left: 20%;
		height: 3px;
		margin-top: -2px;
		pointer-events: none;
		background: currentColor;
		border-radius: 3px;
		transform-origin: right;
		transition-property: transform;
		transition-duration: 150ms;
		transition-timing-function: ease-out;
		transition-delay: 100ms;
	}

	&:before {
		top: 12px;
		transform: scaleX(0.8);
	}

	&:after {
		top: 28px;
		transform: scaleX(0.5);
	}

	&:hover {
		& > span {
			transform: scaleX(0.8);
		}
		&:after,
		&:before {
			transform: scaleX(1);
		}
	}

	.is-overlay-menu-active & {
		& > span {
			transform: scaleX(1) !important;
		}
		&:before {
			transform: translateY(3px) scaleX(1) !important;
			transition-delay: 0s;
		}
		&:after {
			transform: translateY(-3px) scaleX(1) !important;
			transition-delay: 0s;
		}
	}
}