MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css

This commit is contained in:
Bas Brands 2020-01-27 15:06:29 +01:00
parent a0fc902eb1
commit 4394f9e358
113 changed files with 958 additions and 1403 deletions

View file

@ -70,7 +70,7 @@ class qtype_ddtoimage_renderer_base extends qtype_with_combined_feedback_rendere
$output .= html_writer::start_div('ddarea');
$output .= html_writer::start_div($dropareaclass);
$output .= html_writer::img(self::get_url_for_image($qa, 'bgimage'), get_string('dropbackground', 'qtype_ddmarker'),
['class' => 'dropbackground img-responsive img-fluid']);
['class' => 'dropbackground img-fluid w-100']);
$output .= html_writer::div('', 'dropzones');
$output .= html_writer::end_div();

View file

@ -39,10 +39,6 @@ form.mform fieldset#id_previewareaheader .dropbackground {
max-width: none;
}
.que.ddimageortext .dropbackground.img-responsive.img-fluid {
width: 100%;
}
.que.ddimageortext .dropzone {
display: none;
position: absolute;

View file

@ -58,7 +58,7 @@ class qtype_ddmarker_renderer extends qtype_ddtoimage_renderer_base {
$output .= html_writer::start_div('ddarea');
$output .= html_writer::start_div($dropareaclass);
$output .= html_writer::img(self::get_url_for_image($qa, 'bgimage'), get_string('dropbackground', 'qtype_ddmarker'),
['class' => 'dropbackground img-responsive img-fluid']);
['class' => 'dropbackground img-fluid w-100']);
$output .= html_writer::div('', 'dropzones');
$output .= html_writer::div('', 'markertexts');

View file

@ -64,10 +64,6 @@ form.mform fieldset#id_previewareaheader .dropbackground {
max-width: none;
}
.que.ddmarker .dropbackground.img-responsive.img-fluid {
width: 100%;
}
.que.ddmarker div.dragitems div.draghome,
.que.ddmarker div.dragitems div.dragitem,
form.mform fieldset#id_previewareaheader div.draghome,