Nav: Main

No notes defined.

<div class="sds-nav">
    <nav class="sds-nav__inner navbar navbar-expand-xl">
        <button type="button" class="sds-nav__fakeSearch" data-toggle="modal" data-target="#searchModal">
            <span class="sds-icon sds-icon-search" aria-hidden="true"></span>
            <span class="sds-nav__fakeSearchText">Recherche</span>
        </button>

        <div class="sds-nav__collapseContainer">
            <button class="sds-nav__collapseToggler navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="sds-icon" aria-hidden="true"></span>
                Menu
            </button>

            <div class="sds-nav__collapse collapse navbar-collapse text-nowrap" id="mainNav">
                <ul class="sds-nav__collapseInner navbar-nav navbar-nav-scroll">

                    <li class="sds-nav__collapseItem nav-item active">

                        <a class="sds-nav__collapseLink nav-link" href="#">
                            <span class="sds-nav__collapseLinkImg sds-brandIconWrapper">
                                <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M28.3084 6.7139L26.8511 10.7828L24.9683 10.1085L26.4255 6.03955L28.3084 6.7139ZM18.4304 8.38098L20.2737 12.9326L18.42 13.6833L16.5767 9.13172L18.4304 8.38098ZM40.6674 14.3236L42.0812 13.3137L40.9188 11.6863L39.5049 12.6961C38.3177 13.5442 36.8952 14 35.4363 14H28.7854C28.182 14 27.5809 14.074 26.9955 14.2204C26.0197 14.4643 25.1215 14.9511 24.3844 15.6355L18.9586 20.6738C18.3473 21.2414 18 22.0379 18 22.8722V23C18 24.6569 19.3431 26 21 26H21.2268C21.9731 26 22.6926 25.7218 23.2448 25.2198L26.8017 21.9863C27.1885 21.6347 27.7808 21.6403 28.1608 21.9991L38.0054 31.2927C38.5378 31.8294 38.5353 32.6886 37.9977 33.2222C37.4534 33.7624 36.5693 33.7624 36.025 33.2222L35.1238 32.3276L35.1218 32.3256L31.4263 28.6574L30.0173 30.0769L33.7128 33.7451C34.253 34.2812 34.253 35.1461 33.7128 35.6823C33.1686 36.2225 32.2844 36.2225 31.7402 35.6823L30.8973 34.8457L30.8944 34.8427L27.1989 31.1746L25.7899 32.594L29.4854 36.2622C30.0256 36.7984 30.0256 37.6632 29.4854 38.1994C28.9412 38.7396 28.057 38.7396 27.5127 38.1994L22.9715 33.6917L21.5625 35.1111L25.258 38.7793C25.7982 39.3155 25.7982 40.1803 25.258 40.7165C24.7137 41.2568 23.8296 41.2568 23.2853 40.7165L15.4526 33.0102C14.1433 31.722 12.3801 31 10.5433 31H6V33H10.5433C11.8553 33 13.1147 33.5157 14.0499 34.4358L21.8764 42.136L21.8778 42.1374C23.202 43.4503 25.3433 43.4498 26.667 42.136C27.1425 41.664 27.4478 41.0867 27.5828 40.4797C28.7228 40.7969 29.9966 40.5099 30.8944 39.6188C31.3699 39.1468 31.6752 38.5696 31.8102 37.9625C32.9502 38.2798 34.2241 37.9928 35.1218 37.1017C35.5874 36.6396 35.8898 36.0765 36.0289 35.4833C37.1855 35.8306 38.4915 35.55 39.4067 34.6416C40.7349 33.3232 40.7349 31.1839 39.4067 29.8655L39.3978 29.8567L29.5338 20.5448C28.3935 19.4683 26.6166 19.4516 25.4564 20.5064L21.8995 23.74C21.7154 23.9073 21.4756 24 21.2268 24H21C20.4477 24 20 23.5523 20 23V22.8722C20 22.5941 20.1158 22.3286 20.3195 22.1394L25.7453 17.1011C26.2351 16.6463 26.8321 16.3228 27.4805 16.1607C27.9073 16.054 28.3455 16 28.7854 16H35.4363C37.3121 16 39.141 15.4139 40.6674 14.3236Z" fill="#003060" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M24 4L24 12.0003L22 12.0003L22 4L24 4Z" fill="#DE0000" />
                                </svg>
                            </span> Particuliers
                            <span class="sr-only">Current Page</span></a>

                    </li>

                    <li class="sds-nav__collapseItem nav-item dropdown">

                        <button type="button" class="sds-nav__collapseLink nav-link dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                            <span class="sds-nav__collapseLinkImg sds-brandIconWrapper">
                                <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M24.0002 38C19.3402 38 15.0002 34.6631 15.0002 30V26.0007L13.0002 25V30C13.0002 35.7638 18.2402 40 24.0002 40C29.7602 40 35.0002 35.7638 35.0002 30H33.0002C33.0002 34.6631 28.6602 38 24.0002 38Z" fill="#DE0000" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M39 27.126C37.2748 27.5701 36 29.1362 36 31C36 33.2091 37.7909 35 40 35C42.2091 35 44 33.2091 44 31C44 29.1362 42.7252 27.5701 41 27.126V19.72L44.19 18.08L24.09 8L4 18.08L24.09 28.16L39 20.62V27.126ZM24.09 10.24L8.46 18.08L24.09 25.92L39.72 18.08L24.09 10.24ZM42 31C42 32.1046 41.1046 33 40 33C38.8954 33 38 32.1046 38 31C38 29.8954 38.8954 29 40 29C41.1046 29 42 29.8954 42 31Z" fill="#003060" />
                                </svg>
                            </span>
                            Jeunes
                            <span class="sds-icon sds-icon-chevrondown"></span>
                        </button>
                        <ul class="sds-nav__collapseDropdownMenu dropdown-menu">

                            <li class="active">
                                <a class="sds-nav__collapseDropdownItem dropdown-item" href="#!">Tweenz (0 - 12)</a>
                            </li>

                            <li>
                                <a class="sds-nav__collapseDropdownItem dropdown-item" href="#!">Axxess (12 - 30)</a>
                            </li>

                        </ul>

                    </li>

                    <li class="sds-nav__collapseItem nav-item">

                        <a class="sds-nav__collapseLink nav-link" href="#">
                            <span class="sds-nav__collapseLinkImg sds-brandIconWrapper">
                                <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M21 5C19.3431 5 18 6.34315 18 8V10H4C2.34315 10 1 11.3431 1 13V40C1 41.6569 2.34315 43 4 43H32V41H4C3.44772 41 3 40.5523 3 40V13C3 12.8989 3.015 12.8014 3.04288 12.7094L12.3837 25H15.9998V23H13.3758L5.0158 12H42.9842L34.6242 23H32.0002V25H35.6162L44.9571 12.7094C44.985 12.8014 45 12.8989 45 13V36H47V13C47 11.3431 45.6569 10 44 10H31V8C31 6.34315 29.6569 5 28 5H21ZM29 10V8C29 7.44772 28.5523 7 28 7H21C20.4477 7 20 7.44772 20 8V10H29Z" fill="#003060" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M22 18V25C22 26.1046 22.8954 27 24 27C25.1046 27 26 26.1046 26 25V18H28V25C28 27.2091 26.2091 29 24 29C21.7909 29 20 27.2091 20 25V18H22Z" fill="#DE0000" />
                                </svg>
                            </span> Professionnels
                        </a>

                    </li>

                    <li class="sds-nav__collapseItem nav-item">

                        <a class="sds-nav__collapseLink nav-link" href="#">
                            <span class="sds-nav__collapseLinkImg sds-brandIconWrapper">
                                <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M25 2H23V9H25V2ZM22.5891 15H13L6.92523 24H14.1235L22.5891 15ZM7.92919 26L15.3239 34.2157L18.746 41L4 24.6047L11.9816 13H34.9286L43 24.6047L28.254 41L31.6761 34.2157L39.0708 26H7.92919ZM40.0748 24H33.8671L25.4096 15H34L40.0748 24ZM31.1395 24L24 16.5L16.86 24H31.1395ZM28.0273 9.48219L30.7816 4.4804L32.5336 5.44514L29.7793 10.4469L28.0273 9.48219ZM16.3068 4.47715L14.5547 5.44157L17.3081 10.4438L19.0602 9.47942L16.3068 4.47715Z" fill="#003060" />
                                    <path d="M23.54 41.85L16.7401 28H14.5001L23.54 46.31L32.7398 28H30.4998L23.54 41.85Z" fill="#DE0000" />
                                </svg>
                            </span> Private Banking
                        </a>

                    </li>

                    <li class="sds-nav__collapseItem nav-item">

                        <a class="sds-nav__collapseLink nav-link" href="#">
                            <span class="sds-nav__collapseLinkImg sds-brandIconWrapper">
                                <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M16 26C14.3411 26 13 24.649 13 23C13 21.351 14.351 20 16 20C17.649 20 19 21.351 19 23C19 24.649 17.649 26 16 26ZM16 21.9768C15.4437 21.9768 14.9868 22.4338 14.9868 22.9901C14.9868 23.5464 15.4437 24.0033 16 24.0033C16.5563 24.0033 17.0132 23.5464 17.0132 22.9901C17.0132 22.4338 16.5563 21.9768 16 21.9768Z" fill="#DE0000" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M10 44H19H21H25H27V42V29.5011C27.5756 29.8004 28.1844 30 28.8 30H38H38.01V28H28.81C27.9977 28 27.2047 27.3199 26.5807 26.7847C26.5762 26.7809 26.5717 26.777 26.5673 26.7732L23 19.38L22 21.4525V15.85L16 4L10 15.85V44ZM20 25.5975V19H12V42H19V27.67L20 25.5975ZM25 42V28.13L23 23.98L21 28.13V42H25ZM12 17V16.34L16 8.36L20 16.34V17H12ZM38 43H36V37.04C36 36.04 35 35 34 35C33 35 32 36.04 32 37.04V41H30V37.04C30 34.94 31.9 33 34 33C36.1 33 38 34.94 38 37.04V43Z" fill="#003060" />
                                </svg>
                            </span> À propos de nous
                        </a>

                    </li>

                    <li class="sds-nav__collapseItem nav-item">

                        <a class="sds-nav__collapseLink nav-link" href="#">
                            <span class="sds-nav__collapseLinkImg sds-brandIconWrapper">
                                <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M25 19.5875V10H23V23.8294L18.7264 19.3127L17.2737 20.6873L21.6773 25.3414C22.4848 26.1949 22.9935 27.3799 23 28.7017V31V40H23.0001V44H25.0001V28.7276L25 28.6972V24.0715C25 22.8385 25.5926 21.682 26.63 20.8115L32.6428 15.7661L31.3572 14.234L25.3444 19.2794C25.2261 19.3787 25.1112 19.4815 25 19.5875Z" fill="#003060" />
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M24.5 3C16.4846 3 10 9.5434 10 17.6001H12C12 10.634 17.6031 5 24.5 5C31.3969 5 37 10.634 37 17.6001C37 22.1623 34.5963 26.1544 31 28.3657V30.6553C35.747 28.2545 39 23.3082 39 17.6001C39 9.5434 32.5154 3 24.5 3Z" fill="#DE0000" />
                                </svg>
                            </span> Sustainability
                        </a>

                    </li>

                </ul>
            </div>
        </div>
        <div class="sds-btnGroup">

            <div class="d-none d-lg-flex">
                <a href="" class="sds-btn -btnPrimary flex-shrink-0">

                    <span class="sds-btn__text">S-Net</span>

                </a>
            </div>

            <div class="d-lg-none">
                <a href="" class="sds-btn -btnPrimary flex-shrink-0">

                    <span class="sds-btn__text">Devenir Client</span>

                </a>
            </div>

            <div class="sds-nav__languageSwitcher">
                <div class="sds-languageSwitcher dropdown">
                    <button class="sds-languageSwitcher__trigger sds-textHelper sds-textSemiBold dropdown-toggle" type="button" data-toggle="dropdown" data-display="static" aria-expanded="false">
                        Fr
                        <span class="sds-iconCircle sds-languageSwitcher__icon" aria-hidden="true">

                            <span class="sds-icon sds-icon-chevrondown"></span>

                        </span>

                    </button>
                    <div class="sds-languageSwitcher__menu sds-actionMenu dropdown-menu dropdown-menu-right">
                        <a class="sds-actionMenu__item dropdown-item" href="#">
                            De
                        </a>
                        <a class="sds-actionMenu__item dropdown-item" href="#">
                            En
                        </a>
                    </div>
                </div>
            </div>

        </div>
    </nav>
