Browse Source

Alteracoes layout

MOODLE_37_STABLE
thiagourias 6 years ago
parent
commit
122c74aad9
  1. 4
      classes/output/core/course_renderer.php
  2. 33
      scss/courselist.scss

4
classes/output/core/course_renderer.php

@ -205,7 +205,9 @@ class course_renderer extends \core_course_renderer {
$content .= $this->get_course_summary_image($course);
$content .= html_writer::end_tag('a');
$content .= html_writer::start_tag('div', array('class' => 'card-body'));
$content .= "<h5 class='card-title text-center m-1'>". $coursenamelink ."</h5>";
$content .= "<div class='elegantshd textCardEdited'>". $coursenamelink ."</div>";
$content .= html_writer::end_tag('div');
$content .= html_writer::start_tag('div', array('class' => 'card-block text-center'));
// Print enrolmenticons.

33
scss/courselist.scss

@ -79,6 +79,15 @@ body#page-enrol-index {
border: 1px solid #ccc;
float: left;
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+ */
background: -webkit-radial-gradient(center, ellipse cover, #fff 1%,#E0E0E0 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, #fff 1%,#E0E0E0 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, #fff 1%,#E0E0E0 100%); /* IE10+ */
background: radial-gradient(ellipse at center, #fff 1%,#E0E0E0 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0264d6', endColorstr='#1c2b5a',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.boxCursos:hover {
-webkit-box-shadow: 0px 0px 14px -2px rgba(0,0,0,1);
@ -90,6 +99,7 @@ body#page-enrol-index {
color: white;
background-color: #0069d9;
border-color: #0069d9;
border-radius: 5px;
}
@ -97,4 +107,27 @@ body#page-enrol-index {
-webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.58);
-moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.58);
box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.58);
}
.textCardEdited {
font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
font-size: 20px;
text-align: center;
text-transform: uppercase;
text-rendering: optimizeLegibility;
color: #444444;
text-shadow: 1px 0px 1px #CCCCCC, 0px 1px 1px #EEEEEE, 2px 1px 1px #CCCCCC, 1px 2px 1px #EEEEEE, 3px 2px 1px #CCCCCC, 2px 3px 1px #EEEEEE, 4px 3px 1px #CCCCCC, 3px 4px 1px #EEEEEE, 5px 4px 1px #CCCCCC, 4px 5px 1px #EEEEEE, 6px 5px 1px #CCCCCC, 5px 6px 1px #EEEEEE, 7px 6px 1px #CCCCCC;
}
.elegantshd {
color: #131313;
letter-spacing: .15em;
}
a{
color:#000000;
}
a:hover{
color:grey !important;
text-decoration: none !important;
}
Loading…
Cancel
Save