Nav: Landing

No notes defined.

<header class="sds-navTopbar sds-snetFrame__header">
    <div class="sds-navTopbar__container">
        <nav class="sds-navTopbar__inner navbar navbar-expand">
            <a href="#back" class="sds-navTopbar__back">
                <span class="sds-iconCircle" aria-hidden="true">

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

                </span>

                <span class="sds-textHelper sds-navTopbar__backText">Accueil</span>
            </a>
            <a class="sds-navTopbar__logo navbar-brand" href="#">
                <img src="../../media/logos/logo-bcee.svg" class="img-fluid" alt="">
            </a>
            <div class="sds-navTopbar__centeredContent sds-navTopbar__dropdownWrapper dropdown sds-textHelper">

                <span>Ouvrir une nouvelle entité</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 sds-navTopbar__dropdownWrapper dropdown">
                        <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/avatarUser.png" 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>
                    </li>
                </ul>
            </div>
        </nav>
    </div>
</header>
{% render "@snet-nav--landing",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