Browse Source

Merge branch 'MOODLE_37_STABLE' of https://github.com/interlegis/moodle_theme_ilb into MOODLE_37_STABLE

MOODLE_37_STABLE
Matheus Garcia 6 years ago
parent
commit
d8fc551ecf
  1. 2
      classes/output/core/course_renderer.php
  2. 12
      scss/courselist.scss

2
classes/output/core/course_renderer.php

@ -125,7 +125,7 @@ class course_renderer extends \core_course_renderer {
$coursecount = 1;
$content .= html_writer::start_tag('div', array('class' => ' row card-deck my-4'));
foreach ($courses as $course) {
$content .= $this->coursecat_coursebox($chelper, $course, 'card mb-3 course-card-view');
$content .= $this->coursecat_coursebox($chelper, $course, 'card mb-3 course-card-view boxCursos');
$coursecount ++;
}
$content .= html_writer::end_tag('div');

12
scss/courselist.scss

@ -72,4 +72,16 @@ body#page-enrol-index {
.minheight{
background-position: top center !important;
}
.boxCursos {
transition: box-shadow .3s;
border: 1px solid #ccc;
float: left;
}
.boxCursos:hover {
-webkit-box-shadow: 0px 0px 14px -2px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 14px -2px rgba(0,0,0,1);
box-shadow: 0px 0px 14px -2px rgba(0,0,0,1);
}
Loading…
Cancel
Save