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/bomacon/bomacon.nl/resources/sass/site/6-Organisms/_organisms.header.scss
// Component settings: Header
// ------------------------------------------

$o-header: (
	'bgcolor-alternative':  palette(primary),
	'toggle-color':			palette(neutral, 1000),
	'logo-width':			227px
);

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


.o-header {
	@include z(z-header);
	position: relative;
	padding: space(4) 0;

	&.is-header-alt {
		background-color: map-get($o-header, 'bgcolor-alternative');
	}

	&.is-sticky {
		opacity: 0;
		position: fixed;
		z-index: 50;
		top: 0;
		left: 0;
		width: 100%;
		padding-top: space(4);
		padding-bottom: space(4);
		box-shadow: 0 -5px 30px black;
		transform: translateY(-100%);
		transition-property: transform, opacity;
		transition-duration: 300ms;
		transition-delay: 0s, 300ms;
		transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);

		@include mq($bp-header-large) {
			display: none;
		}

		.is-sticky-header-visible & {
			opacity: 1;
			transform: none;
			transition-delay: 0s;
		}
	}
}

.o-header__main {
	@include contain;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.o-header__nav {
	width: 100%;

	@include mq($max: $bp-header-large) {
		display: none;
	}
}

.o-header__language {
	margin-left: space(2);

	@include mq($max: $bp-header-large) {
		margin-left: auto;
	}
}

.o-header__logo {
	flex: none;

	&:focus {
		outline-offset: 2px;
		outline-color: palette(feedback, action);
	}
}

.o-header__img {
	width: map-get($o-header, 'logo-width');
	margin: space(-2) 0;
}

.o-header__toggle {
	@include mq($bp-header-large) {
		display: none;
	}
}