Browse Source

Alteracoes href

MOODLE_37_STABLE
thiagourias 6 years ago
parent
commit
40fd28d73e
  1. 2
      classes/output/core/course_renderer.php
  2. 10
      scss/courselist.scss

2
classes/output/core/course_renderer.php

@ -200,7 +200,7 @@ class course_renderer extends \core_course_renderer {
$coursename = $chelper->get_course_formatted_name($course); $coursename = $chelper->get_course_formatted_name($course);
$courseurl = new moodle_url('/course/view.php', array('id' => $course->id)); $courseurl = new moodle_url('/course/view.php', array('id' => $course->id));
$coursenamelink = html_writer::link($courseurl, $coursenamelink = html_writer::link($courseurl,
$coursename, array('class' => $course->visible ? '' : 'dimmed')); $coursename, array('class' => $course->visible ? 'propertiesTextColor' : 'dimmed propertiesTextColor'));
$content = html_writer::start_tag('a', array ('href' => $courseurl, 'class' => 'course-card-img')); $content = html_writer::start_tag('a', array ('href' => $courseurl, 'class' => 'course-card-img'));
$content .= $this->get_course_summary_image($course); $content .= $this->get_course_summary_image($course);
$content .= html_writer::end_tag('a'); $content .= html_writer::end_tag('a');

10
scss/courselist.scss

@ -116,18 +116,18 @@ body#page-enrol-index {
text-transform: uppercase; text-transform: uppercase;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
color: #444444; 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; text-shadow: 1px 0px 1px #CCCCCC, 0px 1px 1px #EEEEEE, 2px 1px 1px #CCCCCC, 1px 2px 1px #EEEEEE, 2px 2px 1px #CCCCCC, 2px 2px 1px #EEEEEE, 2px 1px 1px #CCCCCC, 1px 2px 1px #EEEEEE, 2px 1px 1px #CCCCCC, 1px 2px 1px #EEEEEE, 3px 2px 1px #CCCCCC, 2px 3px 1px #EEEEEE, 3px 2px 1px #CCCCCC;
} }
.elegantshd { .elegantshd {
color: #131313; color: #131313;
letter-spacing: .15em; letter-spacing: .15em;
} }
a{ .propertiesTextColor{
color:#000000; color:#303030;
} }
a:hover{ .propertiesTextColor:hover{
color:grey !important; color:#787878 !important;
text-decoration: none !important; text-decoration: none !important;
} }
Loading…
Cancel
Save