mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
This commit is contained in:
parent
a0fc902eb1
commit
4394f9e358
113 changed files with 958 additions and 1403 deletions
|
@ -788,7 +788,7 @@ class core_renderer extends renderer_base {
|
|||
$timeleft = $CFG->maintenance_later - time();
|
||||
// If timeleft less than 30 sec, set the class on block to error to highlight.
|
||||
$errorclass = ($timeleft < 30) ? 'alert-error alert-danger' : 'alert-warning';
|
||||
$output .= $this->box_start($errorclass . ' moodle-has-zindex maintenancewarning m-a-1 alert');
|
||||
$output .= $this->box_start($errorclass . ' moodle-has-zindex maintenancewarning m-3 alert');
|
||||
$a = new stdClass();
|
||||
$a->hour = (int)($timeleft / 3600);
|
||||
$a->min = (int)(($timeleft / 60) % 60);
|
||||
|
@ -1979,7 +1979,7 @@ class core_renderer extends renderer_base {
|
|||
|
||||
$output = $this->box_start('generalbox modal modal-dialog modal-in-page show', 'notice', $attributes);
|
||||
$output .= $this->box_start('modal-content', 'modal-content');
|
||||
$output .= $this->box_start('modal-header p-x-1', 'modal-header');
|
||||
$output .= $this->box_start('modal-header px-3', 'modal-header');
|
||||
$output .= html_writer::tag('h4', get_string('confirm'));
|
||||
$output .= $this->box_end();
|
||||
$attributes = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue