diff --git a/mod/data/edit.php b/mod/data/edit.php index 15526345708f1..9b72fcc71d00a 100644 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -121,7 +121,7 @@ $PAGE->navbar->add(get_string('editentry', 'data')); } -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); if ($rid) { $pagename = get_string('editentry', 'data'); } else { diff --git a/mod/data/export.php b/mod/data/export.php index c9ee8b3dd5274..39bfff7aee9cc 100644 --- a/mod/data/export.php +++ b/mod/data/export.php @@ -123,7 +123,7 @@ } // Build header to match the rest of the UI. -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); $pagename = get_string('exportentries', 'data'); $titleparts = [ $pagename, diff --git a/mod/data/field.php b/mod/data/field.php index 441ccfb3171db..c91c8c0228dda 100644 --- a/mod/data/field.php +++ b/mod/data/field.php @@ -92,7 +92,7 @@ $actionbar = new \mod_data\output\action_bar($data->id, $PAGE->url); -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); $PAGE->set_heading($course->fullname); $PAGE->activityheader->disable(); diff --git a/mod/data/import.php b/mod/data/import.php index 37b52c795d4b2..e5346f828b18f 100644 --- a/mod/data/import.php +++ b/mod/data/import.php @@ -78,7 +78,7 @@ /// Print the page header $pagename = get_string('uploadrecords', 'data'); $PAGE->navbar->add($pagename); -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); $titleparts = [ $pagename, format_string($data->name), diff --git a/mod/data/preset.php b/mod/data/preset.php index 147cafafb584c..dd6cc23c8047d 100644 --- a/mod/data/preset.php +++ b/mod/data/preset.php @@ -70,7 +70,7 @@ $url = new moodle_url('/mod/data/preset.php', array('d' => $data->id)); -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); $PAGE->set_url($url); $titleparts = [ get_string('presets', 'data'), diff --git a/mod/data/templates.php b/mod/data/templates.php index 8ec274aaa7d93..f97d92529ed54 100644 --- a/mod/data/templates.php +++ b/mod/data/templates.php @@ -108,7 +108,7 @@ $PAGE->set_pagelayout('admin'); $PAGE->force_settings_menu(true); $PAGE->activityheader->disable(); -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); echo $OUTPUT->header(); diff --git a/mod/data/view.php b/mod/data/view.php index 306c505c0c571..1cff81f5d23b1 100644 --- a/mod/data/view.php +++ b/mod/data/view.php @@ -225,7 +225,7 @@ $PAGE->navbar->add(get_string('search')); } -$PAGE->add_body_class('mediumwidth'); +$PAGE->add_body_class('limitedwidth'); $titleparts = [ format_string($data->name), format_string($course->fullname), diff --git a/theme/boost/scss/moodle/layout.scss b/theme/boost/scss/moodle/layout.scss index d00602f86a17b..9a23b8ac1a408 100644 --- a/theme/boost/scss/moodle/layout.scss +++ b/theme/boost/scss/moodle/layout.scss @@ -68,19 +68,6 @@ } } } - body.mediumwidth { - #page.drawers { - .main-inner { - max-width: $medium-content-maxwidth; - } - .footer-popover { - max-width: $medium-content-maxwidth; - width: 100%; - margin: 0 auto; - @include border-radius(); - } - } - } .header-maxwidth { max-width: $course-content-maxwidth; margin: 0 auto; diff --git a/theme/boost/scss/moodle/sticky-footer.scss b/theme/boost/scss/moodle/sticky-footer.scss index a4eddbdb4f01d..0057e7da922f6 100644 --- a/theme/boost/scss/moodle/sticky-footer.scss +++ b/theme/boost/scss/moodle/sticky-footer.scss @@ -24,9 +24,6 @@ body { body.limitedwidth.uses-drawers & { max-width: $course-content-maxwidth; } - body.mediumwidth.uses-drawers & { - max-width: $medium-content-maxwidth; - } } } // Adjust sticky footer width when drawers are open. diff --git a/theme/boost/scss/moodle/variables.scss b/theme/boost/scss/moodle/variables.scss index 85d8e639d5f54..4366c0d76a80b 100644 --- a/theme/boost/scss/moodle/variables.scss +++ b/theme/boost/scss/moodle/variables.scss @@ -25,7 +25,6 @@ $primary-nav-padding-x: ($spacer * 0.5) !default; $navbar-height: 60px !default; $stickyfooter-height: calc(max(80px, calc(#{$font-size-base} * 3))) !default; $course-content-maxwidth: 830px !default; -$medium-content-maxwidth: 1120px !default; $h5p-content-maxwidth: 960px !default; $box-shadow-drawer-left: -0.25rem .25rem .8rem rgba($black, .025) !default; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 98c0d539cdc6f..3eafd023205a9 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -36668,9 +36668,6 @@ body { .pagelayout-standard .stickyfooter .sticky-footer-content, body.limitedwidth.uses-drawers .stickyfooter .sticky-footer-content { max-width: 830px; } - body.mediumwidth.uses-drawers .stickyfooter .sticky-footer-content { - max-width: 1120px; - } } .stickyfooter .sticky-footer-content-wrapper { transition: 0.2s; @@ -37386,15 +37383,6 @@ body.tox-fullscreen .tox.tox-tinymce-aux { margin: 0 auto; border-radius: 0.5rem; } - body.mediumwidth #page.drawers .main-inner { - max-width: 1120px; - } - body.mediumwidth #page.drawers .footer-popover { - max-width: 1120px; - width: 100%; - margin: 0 auto; - border-radius: 0.5rem; - } .header-maxwidth { max-width: 830px; margin: 0 auto; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 596e7dd61011a..fdf4687ac1897 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -36602,9 +36602,6 @@ body { .pagelayout-standard .stickyfooter .sticky-footer-content, body.limitedwidth.uses-drawers .stickyfooter .sticky-footer-content { max-width: 830px; } - body.mediumwidth.uses-drawers .stickyfooter .sticky-footer-content { - max-width: 1120px; - } } .stickyfooter .sticky-footer-content-wrapper { transition: 0.2s; @@ -37320,15 +37317,6 @@ body.tox-fullscreen .tox.tox-tinymce-aux { margin: 0 auto; border-radius: 0.25rem; } - body.mediumwidth #page.drawers .main-inner { - max-width: 1120px; - } - body.mediumwidth #page.drawers .footer-popover { - max-width: 1120px; - width: 100%; - margin: 0 auto; - border-radius: 0.25rem; - } .header-maxwidth { max-width: 830px; margin: 0 auto;