-
New Feature
-
Resolution: Fixed
-
Minor
-
2.5, 3.3
-
MOODLE_25_STABLE, MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-40759-master -
"Font Awesome" is a rapidly growing and maturing, open source icon font and toolkit:
http://fortawesome.github.io/Font-Awesome/
This could be used for all icons in Moodle (or all icons in Clean theme).
The benefits include:
- easy recoloring
- CSS hover effects
- smaller, faster downloads
- the ability to use a CDN hosted version
- large and growing selection of high quality icons
- they are open to contributions of our education specific icons
- spinning and rotating versions
- easy for Moodle users to enhance their content with icons
- It's used by default in YUI pure css framework and a very popular alternative to Bootstrap's Glyphicon icon-sprite
The Essential theme is a great example of the flexibility of Font Awesome and how it can be put to use in Moodle.
https://github.com/moodleman/moodle-theme_essential
The video linked from there explains some of the clever uses the author of the theme has found for the font.
It is very easy to replace the purely decorative icons in Moodle that are applied as CSS backgrounds (e.g. the "course" icon on course listings).
It is easy to replace the purely decorative icons that are created as an img with no alt tag by a renderer (e.g. the icons on the settings/administration and navigation block).
It a bit trickier to replace icons that currently have alt tags for accessibility, but a good solution should be possible.
The areas where the icons are hardcoded as imgs, then things are trickier. Converting them to use renderers is probably a good idea anyway and makes things simpler. It is also possible to use advanced CSS to reach these areas if necessary.
Finally, there are some javascript routines that rely on finding an img tag and which break if you replace that with an icon font tag (e.g. hide/show activity icon) but that's a fairly simple change to the javascript.
The above tasks could be done one at a time and achieve gains at each step.
Font Awesome is backwards compatible with the glyphicons that are currently included in Bootstrapbase/Clean, though not currently used at all in the Moodle interface.
- caused a regression
-
MDL-58637 The name of one of the course sections being moved via drag-n-drop does not change in Boost
- Closed
-
MDL-58574 Icons for removing role permissions are missing in the activity permission overrides page in Moodle 3.3
- Closed
-
MDL-69109 Theme icons are lost after web upgrade in 3.9 or theme change in other versions
- Closed
-
MDL-58445 mod/quiz/tests/behat/editing_section_headings.feature failing randomly on phantomjs
- Closed
-
MDL-58760 {{#pix}} does not work if the icon key has been escaped
- Closed
-
MDL-58766 Tree item indentation different in clean under 3.2 and 3.3
- Closed
-
MDL-59263 Edit and preview icons not showing in admin/usersroles.php
- Closed
-
MDL-59644 Grade book "unlock icon" doesn't change between lock and unlock (font awesome)
- Closed
-
MDL-60320 Cannot generate preview / thumbnails of file mimetype icons
- Closed
-
MDL-65936 Duplicate Font-awesome in /lib
- Closed
- Discovered while testing
-
MDL-58808 Navigation block not using FontAwesome when set by the theme.
- Closed
-
MDL-58848 Block docking not using FontAwesome when set by the theme.
- Closed
-
MDL-58849 Block hide / show not using FontAwesome when set by the theme.
- Closed
-
MDL-58850 Block expand / collapse not using FontAwesome when set by the theme.
- Closed
- has a non-specific relationship to
-
MDL-37231 Make the new SVG icons into an icon font
- Closed
- has been marked as being related by
-
MDL-40770 Implement Icons for TinyMCE 3.*
- Closed
-
MDL-62942 Add native FontAwesome support to pix_icon class
- Closed
- has to be done before
-
MDL-58354 Font Awesome follow ups
- Closed
-
MDL-57831 Improve notification preferences on/off buttons so they fit better with non-English strings
- Closed
- Testing discovered
-
MDL-58049 Coding error when viewing course competencies page after adding competency to an activity
- Closed
- will help resolve
-
MDL-40148 Add a YUI Pure Theme to Moodle
- Closed