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/csb.komma.pro/resources/sass/5-Components/_components.hamburger.scss
.c-hamburger {
	display: flex;
	justify-content: center;
	align-self: center;
	position: relative;
	width: space(5);
	height: space(5);
	padding: 0;
	color: palette(neutral, 300);
	background: none;
	border: none;
	outline: none;
	cursor: pointer;

	&:focus {
		box-shadow: 0 0 3px 2px palette(action);
	}

	&.is-light {
		color: palette(neutral, 0);
	}

	& > span{
		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;
	}

	& > span:nth-child(1) {
		top: 12px;
		transform: scaleX(0.8);
	}

	& > span:nth-child(3) {
		top: 28px;
		transform: scaleX(0.5);
	}

	&:hover {
		& > span {
			transform: scaleX(0.8);
		}
		& > span:nth-child(1),
		& > span:nth-child(3) {
			transform: scaleX(1);
		}
	}

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