mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-65083 theme_boost: update uses of pull-xs-right
This commit is contained in:
parent
7e16c70b52
commit
d470c68b1f
@ -652,7 +652,7 @@ class core_role_define_role_table_advanced extends core_role_capability_table_wi
|
||||
echo "</label>\n";
|
||||
}
|
||||
if ($helpicon) {
|
||||
echo '<span class="pull-xs-right text-nowrap">'.$helpicon.'</span>';
|
||||
echo '<span class="float-sm-right text-nowrap">'.$helpicon.'</span>';
|
||||
}
|
||||
echo '</div>';
|
||||
if (isset($this->errors[$name])) {
|
||||
|
@ -83,7 +83,7 @@ function blog_rss_print_link($context, $filtertype, $filterselect = 0, $tagid =
|
||||
|
||||
$url = blog_rss_get_url($context->id, $userid, $filtertype, $filterselect, $tagid);
|
||||
$rsspix = $OUTPUT->pix_icon('i/rss', get_string('rss'), 'core', array('title' => $tooltiptext));
|
||||
print '<div class="pull-xs-right"><a href="'. $url .'">' . $rsspix . '</a></div>';
|
||||
print '<div class="float-sm-right"><a href="'. $url .'">' . $rsspix . '</a></div>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -161,7 +161,7 @@ class core_calendar_renderer extends plugin_renderer_base {
|
||||
$deletelink = null;
|
||||
}
|
||||
|
||||
$commands = html_writer::start_tag('div', array('class' => 'commands pull-xs-right'));
|
||||
$commands = html_writer::start_tag('div', array('class' => 'commands float-sm-right'));
|
||||
$commands .= html_writer::start_tag('a', array('href' => $editlink));
|
||||
$str = get_string('tt_editevent', 'calendar');
|
||||
$commands .= $this->output->pix_icon('t/edit', $str);
|
||||
@ -205,9 +205,9 @@ class core_calendar_renderer extends plugin_renderer_base {
|
||||
$output .= html_writer::tag('div', $event->courselink);
|
||||
}
|
||||
if (!empty($event->time)) {
|
||||
$output .= html_writer::tag('span', $event->time, array('class' => 'date pull-xs-right mr-1'));
|
||||
$output .= html_writer::tag('span', $event->time, array('class' => 'date float-sm-right mr-1'));
|
||||
} else {
|
||||
$attrs = array('class' => 'date pull-xs-right mr-1');
|
||||
$attrs = array('class' => 'date float-sm-right mr-1');
|
||||
$output .= html_writer::tag('span', calendar_time_representation($event->timestart), $attrs);
|
||||
}
|
||||
|
||||
|
@ -547,10 +547,6 @@ $popout-header-height: 4rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.path-mod-assign [data-region="grade-panel"] .fitem > .col-md-3 > .pull-xs-right {
|
||||
float: none !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -16339,10 +16339,6 @@ div#dock {
|
||||
.path-mod-assign [data-region="grade-panel"] .fitem.row {
|
||||
margin: 0; }
|
||||
|
||||
.path-mod-assign [data-region="grade-panel"] .fitem > .col-md-3 > .pull-xs-right {
|
||||
float: none !important;
|
||||
/* stylelint-disable-line declaration-no-important */ }
|
||||
|
||||
.path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement {
|
||||
width: 100%; }
|
||||
|
||||
|
@ -16611,10 +16611,6 @@ div#dock {
|
||||
.path-mod-assign [data-region="grade-panel"] .fitem.row {
|
||||
margin: 0; }
|
||||
|
||||
.path-mod-assign [data-region="grade-panel"] .fitem > .col-md-3 > .pull-xs-right {
|
||||
float: none !important;
|
||||
/* stylelint-disable-line declaration-no-important */ }
|
||||
|
||||
.path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement {
|
||||
width: 100%; }
|
||||
|
||||
|
@ -367,9 +367,8 @@ echo '</div>';
|
||||
|
||||
if ($newcourse == 1) {
|
||||
$str = get_string('proceedtocourse', 'enrol');
|
||||
// Floated left so it goes under the enrol users button on mobile.
|
||||
// The margin is to make it line up with the enrol users button when they are both on the same line.
|
||||
$classes = 'my-1 pull-xs-left';
|
||||
$classes = 'my-1';
|
||||
$url = course_get_url($course);
|
||||
echo $OUTPUT->single_button($url, $str, 'GET', array('class' => $classes));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user