Skip to content

Commit

Permalink
Merge branch 'MDL-74172-master' of https://github.com/bmbrands/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Mar 17, 2022
2 parents 1ccea2c + e71f567 commit 12252eb
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/templates/full_header.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"welcomemessage": "welcomemessage"
}
}}
<header id="page-header" class="header-maxwidth">
<header id="page-header" class="header-maxwidth d-print-none">
<div class="w-100">
<div class="d-flex flex-wrap">
{{#hasnavbar}}
Expand Down
6 changes: 6 additions & 0 deletions theme/boost/scss/moodle/tertiarynavigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@
margin-right: 20px;
}
}

@media print {
.tertiary-navigation {
display: none;
}
}
4 changes: 4 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -21610,6 +21610,10 @@ div.editor_atto_toolbar button .icon {
.tertiary-navigation .navitem:not(:last-child) {
margin-right: 20px; }

@media print {
.tertiary-navigation {
display: none; } }

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/templates/drawer.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
}}
<div {{!
}} class="{{$drawerclasses}}{{/drawerclasses}} not-initialized"{{!
}} class="{{$drawerclasses}}{{/drawerclasses}} d-print-none not-initialized"{{!
}} data-region="fixed-drawer"{{!
}} id="{{$id}}{{/id}}"{{!
}} data-preference="{{$drawerpreferencename}}{{/drawerpreferencename}}"{{!
Expand Down
6 changes: 3 additions & 3 deletions theme/boost/templates/drawers.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<div id="topofscroll" class="main-inner">
<div class="drawer-toggles d-flex">
{{#courseindex}}
<div class="drawer-toggler drawer-left-toggle open-nav">
<div class="drawer-toggler drawer-left-toggle open-nav d-print-none">
<button
class="btn icon-no-margin"
data-toggler="drawers"
Expand All @@ -109,7 +109,7 @@
</div>
{{/courseindex}}
{{#hasblocks}}
<div class="drawer-toggler drawer-right-toggle ml-auto">
<div class="drawer-toggler drawer-right-toggle ml-auto d-print-none">
<button
class="btn icon-no-margin"
data-toggler="drawers"
Expand All @@ -128,7 +128,7 @@
</div>
{{{ output.full_header }}}
{{#secondarymoremenu}}
<div class="secondary-navigation">
<div class="secondary-navigation d-print-none">
{{> core/moremenu}}
</div>
{{/secondarymoremenu}}
Expand Down
4 changes: 4 additions & 0 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -21556,6 +21556,10 @@ div.editor_atto_toolbar button .icon {
.tertiary-navigation .navitem:not(:last-child) {
margin-right: 20px; }

@media print {
.tertiary-navigation {
display: none; } }

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
Expand Down

0 comments on commit 12252eb

Please sign in to comment.