From 64a7e06f6125a6f712006dc9ce2cddbc7615e27c Mon Sep 17 00:00:00 2001 From: Ferran Recio Date: Fri, 6 May 2022 12:26:40 +0200 Subject: [PATCH] MDL-57065 theme_boost: fix debug messages The first debug message is covered by the top navbar header. This patch will move the body's first debug message down below the navbar. --- theme/boost/scss/moodle/debug.scss | 11 +++++++++++ theme/boost/style/moodle.css | 6 ++++++ theme/classic/style/moodle.css | 6 ++++++ 3 files changed, 23 insertions(+) diff --git a/theme/boost/scss/moodle/debug.scss b/theme/boost/scss/moodle/debug.scss index 0a00837a731..a9a7e3e1cc6 100644 --- a/theme/boost/scss/moodle/debug.scss +++ b/theme/boost/scss/moodle/debug.scss @@ -90,3 +90,14 @@ body.behat-site { background-color: #99c; font-weight: bold; } + +// PHP debug messages. + +body > .debuggingmessage { + margin-top: $navbar-height; +} + +body > .debuggingmessage ~ .debuggingmessage { + margin-top: .5rem; +} + diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 84e77ace988..8697aada13b 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -19914,6 +19914,12 @@ body.behat-site.path-grade-report-grader .gradeparent tr.heading { background-color: #99c; font-weight: bold; } +body > .debuggingmessage { + margin-top: 60px; } + +body > .debuggingmessage ~ .debuggingmessage { + margin-top: .5rem; } + /** * This file contains the styles required to make the footer sticky. */ diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 4fde45c7eca..8ac765601e6 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -19860,6 +19860,12 @@ body.behat-site.path-grade-report-grader .gradeparent tr.heading { background-color: #99c; font-weight: bold; } +body > .debuggingmessage { + margin-top: 50px; } + +body > .debuggingmessage ~ .debuggingmessage { + margin-top: .5rem; } + /** * This file contains the styles required to make the footer sticky. */