mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
WIP mobile header style override for docsviewer
This commit is contained in:
parent
faf1b063d5
commit
e8dc86a0e9
@ -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);
|
||||
}
|
||||
}
|
||||
|
6
themes/docs/templates/DocumentationViewer.ss
vendored
6
themes/docs/templates/DocumentationViewer.ss
vendored
@ -5,6 +5,12 @@
|
||||
|
||||
<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 %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user