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 2cc5918bee7..1fecf9b8de1 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -38908,6 +38908,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; @@ -40689,11 +40692,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 7b6a7e981f8..054cbe15287 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -38842,6 +38842,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; @@ -40623,11 +40626,6 @@ div.editor_atto_toolbar button .icon { font-size: 80%; } } -@media print { - .tertiary-navigation { - display: none; - } -} .popover-process-monitor { position: fixed; right: 2rem;