diff --git a/classes/output/core/course_renderer.php b/classes/output/core/course_renderer.php index 47197b6..bf6b606 100644 --- a/classes/output/core/course_renderer.php +++ b/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'); diff --git a/scss/courselist.scss b/scss/courselist.scss index 2c76dc8..7cf8263 100644 --- a/scss/courselist.scss +++ b/scss/courselist.scss @@ -68,4 +68,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); } \ No newline at end of file