From 40fd28d73e5d1bcc54774df97ab695675c25f79e Mon Sep 17 00:00:00 2001 From: thiagourias Date: Mon, 17 Jun 2019 17:25:27 -0300 Subject: [PATCH] Alteracoes href --- classes/output/core/course_renderer.php | 2 +- scss/courselist.scss | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/classes/output/core/course_renderer.php b/classes/output/core/course_renderer.php index 009af03..60184a0 100644 --- a/classes/output/core/course_renderer.php +++ b/classes/output/core/course_renderer.php @@ -200,7 +200,7 @@ class course_renderer extends \core_course_renderer { $coursename = $chelper->get_course_formatted_name($course); $courseurl = new moodle_url('/course/view.php', array('id' => $course->id)); $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 .= $this->get_course_summary_image($course); $content .= html_writer::end_tag('a'); diff --git a/scss/courselist.scss b/scss/courselist.scss index 9bb0eda..dfda6fc 100644 --- a/scss/courselist.scss +++ b/scss/courselist.scss @@ -116,18 +116,18 @@ body#page-enrol-index { 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; + 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 { color: #131313; letter-spacing: .15em; } -a{ - color:#000000; +.propertiesTextColor{ + color:#303030; } -a:hover{ - color:grey !important; +.propertiesTextColor:hover{ + color:#787878 !important; text-decoration: none !important; } \ No newline at end of file