diff --git a/theme/boost/scss/moodle/print.scss b/theme/boost/scss/moodle/print.scss index 5d91753dbfe..ef051ba890f 100644 --- a/theme/boost/scss/moodle/print.scss +++ b/theme/boost/scss/moodle/print.scss @@ -10,7 +10,13 @@ width: auto; } + // Remove navbar in print mode. .navbar { display: none; } + + // Remove tertiary navigation in print mode. + .tertiary-navigation { + display: none; + } } diff --git a/theme/boost/scss/moodle/tertiarynavigation.scss b/theme/boost/scss/moodle/tertiarynavigation.scss index bf5f983cda0..0ef18be7b87 100644 --- a/theme/boost/scss/moodle/tertiarynavigation.scss +++ b/theme/boost/scss/moodle/tertiarynavigation.scss @@ -82,9 +82,3 @@ font-size: 80%; } } - -@media print { - .tertiary-navigation { - display: none; - } -} diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index bdf32041baa..1b70790e7b2 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -38911,6 +38911,9 @@ span[data-flexitour=container][x-placement=right] div[data-role=arrow]:after, sp .navbar { display: none; } + .tertiary-navigation { + display: none; + } } .modal .modal-body > .loading-icon { display: block; @@ -40692,11 +40695,6 @@ div.editor_atto_toolbar button .icon { font-size: 80%; } } -@media print { - .tertiary-navigation { - display: none; - } -} .popover-process-monitor { position: fixed; right: 2rem; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 494f73a49f0..f461e1c1d6c 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -38845,6 +38845,9 @@ span[data-flexitour=container][x-placement=right] div[data-role=arrow]:after, sp .navbar { display: none; } + .tertiary-navigation { + display: none; + } } .modal .modal-body > .loading-icon { display: block; @@ -40626,11 +40629,6 @@ div.editor_atto_toolbar button .icon { font-size: 80%; } } -@media print { - .tertiary-navigation { - display: none; - } -} .popover-process-monitor { position: fixed; right: 2rem;