silverstripe-docsviewer/templates/DocumentationViewer.ss
Cam Findlay e38b740d88 Create sidebar hamburger menu for mobile (#121)
* Create sidebar hamburger menu for mobile

* Improve sidebar UX and mobile menu

* Fixed sidebar UX bug where blue text breadcrumb didn't appear and fixed hover/focus styling

* Improved UX of hamburger by applying toggle animations
2016-10-21 10:49:50 +13:00

47 lines
857 B
Scheme
Executable File

<!DOCTYPE html>
<html>
<% include DocumentationHead %>
<div id="masthead" <% if Versions %>class="has_versions"<% end_if %>>
<div class="wrapper">
<a class="menu-toggle">
<span></span>
<span></span>
<span></span>
<span></span>
</a>
<% if Breadcrumbs.count > 1 %>
<% include DocumentationBreadcrumbs %>
<% else_if Page.Title %>
<h1>$Page.Title</h1>
<% end_if %>
<% if Page.Introduction %>
<div class="introduction">
<p>$Page.Introduction</p>
</div>
<% end_if %>
<% include DocumentationVersions %>
</div>
</div>
<div class="wrapper">
<div id="layout" class="clearfix">
<% include DocumentationSidebar %>
<div id="content">
$Layout
<% include DocumentationFooter %>
</div>
</div>
</div>
<% include DocumentationGA %>
<% include DocumentationEnd %>
</html>