mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 15:40:17 +01:00
MDL-83513 theme_boost: Remove mediumwidth layout size
This commit is contained in:
parent
269a8a8a1b
commit
7aee0a3aaa
@ -121,7 +121,7 @@ if ($rid) {
|
||||
$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 {
|
||||
|
@ -123,7 +123,7 @@ if ($mform->is_cancelled()) {
|
||||
}
|
||||
|
||||
// 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,
|
||||
|
@ -92,7 +92,7 @@ require_capability('mod/data:managetemplates', $context);
|
||||
|
||||
$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();
|
||||
|
||||
|
@ -78,7 +78,7 @@ if ($form->is_cancelled()) {
|
||||
/// 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),
|
||||
|
@ -70,7 +70,7 @@ require_capability('mod/data:managetemplates', $context);
|
||||
|
||||
$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'),
|
||||
|
@ -108,7 +108,7 @@ $PAGE->set_heading($course->fullname);
|
||||
$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();
|
||||
|
||||
|
@ -225,7 +225,7 @@ if ($mode == 'asearch') {
|
||||
$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),
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user