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/base.komma.pro/resources/sass/6-Organisms/_organisms.footer.scss
$o-footer-bp1: m;


.o-footer {
	@include z(z-footer);
	background-color: palette(neutral, 700);
	color: palette(neutral, 0);
}


.o-footer__main {
	@include contain;
	@include vspacing(
		'padding-top' 0.5,
		'padding-bottom' 0.5
	);
}


.o-footer__brand {
	display: inline-block;
	transition: opacity 200ms linear;

	&:hover {
		opacity: 0.5;
	}
}


.o-footer__columns {
	@include vspacing(
		'margin-top' 0.5
	);
	@include mq($o-footer-bp1) {
		display: flex;
	}
}


.o-footer__logo {
	width: 152px;
}


// Left column
.o-footer__info {
	@include owl-children(space(4));

	@include mq($o-footer-bp1) {
		width: column(4);
	}
}


.o-footer__contact {
	list-style: none;
	margin: space(3) 0 0 0;
}


// Right column
.o-footer__nav {
	@include mq($o-footer-bp1) {
		display: flex;
		margin-left: column(1);
		width: column(7);
	}
}


.o-footer__list {
	list-style: none;
	margin: 0;

	@include mq($o-footer-bp1) {
		width: column(3, 7);
	}

	// All subsequent lists need spacing
	&:nth-child(n+2){
		margin-top: space(4);

		@include mq($o-footer-bp1) {
			margin-top: 0; // reset
			margin-left: column(1, 7);
		}
	}
}


.o-footer__link {
	display: inline-block;
	position: relative;
	z-index: 0;
	text-decoration: none;
	cursor: pointer;
	color: palette(neutral, 0);

	&::before {
		pointer-events: none;
		border-radius: 2px;
		content: '';
		display: block;
		position: absolute;
		z-index: -1;
		top: 0;
		bottom: 0;
		left: space(-1);
		right: space(-1);
		transform: scaleX(0);
		transform-origin: bottom left;
		background-color: rgba(palette(neutral, 0), 0.05);
		transition: all 250ms ease-out;
	}

	&:hover {
		&::before {
			transform-origin: bottom right;
			transform: scaleX(1);
		}
	}

	&:focus {
		outline-color: palette(feedback, focus);
	}
}


.o-footer__social {
	display: flex;
	list-style: none;
	margin: space(4) 0 0;
}


.o-footer__channel {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	margin-right: space(2);
}


.o-footer__icon {
	flex: auto;
	display: block;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	transition-property: opacity;
	transition-duration: 300ms;

	.facebook & {
		background-image: url("/img/social/facebook.svg");
		height: 21px;
	}
	.instagram & {
		background-image: url("/img/social/instagram.svg");
	}
	.twitter & {
		background-image: url("/img/social/twitter.svg");
		height: 20px;
	}
	.linkedin & {
		background-image: url("/img/social/linkedin.svg");
		height: 18px;
	}

	&:hover {
		opacity: 0.5;
	}

	&:focus {
		outline-color: palette(feedback, focus);
	}
}