The problem is that some icons from 4.7 no longer look the same and you have to replace them. But for the font awesome 5 icons you can't choose between fas or far. For example, the clipboard always shows far fa-clipboard. You can no longer choose between filled out or border only? Maybe: Unless you change the code completely for the respective icon in the html file (provided you figure out how to change it).
I finally found the code to correctly insert the font awesome icons in the css.
But there should definitely be a solution for adjusting fas and far in css. Unfortunately I can try what I want, nothing works.
Now every icon from the 3.3.0 style is displayed as icon-o. So e.g the fa-belle as fa-belle-o.
Some icons are not displayed at all, e.g fa-cube, fa-cubes, fa-dice-d6 . There is simply a completely different icon displayed for the fa-cubes.
- fa-cube.jpg (6.08 KiB) Viewed 39062 times
Adapted font_awesome_for_topics_and_forums.css
(orig. Lehrling)
Code: Select all
/* Forum icons & Topic icons */
.global_read:before { content: '\f0f3'; color:#222222; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_read_mine:before { content: '\f0f3'; color:#4981CE; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_read_locked:before { content: '\f1f6'; color:#222222; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_read_locked_mine:before { content: '\f1f6'; color:#4981ce; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread:before { content: '\f0f3'; color:#FF0F0F; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread_mine:before { content: '\f0f3'; color:#FF7F50; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread_locked:before { content: '\f1f6'; color:#FF0F0F; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread_locked_mine:before { content: "\f1f6"; color:#FF7F50; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read:before { content: '\f0f3'; color:#222222; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read_mine:before { content: '\f0f3'; color:#4981CE; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read_locked:before { content: '\f1f6'; color:#222222; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read_locked_mine:before { content: '\f1f6'; color:#4981ce; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread:before { content: '\f0f3'; color:#FF0F0F; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread_mine:before { content: '\f0f3'; color:#FF7F50; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread_locked:before { content: '\f1f6'; color:#FF0F0F; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread_locked_mine:before { content: '\f1f6'; color:#FF7F50; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.forum_link:before { content: '\f1d9'; color:#2E4D76; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_read:before { content: '\f1b2'; color:#333333; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_read_locked:before { content: '\f084'; color:#333333; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_read_subforum:before { content: '\f1b3'; color:#333333; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_unread:before { content: '\f35a'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_unread_locked:before { content: '\f084'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_unread_subforum:before { content: '\f1b3'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.sticky_read:before { content: '\f249'; color:#444444; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_read_mine:before { content: '\f249'; color:#395F93; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_read_locked:before { content: '\f28e'; color:#444444; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_read_locked_mine:before { content: '\f28e'; color:#395F93; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread:before { content: '\f249'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread_mine:before { content: '\f249'; color:#F59B45; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread_locked:before { content: '\f28e'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread_locked_mine:before { content: '\f28e'; color:#F59B45; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_moved:before { content: '\f047'; color:#0D4F8B; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.pm_read:before { content: '\f2b6'; color:#444444; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read:before { content: '\f07b'; color:#444444; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_mine:before { content: '\f07b'; color:#395F93; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_hot:before { content: '\f07c'; color:#444444; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_hot_mine:before { content: '\f07c'; color:#395F93; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_locked:before { content: '\f114'; color:#444444; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_locked_mine:before { content: '\f114'; color:#395F93; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.pm_unread:before { content: '\f0e0'; color:#BF0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread:before { content: '\f07b'; color:#BF0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_mine:before { content: '\f07b'; color:#F59B45; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_hot:before { content: '\f07c'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_hot_mine:before { content: '\f07c'; color:#F59B45; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_locked:before { content: '\f114'; color:#bf0000; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_locked_mine:before { content: '\f114'; color:#F59B45; font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
/* Forum icons & Topic icons */
.global_read { background-image: none; }
.global_read_mine { background-image: none; }
.global_read_locked { background-image: none; }
.global_read_locked_mine { background-image: none; }
.global_unread { background-image: none; }
.global_unread_mine { background-image: none; }
.global_unread_locked { background-image: none; }
.global_unread_locked_mine { background-image: none; }
.announce_read { background-image: none; }
.announce_read_mine { background-image: none; }
.announce_read_locked { background-image: none; }
.announce_read_locked_mine { background-image: none; }
.announce_unread { background-image: none; }
.announce_unread_mine { background-image: none; }
.announce_unread_locked { background-image: none; }
.announce_unread_locked_mine { background-image: none; }
.forum_link { background-image: none; }
.forum_read { background-image: none; }
.forum_read_locked { background-image: none; }
.forum_read_subforum { background-image: none; }
.forum_unread { background-image: none; }
.forum_unread_locked { background-image: none; }
.forum_unread_subforum { background-image: none; }
.sticky_read { background-image: none; }
.sticky_read_mine { background-image: none; }
.sticky_read_locked { background-image: none; }
.sticky_read_locked_mine { background-image: none; }
.sticky_unread { background-image: none; }
.sticky_unread_mine { background-image: none; }
.sticky_unread_locked { background-image: none; }
.sticky_unread_locked_mine { background-image: none; }
.topic_moved { background-image: none; }
.pm_read,
.topic_read { background-image: none; }
.topic_read_mine { background-image: none; }
.topic_read_hot { background-image: none; }
.topic_read_hot_mine { background-image: none; }
.topic_read_locked { background-image: none; }
.topic_read_locked_mine { background-image: none; }
.pm_unread,
.topic_unread { background-image: none; }
.topic_unread_mine { background-image: none; }
.topic_unread_hot { background-image: none; }
.topic_unread_hot_mine { background-image: none; }
.topic_unread_locked { background-image: none; }
.topic_unread_locked_mine { background-image: none; }
original code from 3.0.0
Code: Select all
/* Forum icons & Topic icons */
.global_read:before { content: "\f0f3"; color:#222222; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_read_mine:before { content: "\f0f3"; color:#4981CE; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_read_locked:before { content: "\f1f6"; color:#222222; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_read_locked_mine:before { content: "\f1f6"; color:#4981ce; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread:before { content: "\f0f3"; color:#FF0F0F; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread_mine:before { content: "\f0f3"; color:#FF7F50; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread_locked:before { content: "\f1f6"; color:#FF0F0F; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.global_unread_locked_mine:before { content: "\f1f6"; color:#FF7F50; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read:before { content: "\f0f3"; color:#222222; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read_mine:before { content: "\f0f3"; color:#4981CE; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read_locked:before { content: "\f1f6"; color:#222222; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_read_locked_mine:before { content: "\f1f6"; color:#4981ce; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread:before { content: "\f0f3"; color:#FF0F0F; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread_mine:before { content: "\f0f3"; color:#FF7F50; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread_locked:before { content: "\f1f6"; color:#FF0F0F; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.announce_unread_locked_mine:before { content: "\f1f6"; color:#FF7F50; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.forum_link:before { content: "\f1d9"; color:#2E4D76; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_read:before { content: "\f1b2"; color:#333333; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_read_locked:before { content: "\f084"; color:#333333; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_read_subforum:before { content: "\f1b3"; color:#333333; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_unread:before { content: "\f1b2"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_unread_locked:before { content: "\f084"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.forum_unread_subforum:before { content: "\f1b3"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 22%; font-size: 25px; left: 15px; }
.sticky_read:before { content: "\f249"; color:#444444; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_read_mine:before { content: "\f249"; color:#395F93; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_read_locked:before { content: "\f28e"; color:#444444; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_read_locked_mine:before { content: "\f28e"; color:#395F93; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread:before { content: "\f249"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread_mine:before { content: "\f249"; color:#F59B45; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread_locked:before { content: "\f28e"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.sticky_unread_locked_mine:before { content: "\f28e"; color:#F59B45; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_moved:before { content: "\f047"; color:#0D4F8B; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.pm_read:before { content: "\f2b6"; color:#444444; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read:before { content: "\f07b"; color:#444444; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_mine:before { content: "\f07b"; color:#395F93; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_hot:before { content: "\f07c"; color:#444444; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_hot_mine:before { content: "\f07c"; color:#395F93; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_locked:before { content: "\f114"; color:#444444; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_read_locked_mine:before { content: "\f114"; color:#395F93; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.pm_unread:before { content: "\f0e0"; color:#BF0000; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread:before { content: "\f07b"; color:#BF0000; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_mine:before { content: "\f07b"; color:#F59B45; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_hot:before { content: "\f07c"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_hot_mine:before { content: "\f07c"; color:#F59B45; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_locked:before { content: "\f114"; color:#bf0000; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
.topic_unread_locked_mine:before { content: "\f114"; color:#F59B45; font-family: 'FontAwesome'; position: absolute; top: 20%; font-size: 25px; left: 15px; }
/* Forum icons & Topic icons */
.global_read { background-image: none; }
.global_read_mine { background-image: none; }
.global_read_locked { background-image: none; }
.global_read_locked_mine { background-image: none; }
.global_unread { background-image: none; }
.global_unread_mine { background-image: none; }
.global_unread_locked { background-image: none; }
.global_unread_locked_mine { background-image: none; }
.announce_read { background-image: none; }
.announce_read_mine { background-image: none; }
.announce_read_locked { background-image: none; }
.announce_read_locked_mine { background-image: none; }
.announce_unread { background-image: none; }
.announce_unread_mine { background-image: none; }
.announce_unread_locked { background-image: none; }
.announce_unread_locked_mine { background-image: none; }
.forum_link { background-image: none; }
.forum_read { background-image: none; }
.forum_read_locked { background-image: none; }
.forum_read_subforum { background-image: none; }
.forum_unread { background-image: none; }
.forum_unread_locked { background-image: none; }
.forum_unread_subforum { background-image: none; }
.sticky_read { background-image: none; }
.sticky_read_mine { background-image: none; }
.sticky_read_locked { background-image: none; }
.sticky_read_locked_mine { background-image: none; }
.sticky_unread { background-image: none; }
.sticky_unread_mine { background-image: none; }
.sticky_unread_locked { background-image: none; }
.sticky_unread_locked_mine { background-image: none; }
.topic_moved { background-image: none; }
.pm_read,
.topic_read { background-image: none; }
.topic_read_mine { background-image: none; }
.topic_read_hot { background-image: none; }
.topic_read_hot_mine { background-image: none; }
.topic_read_locked { background-image: none; }
.topic_read_locked_mine { background-image: none; }
.pm_unread,
.topic_unread { background-image: none; }
.topic_unread_mine { background-image: none; }
.topic_unread_hot { background-image: none; }
.topic_unread_hot_mine { background-image: none; }
.topic_unread_locked { background-image: none; }
.topic_unread_locked_mine { background-image: none; }
Several icons are not shown if they are inserted in the css.
- no icons.jpg (4.84 KiB) Viewed 39054 times