Browse Source

Alteracoes classse box

MOODLE_37_STABLE
thiagourias 6 years ago
parent
commit
59846a6529
  1. 2
      classes/output/core/course_renderer.php
  2. 4
      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 boxCursos');
$content .= $this->coursecat_coursebox($chelper, $course, 'card mb-3 course-card-view boxCursos tamanhoBoxCursos');
$coursecount ++;
}
$content .= html_writer::end_tag('div');

4
scss/courselist.scss

@ -89,7 +89,6 @@ body#page-enrol-index {
transition: box-shadow .3s;
border: 1px solid #ccc;
float: left;
max-height: 440px;
background: #fff; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #011c35 1%, #E0E0E0 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#fff), color-stop(100%,#E0E0E0)); /* Chrome,Safari4+ */
@ -100,6 +99,9 @@ body#page-enrol-index {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0264d6', endColorstr='#1c2b5a',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.tamanhoBoxCursos{
max-height: 440px;
}
.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);

Loading…
Cancel
Save