By Default, navbars scroll with the content of the page. To make them stick to the top of the browser window use .navbar-fixed-top
. For both buttons and links styled like buttons within the navbar, use .btn.navbar-button
to apply the proper padding.
For some projects, you may want to use a transparent navbar. Pop the .navbar-transparent
class on .navbar
. To remove transparency on a .navbar-fixed-to-top
after scrolling 260px, include .navbar-color-on-scroll
.
IMPORTANT! Try to keep your navbars uncluttered. If your project requires a lot of links within your navbar, introduce a dropdown
. Use .pull-*-left
and .pull-*-right
to quickly align sub-components.
accessibility View Accessibility Notes
<nav class="navbar"> <a class="navbar-brand" href="#">Lone Wolf <span class="sr-only">(current)</span></a> <div class="nav navbar-nav pull-xs-right"> <div class="nav-item dropdown"> <a href="#" class="btn navbar-button dropdown-toggle" data-toggle="dropdown" aria-expanded="false" aria-haspopup="true" role="button"> Features </a> <ul class="dropdown-menu" role="menu" aria-hidden="true"> <li><a href="#" role="menuitem">Features 1</a></li> <li><a href="#" role="menuitem">Features 2</a></li> <li><a href="#" role="menuitem">Features 3</a></li> </ul> </div> <a class="nav-item btn navbar-button" href="javascript:void(0)">Pricing</a> <a class="nav-item btn navbar-button" href="javascript:void(0)">Contact</a> <button class="nav-item btn navbar-button" aria-label="Search"><i class="material-icons" aria-hidden="true">search</i></button> </div> </nav>
Product Platform navbars contain buttons that launch Menu Panels, but never direct links or dropdown menus. Panels slide out from the left and right of the browser window's edge.
The menu toggle button morphs between two icons to reflect the state of the main menu. Try it out below.
For smaller screens, wrap navigational elements in .collapse .navbar-collapse
and place a unique ID
on it. Trigger the collapsed area to open with a button
using the data-toggle
and data-target
attributes. To make the trigger button vissible only on mobile, use the .visible-xs
class.
accessibility View Accessibility Notes
<header id="header"> <nav class="navbar navbar-fixed-top"> <div class="container-fluid"> <div class="pull-md-left nav navbar-nav"> <button class="nav-item btn navbar-button toggle-menu-default btn-toggle-menu menu-icon" rel="tooltip" data-placement="bottom" title="Menu" aria-label="Menu"> <span> <span class="s1"></span> <span class="s2"></span> <span class="s3"></span> </span> </button> <button style="display:none;" class="nav-item btn navbar-button toggle-menu-alt btn-toggle-menu" rel="tooltip" data-placement="bottom" title="Menu" aria-label="Menu"><i class="material-icons" aria-hidden="true">menu</i></button> <button class="nav-item btn navbar-button toggle-apps-menu" rel="tooltip" data-placement="bottom" title="My Apps" aria-label="Apps"><i class="material-icons">apps</i></button> <div class="nav-item navbar-location-indicator visible-xs-inline-block">Dashboard</div> <button type="button" class="btn navbar-button navbar-toggle visible-xs" data-toggle="collapse" data-target="#navbar-collapse-section" aria-expanded="false" aria-label="Dashboard Actions"><i class="material-icons" aria-hidden="true">more_vert</i></button> </div> <ul class="pull-md-right nav navbar-nav collapse navbar-collapse" id="navbar-collapse-section"> <li class="nav-item"> <button class="btn navbar-button navbar-button-toggle" rel="tooltip" data-placement="bottom" title="Search" data-toggle="modal" data-target=".do-search" aria-label="Search"><i class="material-icons" aria-hidden="true">search</i></button> </li> <li class="nav-item quick-create-toggle"> <button id="sidebar-quick-create-toggle" class="btn navbar-button navbar-button-toggle" rel="tooltip" data-placement="bottom" title="Create" type="button" aria-haspopup="true" aria-expanded="false" aria-label="Create"><i class="material-icons" aria-hidden="true">add_box</i></button> </li> <li class="nav-item task-notifications"> <button id="sidebar-task-toggle" class="btn navbar-button navbar-button-toggle" rel="tooltip" data-placement="bottom" title="Tasks" type="button" aria-haspopup="true" aria-expanded="false" aria-label="Tasks"><i class="material-icons" aria-hidden="true">assignment_turned_in</i><span class="badge">2</span></button> </li> <li class="nav-item general-notifications"> <button id="sidebar-notification-toggle" class="btn navbar-button navbar-button-toggle" rel="tooltip" data-placement="bottom" title="News" type="button" aria-haspopup="true" aria-expanded="false" aria-label="News">WIGO<span class="badge">12</span></button> </li> <li class="nav-item profile-toggle"> <button id="sidebar-profile-toggle" class="btn navbar-button navbar-button-toggle navbar-profile" rel="tooltip" data-placement="bottom" title="Account" type="button" aria-haspopup="true" aria-expanded="false" aria-label="Account"><img src="ex-agent-profile-250x250.png" class="navbar-profile-image profile-img-sm profile-img" alt="Profile Image"></button> <span class="navbar-status status-badge status-in"></span> </li> </ul> </div><!-- end .container-fluid--> </nav> </header>
This component houses the page title, the Help button and action buttons relating to content on the page.
There can be a maximum of 8 action buttons within the Actionbar. Group similar actions (ie: Print, Print a Cheque, Print Batch Cheques, Print an EFT) together in a Dropdown.
On mobile, all actions should be grouped in an "Overflow" dropdown and marked with the more_vert more_vert
Material Icon. Use the .divider
class on a list item to segment off similar actions.
accessibility View Accessibility Notes
<div class="actionbar"> <div class="btn-group-action" role="group" aria-label="Action Tools" > <button type="button" class="btn" rel="tooltip" data-placement="bottom" title="Add Widget" aria-label="Add Widget"> <i class="material-icons">add</i> </button> <button type="button" class="btn" rel="tooltip" data-placement="bottom" title="Delete Widget" aria-label="Delete Widget"> <i class="material-icons" aria-hidden="true">delete_forever</i> </button> <div class="btn-group dropdown" role="group"> <button type="button" class="btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Toggle Dropdown" aria-haspopup="true" rel="tooltip" data-placement="bottom" title="Print" aria-label="Print"> <i class="material-icons">print</i> </button> <ul class="dropdown-menu" role="menu" aria-hidden="true"> <li><a href="#" role="menuitem">Print</a></li> <li><a href="#" role="menuitem">Print Cheque</a></li> <li><a href="#" role="menuitem">Print Batch Cheques</a></li> <li><a href="#" role="menuitem">Print an EFT</a></li> </ul> </div> </div> <div class="action-bar-dropdown"> <div class="dropdown btn-group" role="group"> <button type="button" class="btn btn-default " data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Toggle Dropdown"><i class="material-icons" aria-hidden="true">more_vert</i></button> <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-hidden="true"> <li><a href="#">Add Widget</a></li> <li><a href="#">Delete Widget</a></li> <li class="divider"></li> <li><a href="#" role="menuitem">Print</a></li> <li><a href="#" role="menuitem">Print Cheque</a></li> <li><a href="#" role="menuitem">Print Batch Cheques</a></li> <li><a href="#" role="menuitem">Print an EFT</a></li> <li role="separator" class="divider"></li> <li><a href="#" data-toggle="modal" data-target=".help-modal">Help</a></li> </ul> </div> </div> <h4>Dashboard <a href="javascript:void(0);" data-toggle="modal" data-target=".help-modal" rel="tooltip" data-placement="bottom" title="Help" aria-label="Help" class="modal-button"><i class="material-icons qi-icon">help_outline</i></a></h4> </div>
Use tablist
functionality provided by Bootstrap to create navs. A collection of .tab-pane
divs are shown/hidden by navigational links with corresponding href targets
and data-toggle
attributes. All .tab-pane
elements must be inside a .tab-content
container.
If you need to utilize the .active
class, please note Bootstrap applies it to the containing li
and not the a
—however this may be changing in Bootstrap 4.
To make tabs fade in on show/hide, add .fade
to each .tab-pane
. The first tab pane must also have .in
to make the initial content visible.
accessibility View Accessibility Notes
Content goes here, and more content can go in the following panes.
Content for the second Tab Panel goes here, and more content can go in the following panes.
Content a Third Panel goes here, and more content can go in the following panes.
Content for the Last Panel goes here, and more content can go in the following panes.
<!-- Nav --> <ul class="nav nav-inline" role="tablist"> <li class="nav-item active" role="presentation"> <a class="nav-link" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" aria-selected="true"> Item One </a> </li> <li class="nav-item" role="presentation"> <a class="nav-link" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Two </a> </li> <li class="nav-item" role="presentation"> <a class="nav-link" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Three </a> </li> <li class="nav-item" role="presentation"> <a class="nav-link" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Four </a> </li> </ul> <!-- Panels --> <div class="tab-content" tabindex="0"> <div role="tabpanel" class="tab-pane fade in active" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">stay_current_portrait</i></h1><h4 class="text-center"><br>Hello, I'm the content for Item One</h4><p class="text-center">Content goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">phonelink_ring</i></h1><h4 class="text-center"><br>Fading Tab Pane Two...</h4><p class="text-center">Content for the second Tab Panel goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">phonelink_setup</i></h1><h4 class="text-center"><br>Fading Tab Pane Three...</h4><p class="text-center">Content a Third Panel goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">location_on</i></h1><h4 class="text-center"><br>Fading Tab Pane Four...</h4><p class="text-center">Content for the Last Panel goes here, and more content can go in the following panes.</p></div> </div>
Nav Tabs look similar to Nav Bars. Add the .nav-justified
to stretch the tab options across.
Content goes here, and more content can go in the following panes.
Content goes here, and more content can go in the following panes.
Content goes here, and more content can go in the following panes.
Content goes here, and more content can go in the following panes.
<ul class="nav nav-tabs nav-justified" role="tablist"> <li class="active" role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" aria-selected="true"> Item One </a> </li> <li role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Two </a> </li> <li role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Three </a> </li> <li role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Four </a> </li> </ul> <!-- Tab panes --> <div class="tab-content" tabindex="0"> <div role="tabpanel" class="tab-pane active" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Hello, I'm the content for Item One</h4><p>Content goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Two...</h4></div> <div role="tabpanel" class="tab-pane" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Three...</h4></div> <div role="tabpanel" class="tab-pane" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Four...</h4></div> </div>
Nav Pills can be either subtle or attention grabbing, depending how you use them.
Content goes here, and more content can go in the following panes.
Content goes here, and more content can go in the following panes.
Content goes here, and more content can go in the following panes.
Content goes here, and more content can go in the following panes.
<ul class="nav nav-pills" role="tablist"> <li class="active" role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" id="REPLACE ME" aria-controls="REPLACE ME" aria-selected="true"> Item One </a> </li> <li role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" id="REPLACE ME" aria-controls="pill-content-two" tabindex="-1" aria-selected="false"> Item Two </a> </li> <li role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" id="REPLACE ME" aria-controls="pill-content-three" tabindex="-1" aria-selected="false"> Item Three </a> </li> <li role="presentation"> <a href="#REPLACE ME" role="tab" data-toggle="tab" id="REPLACE ME" aria-controls="pill-content-four" tabindex="-1" aria-selected="false"> Item Four </a> </li> </ul> <!-- Pill panes --> <div class="tab-content" tabindex="0"> <div role="tabpanel" class="tab-pane active" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Hello, I'm the content for Item One</h4><p>Content goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Two...</h4></div> <div role="tabpanel" class="tab-pane" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Three...</h4></div> <div role="tabpanel" class="tab-pane" id="REPLACE ME" aria-labelledby="REPLACE ME"><h4><br>Four...</h4></div> </div>
An alternative version of the nav using rounded edges. Harness the same tablist
functionality used in the previous navs by applying it to any list of navigation and a collection of tab-pane
elements.
The Rounded Nav takes any of the valid button styles defined in the Button Elements section.
Content goes here, and more content can go in the following panes.
Content for the second Tab Panel goes here, and more content can go in the following panes.
<!-- Nav --> <ul class="nav nav-rounded" role="tablist"> <li class="active" role="presentation"> <a class="btn btn-primary-outline" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" aria-selected="true"> Item One </a> </li> <li role="presentation"> <a class="btn btn-primary-outline" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Two </a> </li> </ul> <!-- Panels --> <div class="tab-content" tabindex="0"> <div role="tabpanel" class="tab-pane fade in active" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">stay_current_portrait</i></h1><h4 class="text-center"><br>Hello, I'm the content for Item One</h4><p class="text-center">Content goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">phonelink_ring</i></h1><h4 class="text-center"><br>Fading Tab Pane Two...</h4><p class="text-center">Content for the second Tab Panel goes here, and more content can go in the following panes.</p></div> </div>
Content goes here, and more content can go in the following panes.
Content for the second Tab Panel goes here, and more content can go in the following panes.
Content a Third Panel goes here, and more content can go in the following panes.
Content for the Last Panel goes here, and more content can go in the following panes.
<!-- Nav --> <ul class="nav nav-rounded" role="tablist"> <li class="active" role="presentation"> <a class="btn btn-default btn-raised" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" aria-selected="true"> Item One </a> </li> <li role="presentation"> <a class="btn btn-default btn-raised" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Two </a> </li> <li role="presentation"> <a class="btn btn-default btn-raised" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Three </a> </li> <li role="presentation"> <a class="btn btn-default btn-raised" href="#REPLACE ME" id="REPLACE ME" role="tab" data-toggle="tab" aria-controls="REPLACE ME" tabindex="-1" aria-selected="false"> Item Four </a> </li> </ul> <!-- Panels --> <div class="tab-content" tabindex="0"> <div role="tabpanel" class="tab-pane fade in active" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">stay_current_portrait</i></h1><h4 class="text-center"><br>Hello, I'm the content for Item One</h4><p class="text-center">Content goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">phonelink_ring</i></h1><h4 class="text-center"><br>Fading Tab Pane Two...</h4><p class="text-center">Content for the second Tab Panel goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">phonelink_setup</i></h1><h4 class="text-center"><br>Fading Tab Pane Three...</h4><p class="text-center">Content a Third Panel goes here, and more content can go in the following panes.</p></div> <div role="tabpanel" class="tab-pane fade" id="REPLACE ME" aria-labelledby="REPLACE ME"><h1 class="text-center" aria-hidden="true"><i class="material-icons">location_on</i></h1><h4 class="text-center"><br>Fading Tab Pane Four...</h4><p class="text-center">Content for the Last Panel goes here, and more content can go in the following panes.</p></div> </div>
The Bootstrap pagination elements were customized to fit Lone Wolf branding.
accessibility View Accessibility Notes
<ul class="pagination" role="menu" aria-label="Pagination"> <li><a href="#" aria-label="First Page"><</a></li> <li class="active"><a href="#" aria-label="You're currently on page 1">1</a></li> <li><a href="#" aria-label="Page 2">2</a></li> <li><a href="#" aria-label="Page 3">3</a></li> <li><a href="#" aria-label="Page 4">4</a></li> <li><a href="#" aria-label="Page 5">5</a></li> <li><a href="#" aria-label="Last Page">></a></li> </ul>
The dashboard is the central page for all information and updates and is fully configurable through the use of dashlets. Unlock the screen to add, remove, or change settings on a dashlet.
The following elements and components are on-deck to be added to the UI Kit:
If you would like to see a element or component added to the kit, send an email to Natalie.