From fb9f847692dbcccf40e1bc0d045c5da4aa380fc7 Mon Sep 17 00:00:00 2001 From: thiagourias Date: Mon, 17 Jun 2019 16:30:24 -0300 Subject: [PATCH] =?UTF-8?q?Alteracoes=20Button=20mais=20informa=C3=A7?= =?UTF-8?q?=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/output/core/course_renderer.php | 4 ++-- scss/courselist.scss | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/classes/output/core/course_renderer.php b/classes/output/core/course_renderer.php index bf6b606..1812931 100644 --- a/classes/output/core/course_renderer.php +++ b/classes/output/core/course_renderer.php @@ -243,8 +243,8 @@ class course_renderer extends \core_course_renderer { } // Display course summary. if ($course->has_summary()) { - $content .= html_writer::start_tag('div', array('class' => 'card-see-more text-center')); - $content .= html_writer::start_tag('div', array('class' => 'btn btn-secondary m-2', + $content .= html_writer::start_tag('div', array('class' => 'card-see-more text-center teste')); + $content .= html_writer::start_tag('div', array('class' => 'btn btn-mais-info m-2', 'id' => "course-popover-{$course->id}", 'role' => 'button', 'data-region' => 'popover-region-toggle', 'data-toggle' => 'popover', 'data-placement' => 'right', 'data-content' => $chelper->get_course_formatted_summary($course, diff --git a/scss/courselist.scss b/scss/courselist.scss index 74ba8b6..1e918d2 100644 --- a/scss/courselist.scss +++ b/scss/courselist.scss @@ -67,8 +67,8 @@ body#page-enrol-index { .popover { max-width: 100% !important; - width: 50% !important; -} + width: 60% !important; +} .minheight{ background-position: top center !important; @@ -84,4 +84,17 @@ body#page-enrol-index { -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); +} + +.btn-mais-info{ + color: white; + background-color: #0069d9; + border-color: #0069d9; + border-radius: 5px; +} + +.btn-mais-info:hover{ + -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); } \ No newline at end of file