From 122c74aad94941d6853309b7ab3e2e542c485ac5 Mon Sep 17 00:00:00 2001 From: thiagourias Date: Mon, 17 Jun 2019 17:08:34 -0300 Subject: [PATCH] Alteracoes layout --- classes/output/core/course_renderer.php | 4 ++- scss/courselist.scss | 33 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/classes/output/core/course_renderer.php b/classes/output/core/course_renderer.php index 1812931..009af03 100644 --- a/classes/output/core/course_renderer.php +++ b/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 .= "
". $coursenamelink ."
"; + + + $content .= "
". $coursenamelink ."
"; $content .= html_writer::end_tag('div'); $content .= html_writer::start_tag('div', array('class' => 'card-block text-center')); // Print enrolmenticons. diff --git a/scss/courselist.scss b/scss/courselist.scss index 1e918d2..9bb0eda 100644 --- a/scss/courselist.scss +++ b/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; } \ No newline at end of file