Merge branch 'MDL-58368-master' of git://github.com/damyon/moodle
authorJake Dallimore <jake@moodle.com>
Wed, 5 Apr 2017 01:33:45 +0000 (09:33 +0800)
committerJake Dallimore <jake@moodle.com>
Wed, 5 Apr 2017 01:33:45 +0000 (09:33 +0800)
lib/classes/output/icon_system_fontawesome.php
theme/boost/scss/moodle/course.scss

index 5a44628..be6e020 100644 (file)
@@ -251,7 +251,6 @@ class icon_system_fontawesome extends icon_system_font {
             'core:i/completion_self' => 'fa-user-o',
             'core:i/lock' => 'fa-lock',
             'core:i/courseevent' => 'fa-calendar',
-            'core:i/course' => 'fa-globe',
             'core:i/db' => 'fa-database',
             'core:i/delete' => 'fa-trash',
             'core:i/down' => 'fa-arrow-down',
index e4f39a8..ddb4a47 100644 (file)
@@ -594,15 +594,10 @@ span.editinstructions {
 
 .coursebox > .info > .coursename a {
     display: block;
-    padding-left: 32px;
-    position: relative;
-}
-.coursebox > .info > .coursename a:before {
-    position: absolute;
-    font-family: 'FontAwesome';
-    top: 0;
-    left: 0;
-    content: "\f0ac";
+    background-image: url([[pix:moodle|i/course]]);
+    background-repeat: no-repeat;
+    padding-left: 21px;
+    background-position: left 0.2em;
 }
 
 .coursebox > .info > .coursename,