WIP mobile header style override for docsviewer

This commit is contained in:
Jared Lee 2016-10-21 10:20:21 +13:00 committed by Cam Findlay
parent faf1b063d5
commit e8dc86a0e9
2 changed files with 25 additions and 8 deletions

View File

@ -91,10 +91,21 @@ form .message.error {
/* Remove global navigation in mobile view */
.nav-mobile {
display: block;
min-height: 0;
margin: 0;
}
@media (max-width: 992px) {
.nav-mobile{
/*.nav-mobile{
display: none;
}*/
.site-header {
display: none;
}
#sidebar a.logo {
height: 20px;
width: 20px;
background-color: red;
background: url(https://www.silverstripe.org/themes/ssv3/img/global-logo-open-source.svg);
}
}

View File

@ -1,11 +1,17 @@
<!DOCTYPE html>
<html>
<% include DocumentationHead %>
<% include DocumentationHead %>
<div id="masthead" <% if Versions %>class="has_versions"<% end_if %>>
<div class="wrapper">
<% if Breadcrumbs.count > 1 %>
<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>
@ -18,8 +24,8 @@
<% include DocumentationVersions %>
</div>
</div>
</div>
<div class="wrapper">
<div id="layout" class="clearfix">
@ -27,11 +33,11 @@
<div id="content">
$Layout
<% include DocumentationFooter %>
</div>
</div>
</div>
<% include DocumentationGA %>
<% include DocumentationGA %>
<% include DocumentationEnd %>
</html>