1
0
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:
AFR
2018-02-24 05:42:00 +07:00
committed by Franz Liedke
parent f5a4d7b2a3
commit a147fb578a
51 changed files with 124 additions and 119 deletions

View File

@@ -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;
}
}

View File

@@ -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";