Nav: User Menu Shown

No notes defined.

<header class="sds-navTopbar sds-snetFrame__header">
    <div class="sds-navTopbar__container">
        <nav class="sds-navTopbar__inner navbar navbar-expand">
            <div class="sds-navTopbar__alignToMainContent">
                <a class="sds-navTopbar__logo navbar-brand" href="#">
                    <img src="../../media/logos/logo-bcee.svg" class="img-fluid" alt="">
                </a>
            </div>
            <div class="sds-navTopbar__meta sds-textHelper">
                <span>Corporate's Bridge</span>
                <span class="sds-navTopbar__metaTime">Mercredi, 23. Octobre・10:54</span>
            </div>
            <div class="sds-navTopbar__collapse navbar-collapse" id="sds-navTopbar__collapse">
                <ul class="sds-navTopbar__content navbar-nav">

                    <li class="sds-navTopbar__item dropdown -hasNotif -hasLabelShown">
                        <button type="button" class="sds-btn -iconBtn -secondary100 sds-navTopbar__icon dropdown-toggle" data-toggle="dropdown" aria-expanded="false">

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

                        </button>

                        <span class="sds-navTopbar__notificationLabel">
                            <span class="sds-navTopbar__notificationLabelText">
                                10

                            </span>
                        </span>

                        <div class="sds-navTopbar__itemNotifAnim">
                            <span class="lottieBellAnim"></span>
                        </div>

                    </li>

                    <li class="sds-navTopbar__item dropdown show">

                        <button type="button" class="sds-navTopbar__dropdownToggle -avatar dropdown-toggle" data-toggle="dropdown" aria-expanded="false">

                            <div class="sds-avatar centeredBgi sds-navTopbar__userDropdownAvatar">

                                <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicWoman.svg" alt="">

                            </div>

                            <span class="sds-navTopbar__userDropdownLabel sds-textHelper">Label With Name</span>
                            <span class="sds-iconCircle" aria-hidden="true">

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

                            </span>

                        </button>

                        <div class="sds-userMenu sds-navTopbar__userMenu dropdown-menu dropdown-menu-right">

                            <div class="sds-userMenu__header d-flex align-items-center">

                                <div class="sds-avatar centeredBgi -avatarXl sds-userMenu__avatar">

                                    <img class="img-fluid" src="../../media/snet/avatars/nopic/avatarNoPicWoman.svg" alt="">

                                </div>

                                <div class="sds-userMenu__headerText">
                                    <div class="h3">Jil Schmit Longname</div>
                                    <div class="sds-userMenu__headerMeta sds-textHelper">Corporate&#39;s Bridge</div>
                                </div>
                            </div>

                            <ul class="sds-userMenu__content list-unstyled">

                                <li class="sds-userMenu__item">

                                    <a href="" class="sds-userMenu__link d-flex align-items-center justify-content-between">
                                        <span class="font-weight-semibold">Changer de convention</span>
                                        <div class="sds-userMenu__itemMeta d-flex align-items-center">

                                            <span class="sds-iconCircle -secondary10" aria-hidden="true">

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

                                            </span>

                                        </div>
                                    </a>
                                </li>

                                <li class="sds-userMenu__item -borderTop">
                                    <div class="sds-userMenu__link d-flex align-items-center justify-content-between -isStatic">
                                        <span class="font-weight-semibold">Langue</span>
                                        <div class="sds-btnGroup">

                                            <a href="" class="sds-numberCircle -secondary10 -large sds-userMenu__langItem ">
                                                EN
                                            </a>

                                            <a href="" class="sds-numberCircle -secondary10 -large sds-userMenu__langItem -isActive">
                                                FR
                                            </a>

                                            <a href="" class="sds-numberCircle -secondary10 -large sds-userMenu__langItem ">
                                                DE
                                            </a>

                                        </div>
                                    </div>
                                </li>

                            </ul>

                        </div>

                    </li>

                    <li class="sds-navTopbar__item">
                        <button type="button" class="sds-btn -iconBtn -secondary100 sds-navTopbar__icon">

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

                        </button>
                    </li>
                </ul>
            </div>
        </nav>
    </div>
</header>
{% render "@snet-nav",navOptions,true %}
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}navTopbar {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    
    	/* 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 */
    
    	// navTopbar__childElement
    	&__childElement {
    
    		// follows same logic as parent
    
    	}
    
    
    	/* modifiers */
    
    	// navTopbar -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/cpb-nav/_nav-topbar.scss
  • Filesystem Path: components/corporate-bridge/organisms/nav/_nav-topbar.scss
  • Size: 941 Bytes