mirror of
https://github.com/flarum/core.git
synced 2025-08-07 17:07:19 +02:00
FontAwesome v5.0.6 (#1372)
* Update FontAwesome to v5.0.6 * Adapt DiscussionListItem-count icon to match FontAwesome 5 syntax * Change icon name to match FontAwesome 5.0.6 fas icon * Add font type prefix parameter to icon helper * Add Enable Icon Prefix to show icon in Extension Page * Fix invalid icon behavior * Change icon name to match FontAwesome 5.0.6 far icon * Use iconPrefix property on component * Use full icon class name * Update icon helper docblock * Full icon class syntax
This commit is contained in:
@@ -244,8 +244,8 @@
|
||||
padding-left: 21px;
|
||||
|
||||
&:before {
|
||||
.fa();
|
||||
content: @fa-var-comment-o;
|
||||
.far();
|
||||
content: @fa-var-comment;
|
||||
float: left;
|
||||
margin-left: -21px;
|
||||
margin-top: 3px;
|
||||
@@ -255,9 +255,11 @@
|
||||
font-weight: bold;
|
||||
|
||||
&:before {
|
||||
.fa();
|
||||
content: @fa-var-comment;
|
||||
}
|
||||
&:hover:before {
|
||||
.fa();
|
||||
content: @fa-var-check;
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,7 @@
|
||||
@import "font-awesome.less";
|
||||
@import "fontawesome.less";
|
||||
@import "fa-brands.less";
|
||||
@import "fa-regular.less";
|
||||
@import "fa-solid.less";
|
||||
@fa-font-path: "./fonts";
|
||||
|
||||
@import "normalize.less";
|
||||
|
Reference in New Issue
Block a user