</div>
<div class="{{ namespace }}nav{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<nav class="{{ namespace }}nav__inner navbar navbar-expand-xl{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
		<button type="button" class="{{ namespace }}nav__fakeSearch" data-toggle="modal" data-target="#searchModal">
			<span class="{{ namespace }}icon {{ namespace }}icon-search" aria-hidden="true"></span>
			<span class="{{ namespace }}nav__fakeSearchText">Recherche</span>
		</button>

		<div class="{{ namespace }}nav__collapseContainer">
			<button class="{{ namespace }}nav__collapseToggler navbar-toggler" type="button" data-toggle="collapse" data-target="#{{ id }}" aria-controls="{{ id }}" aria-expanded="false" aria-label="Toggle navigation">
				<span class="{{ namespace }}icon" aria-hidden="true"></span>
				Menu
			</button>

			<div class="{{ namespace }}nav__collapse collapse navbar-collapse text-nowrap" id="{{ id }}">
				<ul class="{{ namespace }}nav__collapseInner navbar-nav navbar-nav-scroll">
					{% for key, item in items %}
						<li class="{{ namespace }}nav__collapseItem nav-item{% if item.active %} active{% endif %}{% if item.subItems %} dropdown{% endif %}">
							{% if item.subItems %}
								<button type="button" class="{{ namespace }}nav__collapseLink nav-link dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
									<span class="{{ namespace }}nav__collapseLinkImg {{ namespace }}brandIconWrapper">
										{{ item.inlineSVG | safe }}
									</span>
									{{ item.text }}
									<span class="{{ namespace }}icon {{ namespace }}icon-chevrondown"></span>
								</button>
								<ul class="{{ namespace }}nav__collapseDropdownMenu dropdown-menu">
									{% for subKey, subItem in item.subItems %}
										<li{% if subItem.active %} class="active"{% endif %}>
											<a class="{{ namespace }}nav__collapseDropdownItem dropdown-item" href="#!">{{ subItem.text }}</a>
										</li>
									{% endfor %}
								</ul>
							{% else %}
								<a class="{{ namespace }}nav__collapseLink nav-link" href="#">
									<span class="{{ namespace }}nav__collapseLinkImg {{ namespace }}brandIconWrapper">
										{{ item.inlineSVG | safe }}
									</span>									{{ item.text }}
									{% if item.active %}<span class="sr-only">Current Page</span>{% endif %}</a>
							{% endif %}
						</li>
					{% endfor %}
				</ul>
			</div>
		</div>
		<div class="{{ namespace }}btnGroup">

			<div class="d-none d-lg-flex">
				{% render "@btn-primary",{
					eltType: "a",
					text: "S-Net",
					classes: ["flex-shrink-0"]
				},true %}
			</div>

			<div class="d-lg-none">
				{% render "@btn-primary",{
					eltType: "a",
					text: "Devenir Client",
					classes: ["flex-shrink-0"]
				},true %}
			</div>

			<div class="{{ namespace }}nav__languageSwitcher">
				{% render "@spk-language-switcher" %}
			</div>

		</div>
	</nav>
</div>
  • Content:
    @use "sass:math";
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}nav {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	@include custom-prop-fallback("color", "comp-navbar-text-color");
    	@include custom-prop-fallback("background-image","comp-navbar-background-color");
    	height: $nav-topbar-height;
    	@include make-container();
    
    	/* Pseudo Elements */
    
    	&::before {
    	}
    
    	&::after {
    	}
    
    	/*
    	Include elements that are linked to the current element but have to reside at the root level of the stylesheet
    	(e.g: keyframes)
    	*/
    	@at-root {
    	}
    
    
    	/* children - write selector in full in comments in order to facilitate search */
    
    	// nav__back
    
    	&__back {
    
    		display: flex;
    		align-items: center;
    		margin-right: map-deep-get($token-spacer-unit-map, "8");
    		border-radius: map-deep-get($token-radius-map, "32");
    		font-weight: map-deep-get($token-font-weight-map, "semi-bold");
    		background-color: $nav-topbar-icon-background-hover;
    		height: $language-switcher-height-global;
    
    		@include media-breakpoint-up(lg) {
    			height: auto;
    			background-color: transparent;
    			padding-right: map-deep-get($token-spacer-unit-map, "16");
    			margin-right: map-deep-get($token-spacer-unit-map, "24");
    		}
    
    		&:hover,
    		&:focus {
    
    			@media (hover: hover) {
    				background-color: $nav-topbar-icon-background-hover;
    			}
    
    		}
    
    	}
    
    	&__inner {
    
    		@include contentSectionDimensions();
    		padding-left: 0;
    		padding-right: 0;
    		display: flex;
    		align-items: center;
    		height: 100%;
    		flex-wrap: nowrap;
    
    		> {
    
    			H1,.h1,
    			H2,.h2,
    			H3,.h3,
    			H4,.h4,
    			H5,.h5,
    			H6,.h6 {
    				color: inherit;
    				font-size: map-deep-get($design-tokens, "sys-font-size-helper-medium") !important;
    				font-family: inherit !important;
    				font-weight: map-deep-get($token-font-weight-map, "semi-bold") !important;
    			}
    
    		}
    
    	}
    
    	&__fakeSearch {
    
    		display: flex;
    		align-items: center;
    		@include custom-prop-fallback("background-color","comp-navbar-search-background-color");
    		border-radius: map-deep-get($token-radius-map, "button-small");
    		padding: $input-padding-x*0.5 $input-padding-x;
    		height: $language-switcher-height-global;
    		font-size: map-deep-get($design-tokens, "sys-font-size-helper-medium");
    		margin-right: map-deep-get($token-spacer-inline-map, "sm");
    		font-weight: map-deep-get($token-font-weight-map, "semi-bold") !important;
    
    		@include media-breakpoint-up(sm) {
    			padding: $input-padding-x $input-padding-x*2;
    			height: map-deep-get($token-button-size-big-map, "mobile" ,"min-height");
    			width: 180px;
    		}
    
    		@include hover-focus() {
    			text-decoration: none;
    			@include custom-prop-fallback("background-color","comp-navbar-button-hovered-background-color");
    		}
    
    		&:focus-visible {
    
    			outline-style: solid;
    			outline-width: map-deep-get($design-tokens, "comp-button-pressed-border-width");
    			@include custom-prop-fallback("outline-color", "comp-navbar-link-color-text-active-screenlarge", true, true);
    
    		}
    
    	}
    
    	&__fakeSearchText {
    
    		@include sr-only();
    
    		@include media-breakpoint-up(sm) {
    
    			@include undo-sr-only();
    			margin: 0;
    			margin-left: map-deep-get($token-spacer-inline-map, "sm");
    			padding: 0;
    			
    		}
    
    	}
    
    	&__collapseContainer {
    
    		height: $nav-topbar-height-global;
    		display: flex;
    		flex-grow: 1;
    
    		@include media-breakpoint-up(sm) {
    
    			position: relative;
    
    		}
    
    	}
    	
    	&__collapse {
    
    		margin: auto;
    		position: absolute;
    		top: calc(100% + #{map-deep-get($token-spacer-unit-map, "8")});
    		left: 0;
    		right: 0;
    		box-shadow: map-deep-get($token-shadow-map, "detail");
    		border-radius: map-deep-get($token-radius-map, "16");
    
    		@include media-breakpoint-up(sm) {
    
    			right: auto;
    			min-width: 320px;
    
    		}
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    			$next: breakpoint-next($breakpoint, $grid-breakpoints);
    			$infix: breakpoint-infix($next, $grid-breakpoints);
    
    			.navbar-expand#{$infix} & {
    
    				@include media-breakpoint-up($next) {
    
    					position: static;
    					box-shadow: none;
    					justify-content: center;
    					height: 100%;
    
    				}
    
    			}
    
    		}
    
    	}
    
    	&__collapseInner {
    
    		padding: $navbar-collapse-inner-padding;
    		@include custom-prop-fallback("background-color","comp-dropdown-background-color");
    		@include custom-prop-fallback("color","sys-color-text-primary-vivid");
    		border-radius: map-deep-get($token-radius-map, "16");
    
    		> * + * {
    
    			margin-top: map-deep-get($token-spacer-stack-max-map, "sm");
    
    		}
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    			$next: breakpoint-next($breakpoint, $grid-breakpoints);
    			$infix: breakpoint-infix($next, $grid-breakpoints);
    
    			.navbar-expand#{$infix} & {
    
    				@include media-breakpoint-up($next) {
    
    					padding: 0 map-deep-get($token-spacer-inset-map, "md");
    					flex-direction: row;
    					align-items: center;
    					background: transparent;
    					@include custom-prop-fallback("color", "sys-color-background-primary-30");
    					height: 100%;
    					overflow: visible;
    
    					> * + * {
    
    						margin-top: 0;
    
    					}
    
    				}
    
    			}
    
    		}
    
    	}
    
    	&__collapseItem {
    
    		&.active {
    
    			#{$self}__collapseLink {
    
    				@include custom-prop-fallback("background-color","comp-navbar-link-color-background-active-screensmall");
    				@include custom-prop-fallback("color","comp-navbar-link-color-text-active-screensmall");
    
    			}
    
    		}
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    			$next: breakpoint-next($breakpoint, $grid-breakpoints);
    			$infix: breakpoint-infix($next, $grid-breakpoints);
    
    			.navbar-expand#{$infix} & {
    
    				@include media-breakpoint-up($next) {
    
    					display: flex;
    					align-items: center;
    					height: 100%;
    
    					#{$self}__collapseLink {
    
    						&:focus-visible {
    
    							outline-style: solid;
    							outline-width: map-deep-get($design-tokens, "comp-button-pressed-border-width");
    							@include custom-prop-fallback("outline-color", "comp-navbar-link-color-text-active-screenlarge", true, true);
    
    
    						}
    
    					}
    
    					&.active {
    
    						#{$self}__collapseLink {
    
    							background-color: transparent;
    							@include custom-prop-fallback("color", "comp-navbar-link-color-text-active-screenlarge");
    
    						}
    
    					}
    
    				}
    
    			}
    
    		}
    
    	}
    
    	&__collapseLink#{$self}__collapseLink {
    
    		display: flex;
    		align-items: center;
    		padding: 0.75em $navbar-nav-link-padding-x-mobile;
    		border-radius: map-deep-get($token-radius-map, "8");
    		width: 100%; // for btn items
    		font-weight: map-deep-get($token-font-weight-map, "semi-bold");
    
    		[class*="icon"] {
    			transition: transform 0.1s linear;
    			margin-left: auto;
    		}
    
    		&[data-toggle="dropdown"] {
    
    			&[aria-expanded="true"] {
    
    				[class*="icon"] {
    					transform: rotate(180deg);
    				}
    
    			}
    
    		}
    
    		&:hover,
    		&:focus {
    			@media (hover: hover) {
    
    				@include custom-prop-fallback("background-color","comp-navbar-link-color-background-hovered-screensmall");
    				@include custom-prop-fallback("color", "comp-navbar-link-color-text-hovered-screensmall");
    
    			}
    		}
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    			$next: breakpoint-next($breakpoint, $grid-breakpoints);
    			$infix: breakpoint-infix($next, $grid-breakpoints);
    
    			.navbar-expand#{$infix} & {
    
    				@include media-breakpoint-up($next) {
    
    					padding-right: $navbar-nav-link-padding-x-desktop;
    					padding-left: $navbar-nav-link-padding-x-desktop;
    					font-size: map-deep-get($design-tokens, "sys-font-size-helper-medium");
    					border-radius: map-deep-get($token-radius-map, "32");
    					width: auto;
    
    					[class*="icon"] {
    						margin-left: map-deep-get($token-spacer-inline-map, "sm");
    					}
    
    					&[data-toggle="dropdown"] {
    
    						height: map-deep-get($token-button-size-big-map, "mobile" ,"min-height");
    
    						&[aria-expanded="true"] {
    
    							@include custom-prop-fallback("background-color","comp-navbar-link-color-background-hovered-screenlarge");
    							@include custom-prop-fallback("color", "comp-navbar-text-color");
    
    							[class*="icon"] {
    								transform: rotate(180deg);
    							}
    
    						}
    
    					}
    
    					&:hover,
    					&:focus {
    						@media (hover: hover) {
    							background-color: transparent;
    							@include custom-prop-fallback("color", "comp-navbar-text-color");
    						}
    					}
    
    				}
    
    			}
    
    		}
    
    	}
    
    	&__collapseDropdownMenu {
    
    		position: static;
    		float: none;
    		margin: 0 (-($navbar-collapse-inner-padding));
    		box-shadow: none;
    		padding-top: map-deep-get($token-spacer-inset-map, "xs");
    		padding-bottom: 0;
    		@include spacer-component-stack("xs");
    
    		.active {
    
    			#{$self}__collapseDropdownMenu {
    
    				@include custom-prop-fallback("background-color", "sys-color-elevation-surface-sunken");
    				@include custom-prop-fallback("color", "sys-color-text-secondary-vivid");
    
    			}
    
    			#{$self}__collapseDropdownItem {
    				@include custom-prop-fallback("background-color","comp-navbar-link-color-background-hovered-screensmall");
    				@include custom-prop-fallback("color", "comp-navbar-link-color-text-hovered-screensmall");
    			}
    
    		}
    
    		#{$self}__collapseDropdownItem {
    
    			display: flex;
    			align-items: center;
    			padding: map-deep-get($token-spacer-inset-map, "md") map-deep-get($token-spacer-inset-map, "sm");
    			padding-left: $navbar-collapse-inner-padding + map-deep-get($token-sizes-unit-map, "32") + map-deep-get($token-spacer-inline-map, "md");
    			border-radius: map-deep-get($token-radius-map, "8");
    			width: 100%; // for btn items
    			font-weight: map-deep-get($token-font-weight-map, "semi-bold");
    			font-size: map-deep-get($design-tokens, "sys-font-size-helper-medium");
    			@include custom-prop-fallback("color","sys-color-text-primary-vivid");
    
    			&:hover,
    			&:focus {
    				@media (hover: hover) {
    					@include custom-prop-fallback("background-color","comp-navbar-link-color-background-hovered-screensmall");
    					@include custom-prop-fallback("color", "comp-navbar-link-color-text-hovered-screensmall");
    				}
    
    			}
    
    			&:focus-visible {
    
    				outline-style: solid;
    				outline-width: map-deep-get($design-tokens, "comp-button-pressed-border-width");
    				@include custom-prop-fallback("outline-color", "comp-navbar-link-color-text-hovered-screensmall", true, true);
    
    			}
    
    		}
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    			$next: breakpoint-next($breakpoint, $grid-breakpoints);
    			$infix: breakpoint-infix($next, $grid-breakpoints);
    
    			.navbar-expand#{$infix} & {
    
    				@include media-breakpoint-up($next) {
    
    					position: absolute;
    					box-shadow: map-deep-get($token-shadow-map, "active");
    					padding: map-deep-get($token-spacer-inset-map, "sm");
    					top: calc(100% + #{map-deep-get($token-spacer-unit-map, "8")}) !important;
    					margin: 0;
    
    					#{$self}__collapseDropdownItem {
    
    						padding-left: map-deep-get($token-spacer-inset-map, "sm");
    						font-size: $font-size-base;
    
    					}
    
    				}
    
    			}
    
    		}
    
    	}
    
    	&__collapseToggler {
    
    		display: flex;
    		align-items: center;
    		align-self: center;
    		padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
    		font-size: $navbar-toggler-font-size;
    		font-weight: map-deep-get($token-font-weight-map, "semi-bold") !important;
    		height: map-deep-get($token-button-size-big-map, "mobile" ,"min-height");
    		gap: map-deep-get($token-spacer-inline-map, "sm");
    
    		[class*="icon"] {
    
    			@include icon-base;
    			transition: transform 0.1s linear;
    
    			&::before {
    
    				content: map-deep-get($token-icon-map, "burger");
    
    			}
    
    		}
    
    		&[aria-expanded="true"] {
    
    			[class*="icon"] {
    
    				&::before {
    
    					content: map-deep-get($token-icon-map, "close");
    
    				}
    
    			}
    
    		}
    
    		@include hover-focus() {
    			text-decoration: none;
    			@include custom-prop-fallback("background-color","comp-navbar-button-hovered-background-color");
    		}
    
    	}
    	
    	&__collapseLinkImg {
    
    		width: map-deep-get($token-sizes-unit-map, "32");
    		height: map-deep-get($token-sizes-unit-map, "32");
    		margin-right: map-deep-get($token-spacer-inline-map, "md");
    
    		svg,
    		IMG {
    
    			width: 100%;
    			height: 100%;
    			object-fit: cover;
    
    		}
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    			$next: breakpoint-next($breakpoint, $grid-breakpoints);
    			$infix: breakpoint-infix($next, $grid-breakpoints);
    
    			.navbar-expand#{$infix} &{
    
    				@include media-breakpoint-up($next) {
    
    					display: none;
    
    				}
    
    			}
    
    		}
    
    	}
    
    	&__backIcon {
    		//width: auto;
    	}
    
    	&__backText {
    		@include media-breakpoint-between(xs,md) {
    			@include sr-only;
    		}
    	}
    
    	&__adaptiveLogo {
    
    		width: $nav-topbar-logo-mobile-width-global;
    		height: $nav-topbar-logo-mobile-width-global;
    		overflow: hidden;
    		margin-right: map-deep-get($token-spacer-unit-map, "16");
    
    		svg {
    
    			path[fill="#{map-deep-get($design-tokens, 'sys-color-text-primary-vivid')}"] {
    				fill: map-deep-get($design-tokens, "comp-navbar-text-color");
    			}
    
    		}
    
    		@include media-breakpoint-up(lg) {
    			margin-right: map-deep-get($token-spacer-unit-map, "24");
    			width: auto;
    		}
    
    		* {
    			max-height: 100%;
    		}
    
    	}
    
    	&__alignEnd {
    
    		display: flex;
    		align-items: center;
    		justify-content: flex-end;
    		margin-left: auto;
    		gap: map-deep-get($token-spacer-inline-map, "sm")
    
    	}
    
    	&__languageSwitcher {
    
    		height: $nav-topbar-height-global;
    
    		@include media-breakpoint-up("lg") {
    			height: map-deep-get($token-button-size-big-map, "mobile" ,"min-height");
    		}
    		
    		> * {
    
    			height: 100%;
    			display: flex;
    			align-items: center;
    
    		}
    
    	}
    
    	// nav__stepper
    	&__stepper {
    
    		// follows same logic as parent
    
    		display: none;
    
    		@include media-breakpoint-up(lg) {
    			display: block;
    		}
    
    	}
    	
    	&__stickyFooterContent {
    
    		position: fixed;
    		z-index: z("sticky");
    		right: 0;
    		bottom: map-deep-get($token-spacer-stack-max-map, "xl");
    		left: 0;
    		display: flex;
    		align-items: center;
    		justify-content: center;
    
    		@each $breakpoint in map-keys($grid-breakpoints) {
    
    			$camelKey: camelize(static-#{$breakpoint});
    
    			&.-#{$camelKey} {
    
    				@include media-breakpoint-up(#{$breakpoint}) {
    
    					position: static;
    
    				}
    
    			}
    
    		}
    
    
    	}
    
    	/* @TODO replace with contextual class */
    	.dropdown-menu {
    
    		top: calc(100% + #{map-deep-get($token-spacer-unit-map, "8")});
    
    		@include media-breakpoint-up("lg") {
    			top: calc(100% + #{map-deep-get($token-spacer-unit-map, "16")});
    		}
    
    	}
    
    
    	/* modifiers */
    
    	// nav -altStyle
    	&.-cobranding {
    
    		#{$self}__logo {
    			flex-shrink: 0;
    		}
    
    		#{$self}__adaptiveLogo {
    			margin-right: map-deep-get($token-spacer-unit-map, "24");
    		}
    
    		#{$self}__logoCoBranding {
    
    			position: relative;
    			display: flex;
    			align-items: center;
    			flex-shrink: 0;
    			margin-right: map-deep-get($token-spacer-unit-map, "8");
    
    			&::before {
    
    				content: "";
    				margin-right: map-deep-get($token-spacer-unit-map, "24");
    				height: $nav-topbar-cobranding-logo-height-global;
    				width: 1.5px;
    				@include custom-prop-fallback("background-color", "sys-color-text-primary-muted");
    
    				flex-shrink: 0;
    
    			}
    
    
    			IMG {
    
    				width: $nav-topbar-logo-mobile-width-global;
    
    				&:last-child {
    
    					display: none;
    
    				}
    
    				@include media-breakpoint-up(lg){
    
    					width: auto;
    					height: $nav-topbar-cobranding-logo-height-global;
    
    					&:first-child {
    
    						display: none;
    
    					}
    
    					&:last-child {
    
    						display: block;
    
    					}
    
    				}
    
    			}
    
    		}
    
    		#{$self}__centeredContent {
    
    			display: block;
    			@include text-truncate;
    
    		}
    
    		#{$self}__content {
    
    			margin-left: map-deep-get($token-spacer-unit-map, "8");
    
    		}
    
    		#{$self}__dropdownToggle {
    
    			padding-left: 0;
    
    			@include media-breakpoint-up(lg){
    
    				padding-left: map-deep-get($token-spacer-unit-map, "16");
    
    			}
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/spk-nav/_nav.scss
  • Filesystem Path: components/spuerkeess-site/organisms/nav/_nav.scss
  • Size: 15.6 KB