From d1eb31a05c425158c76f5414ea145a4a034abb7a Mon Sep 17 00:00:00 2001 From: Julian Wendling <xdeavenx@gmail.com> Date: Mon, 3 Jan 2022 06:20:15 +0100 Subject: [PATCH] ADD mail icon to hrefs that contain @ character https://lab.it.hs-hannover.de/elc/moodle/-/issues/100 --- scss/post.scss | 9 +++++---- version.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scss/post.scss b/scss/post.scss index a4ff42c..e17b438 100644 --- a/scss/post.scss +++ b/scss/post.scss @@ -5,9 +5,6 @@ You can add your SCSS code here if you really need to. */ // Create variables to override the default value for variables used in the Moodle and Bootstrap SCSS files. /*************************** Import section *****************************/ -// @import "fontawesome"; -// @import "bootstrap"; -// @import "moodle"; /*************************** Colors ****************************/ @@ -363,8 +360,12 @@ footer#page-footer { .rememberpass { display: none; } +} - +a[href*="@"]::before { + font-family: FontAwesome; + content: "\f003"; + padding-right: 5px; } #categoryquestions { diff --git a/version.php b/version.php index 871aa01..7ef9fa3 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'theme_boost_campus_child'; -$plugin->version = 2021010901; +$plugin->version = 2021010902; $plugin->release = 'v3.10-r2'; $plugin->requires = 2020110900; $plugin->supported = [310, 310]; -- GitLab