Skip to content

Commit

Permalink
Merge branch 'MDL-65083-37' of git://github.com/bmbrands/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_37_STABLE
  • Loading branch information
abgreeve committed Aug 20, 2019
2 parents 4f41f84 + 559b686 commit 3ebe724
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 19 deletions.
2 changes: 1 addition & 1 deletion admin/roles/classes/define_role_table_advanced.php
Expand Up @@ -623,7 +623,7 @@ protected function print_field($name, $caption, $field, $helpicon = null) {
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])) {
Expand Down
2 changes: 1 addition & 1 deletion blog/rsslib.php
Expand Up @@ -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>';
}

/**
Expand Down
6 changes: 3 additions & 3 deletions calendar/renderer.php
Expand Up @@ -161,7 +161,7 @@ public function event(calendar_event $event, $showactions=true) {
$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);
Expand Down Expand Up @@ -205,9 +205,9 @@ public function event(calendar_event $event, $showactions=true) {
$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);
}

Expand Down
4 changes: 0 additions & 4 deletions theme/boost/scss/moodle/modules.scss
Expand Up @@ -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%;
}
Expand Down
4 changes: 0 additions & 4 deletions theme/boost/style/moodle.css
Expand Up @@ -15412,10 +15412,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%; }

Expand Down
4 changes: 0 additions & 4 deletions theme/classic/style/moodle.css
Expand Up @@ -15670,10 +15670,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%; }

Expand Down
3 changes: 1 addition & 2 deletions user/index.php
Expand Up @@ -369,9 +369,8 @@

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));
}
Expand Down

0 comments on commit 3ebe724

Please sign in to comment.