//Navbar links colours, font and fadeinout animations. // Media Queries .dropdown-menu { z-index: 25000 !important; } .mobile-link-inactive{ pointer-events: none; cursor: default; } @media (min-width: $screen-lg) { .navbar-collapse { padding-top: 0px; padding-right: 38px; margin-right: -40px !important; margin-left: -15px !important; } ul.dropdown-menu { margin-top: -1px !important; } #navbar-buttons { margin-right: 40px; } #navbar-collapse { width: 80%; float: right; } .navbar-right .dropdown-menu { right: auto; left: 0; } } @media (max-width: 991px){ // Style for Home Page Nav - Transparent nav.nav-light > div#navbar-collapse { background-color: white; } nav.nav-light div#navbar-collapse {background-color: white;} nav.nav-light #navbar-buttons>li>a { color: #444444 !important; } } @media screen and (max-width: $screen-lg) and (min-width: 0px) { ul#navbar-buttons>li { padding-top: 15px; } button.navbar-toggle { margin-right: 10px; } } // Nav Bar Toggle .navbar-toggle { margin-top: 12px !important; position: static !important; } #tabbed-nav-bar .navbar-toggle{ color:$brand-primary !important; } button.btn.btn-default.dropdown-toggle { color: $navbar-base-text-color; } nav{ letter-spacing: 1px; } nav ul.dropdown-menu { min-width: 260px; } nav li a { font-size: 16px; font-weight: 300; } nav .dropdown-menu li a { padding: 10px 20px; font-size: 14px; font-weight: 300; } nav .dropdown-menu li a:hover{ transition: color .5s ease; -moz-transition: color .5s ease; -webkit-transition: color .5s ease; } nav li a:hover{ transition: color .5s ease; -moz-transition: color .5s ease; -webkit-transition: color .5s ease; } // Dark and Light Nav Bar nav.nav-light #navbar-buttons > li > a { color:#fff; } nav.nav-dark #navbar-buttons > li > a { color:#000; } nav.nav-light { background: transparent; } nav.nav-dark { background: transparent; } nav.nav-light button.navbar-toggle .icon-bar { background-color:#fff !important; } nav.nav-dark button.navbar-toggle .icon-bar { background-color:#fff !important; } // Nav Bar SVG Style svg#navbar_svg { height: 66px; padding-top: 5px; padding-bottom: 5px; } nav.nav-light .cls-2 { fill: #666; } nav.nav-light .cls-2 { fill: #fff; } nav.nav-dark .cls-2 { fill: #000; } // Sub Menu for Boostrap NavBar .dropdown-submenu { position:relative; } .dropdown-submenu>.dropdown-menu { top:0; left:100%; margin-top:-6px; margin-left:-1px; -webkit-border-radius:0 6px 6px 6px; -moz-border-radius:0 6px 6px 6px; border-radius:0 6px 6px 6px; } .dropdown-submenu:hover>.dropdown-menu { display:block; } .dropdown-submenu>a:after { display:block; content:" "; float:right; width:0; height:0; border-color:transparent; border-style:solid; border-width:5px 0 5px 5px; border-left-color:#cccccc; margin-top:5px; margin-right:-10px; } .dropdown-submenu:hover>a:after { border-left-color:#ffffff; } .dropdown-submenu.pull-left { float:none;} .dropdown-submenu:hover>a:after { border-left-color:#ffffff; } .dropdown-submenu.pull-left { float:none; } .dropdown-submenu.pull-left>.dropdown-menu { left:-100%; margin-left:10px; -webkit-border-radius:6px 0 6px 6px; -moz-border-radius:6px 0 6px 6px; border-radius:6px 0 6px 6px; } .dropdown-submenu > ul.dropdown-menu > li > a { color: $navbar-base-text-color; } .dropdown-submenu > ul.dropdown-menu > li > a:hover { color: $brand-primary; text-decoration: none; transition: 500ms all ease; } .dropdown-submenu.pull-left>.dropdown-menu { left:-100%; margin-left:10px; -webkit-border-radius:6px 0 6px 6px; -moz-border-radius:6px 0 6px 6px; border-radius:6px 0 6px 6px; } .dropdown-submenu > ul.dropdown-menu > li > a { color: $navbar-base-text-color; } .dropdown-submenu > ul.dropdown-menu > li > a:hover { color: $brand-primary; text-decoration: none; transition: 500ms all ease; } .dropdown-submenu > ul.dropdown-menu { margin-left: -1px; } ul#navbar-buttons > li > ul.dropdown-menu { top: 67px; } // Tabbed nav bar css #tabbed-nav-bar .nav-tabs > li > a { color: black; } // Navbar Brand .navbar-brand { @media (min-width: 1200px){ padding-top: 0px; padding-bottom: 0px; padding-left: 15px; } @media (max-width: 1199px){ padding-top: 0px; padding-bottom: 0px; padding-left: 5px; } } #brand-image { height:66px; width:auto; padding-top: 5px; padding-bottom: 5px; } #brand-image { @media (max-width: 1200px){ height:70px; width:auto; } } .navbar-collapse { position: relative; max-height: 270px; } .input-group-btn { min-width: 50px; } nav > li { font-size: 14px; } nav > li.active > a, nav > li.active > a:focus, nav > li.active > a:hover { border-width: 0; } nav > li.active > a, nav > li > a:hover { border: none; } nav > li > a { /* adjust padding for height*/ padding-top: 4px; padding-bottom: 4px; } nav > li > a::after { content: ""; height: 2px; position: absolute; width: 100%; left: 0px; bottom: -1px; transition: all 250ms ease 0s; transform: scale(0); } nav > li.active > a::after, nav > li:hover > a::after { transform: scale(1); } nav > ul.navbar-right { min-width: 620px; } #tabbed-nav-bar { background-color:white; padding-bottom:10px; height:80px; } #tabbed-nav-bar .collapse{ margin-bottom:-1px; z-index: 1; } .sticky-nav { position: fixed; top: 0; z-index: 1000; left: 0; right: 0; transition: all 1s ease; } @media(max-width:1200px){ #tabbed-nav-bar .tabbed-nav-btn{ width:100%; } #sub-navigation-header { font-size: 14px; } #tabbed-nav-bar .nav-tabs{ background-color: $navbar-inverse-bg; margin-top: -25px; margin-bottom: 20px; } #tabbed-nav-bar .nav-tabs>li>a::after { background: transparent; } #tabbed-nav-bar .nav-tabs>li>a { color: $navbar-base-text-color; } #tabbed-nav-bar .nav-tabs>li>a:hover { color: $brand-primary; } #tabbed-nav-bar .nav-tabs>li.active>a, #tabbed-nav-bar .nav-tabs>li.active>a:hover, #tabbed-nav-bar .nav-tabs>li.active>a:focus { color: $brand-primary; background-color: transparent; cursor: default; } #tabbed-nav-bar { z-index:10000; } } #sub-navigation-header{ display:none; height:100%; line-height: 50px; } .navbar-header { position: relative; z-index: 1; } // Tabbed Nav bar /* -------- Tabbed Content Sections ------- */ .tab-pane { background-color: white; margin-top: -20px; padding: 21px; overflow: hidden; } .tab-content { margin-top: 40px; } .nav-tabs > li { font-size: 14px; } .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { border-width: 0; } .nav-tabs > li > a { border: none; line-height:40px; //Set the line height to change the size of the tabs. font-size: 18px; } .nav-tabs > li.active > a, .nav-tabs > li > a:hover { border: none; } .nav-tabs > li > a { /* adjust padding for height*/ padding-top: 4px; padding-bottom: 4px; } .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus, .nav-tabs>li>a:hover { color: $brand-primary !important; } .nav-tabs > li > a::after { content: ""; height: 2px; position: absolute; width: 100%; left: 0px; bottom: -1px; transition: all 250ms ease 0s; transform: scale(0); } .nav-tabs > li.active > a::after, .nav-tabs > li:hover > a::after { transform: scaleY(2); } .tab-row-faq > li { height:20px ; } .nav-tabs { border-bottom: 2px solid $gray; margin-top: 31px; font-weight: 700; } .nav-tabs > li > a { color: $navbar-base-text-color; } .nav-tabs > li.active > a, .nav-tabs > li > a:hover { color: black; background: transparent; } .nav-tabs > li > a::after { background: $brand-primary; } .tab-nav > li > a::after { background: $brand-primary none repeat scroll 0% 0%; color: $navbar-base-text-color; } @media (min-width: 1200px) { #tabbed-nav-bar .nav-tabs { margin-top: 18px; } } .tab-pane-legal{ padding:0px; } //Changed the default navbar text colour .navbar-inverse .navbar-nav > li > a { color: $footer-text-color; } button#closeForm { color: $navbar-base-text-color; } @media (max-width: 1199px){ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a.dropdown-item { color: $navbar-base-text-color; } } // Style for stacked nav li.side-nav-button { border-top: 1px solid $gray-lighter; border-right: 0px; border-left: 0px; margin-bottom: -3px; } li.side-nav-button:first-child { border-top: 0px; } .nav-pills > li.side-nav-button>a { border-radius: 0px; font-size: 16px; } ul#navbar-buttons > li { padding-top: 15px; } .dropdown-menu li:hover { background-color: #eee; transition: all 500ms ease; } .dropdown-menu li { transition: all 500ms ease; } #navbar-buttons .dropdown-menu { background-color: #fff; border-top: 2px solid $brand-primary; } #navbar-buttons .dropdown-menu>li>a { color: #444444; letter-spacing: 0; font-size:12px; outline: 0; } #navbar-buttons .dropdown-menu>li>a:hover { color: $brand-primary; letter-spacing: 0; font-size:12px; } .navbar-inverse .navbar-nav>li>a { color: #444444; font-size: 12px; font-weight: bold; padding-right: 20px !important; padding-left: 20px !important; text-transform: uppercase; letter-spacing: 0px; } .navbar-inverse #navbar-buttons >li>a { color: $navbar-base-text-color; } .navbar-inverse #navbar-buttons>li>a:hover{ color: $brand-primary; } // Search Bar i.glyphicon.glyphicon-search { font-size: 16px; } div#search_bar { width: 100%; position: absolute; text-align:right; height: 66px; right: 43px; display: none; background-color: $navbar-inverse-bg; z-index: 99999; } div#search_bar input { width:100%; right: 0; height: 66px; border-radius:0; outline:0; border:0; text-align: right; font-size: 26px; background-color: $navbar-inverse-bg; color: $navbar-base-text-color; border-color: inherit; -webkit-box-shadow: none; box-shadow: none; } div#search_bar input:focus { border-color: inherit; -webkit-box-shadow: none; box-shadow: none; outline: none; } #search_bar .input-group{ width: auto; } div#search_bar button { width:50px; margin-left: -10px; border-radius: 0px; height: 66px; padding-top: 13px; font-size: 16px; background-color: $navbar-inverse-bg; border:0; color: $navbar-base-text-color; } div#search_bar button:hover { background-color: $navbar-base-text-color; color: $navbar-inverse-bg; } div#search_bar input::-webkit-input-placeholder { color: $navbar-base-text-color !important; } div#search_bar input:-moz-placeholder { /* Firefox 18- */ color: $navbar-base-text-color !important; } div#search_bar input::-moz-placeholder { /* Firefox 19+ */ color: $navbar-base-text-color !important; } div#search_bar input:-ms-input-placeholder { color: $navbar-base-text-color !important; } //NavBar Subtle Animations li.dropdown-submenu.sub-menu:hover > a:after { margin-right:-6px; margin-top: 8px; transform: rotateZ(90deg); border-left-color:#a5a5a5; } li.dropdown-submenu.sub-menu > a:after { transition: all 100ms linear; } li.dropdown.menu.open > a { color: #a682b8 !important; } ul.dropdown-menu.menu { padding-top: 0; padding-bottom: 0; border-radius: 0 !important; } // Linaro Sites Navigation li#linaro-app-menu-item > a >i.glyphicon.glyphicon-th { font-size: 16px; margin-top: -17px; } li#linaro-app-menu-item { top: -1px; } li#linaro-app-menu-item { margin-right: 15px; } li#linaro-app-menu-item > ul { right: 10px; left: auto; } li#linaro-app-menu-item > ul { background: none repeat scroll 0 0 #a080b7; margin-top: 25px; padding: 0 0 0 10px; position: absolute; width: 125px; z-index: 999; border:solid #a080b7 1px; margin-left:-24px; } li#linaro-app-menu-item > ul:before { top:-34px; left: 93%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } li#linaro-app-menu-item > ul:before { border-color: rgba(204, 204, 204, 0); border-bottom-color: #a080b7; border-width: 16px; margin-left: -16px; } @media only screen and (max-width: 1459px) and (min-width: 992px) { div#search_bar { right: 0px; } }