Sha256: f450daa3b0f6f90e6c4818c1121d51bc567518bd477a88a6f34e15b6996da612
Contents?: true
Size: 1.32 KB
Versions: 12
Compression:
Stored size: 1.32 KB
Contents
<header id="header-is_fixed"> <%= render partial: "forever_style_guide/sections/components/navigation/signed_in" %> </header> <div class="container l-section"> <div class="card l-section-far l-padded-thick" style="min-height: 800px;"> <h1>Fixed Navigation - Signed In User</h1> <p>To implement:</p> <ol> <li>Add the account popover triggers markup for mobile and desktop w/ in your conditional check against the logged in state.</li> <li>Immediately following the triggers include the popover content markup</li> <li>Be sure to include the (empty) account popover containers for desktop and mobile immediately after the closing <nav> tag.</li> <li>Include the account-popover.js snippet</li> </ol> <p>How it works:</p> <ul> <li>On the desktop the avatar and name expose a popover inlined into the header the same way we do in the app, albeit with slightly modified contextual styling.</li> <li>In mobile contexts, the popover behaves like an additional dropdown item and we must check against viewport height in the same manner we do for the <%= link_to "basic fixed header nav", demo_link('navigation-fixed') %> in mobile contexts. </li> <li>Reference: <a href='http://getbootstrap.com/javascript/#dropdowns-methods'>Bootstrap Popovers</a></li> </ul> </div> </div>
Version data entries
12 entries across 12 versions & 1 rubygems