Font Awesome 5

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
customaware
Posts: 2399
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Font Awesome 5

Post by customaware »

eagles9999 wrote:Yep!..

Works perfectly.

fas fa-adjust = Solid Version
far fa-adjust = Regular Version
fal fa-adjust = Light Version

Thanx Steve.

No reason that V5 (free) could not be installed like this as default in Aware I wouldnt imagine.
Hmmm... but cannot get it to apply my custom class for color.
Presumably as they are svg now, it should be fill instead of color. But does not work. :-/
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Font Awesome 5

Post by idpSteve »

Mine are still colored. My class to make icons red is:

.fared{
color:#d01a1a;
}

and this works for me.

If I inspect a colored icon I get this:

class="svg-inline--fa fa-check fa-w-16 fagreen".

I hope you come right, Mark. Let me know if I can do something to assist.
customaware
Posts: 2399
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Font Awesome 5

Post by customaware »

Mine still does not work....

Code: Select all

<svg class="svg-inline--fa fa-plus fa-w-14 k-sprite fa-2x fared" aria-hidden="true" data-prefix="fa" data-icon="plus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg="">
<path fill="currentColor" d="M448 294.2v-76.4c0-13.3-10.7-24-24-24H286.2V56c0-13.3-10.7-24-24-24h-76.4c-13.3 0-24 10.7-24 24v137.8H24c-13.3 0-24 10.7-24 24v76.4c0 13.3 10.7 24 24 24h137.8V456c0 13.3 10.7 24 24 24h76.4c13.3 0 24-10.7 24-24V318.2H424c13.3 0 24-10.7 24-24z"></path></svg>
Screen Shot 2018-03-21 at 8.23.48 am.png
Screen Shot 2018-03-21 at 8.23.48 am.png (5.63 KiB) Viewed 13623 times
Screen Shot 2018-03-21 at 8.23.59 am.png
Screen Shot 2018-03-21 at 8.23.59 am.png (9.42 KiB) Viewed 13623 times
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Font Awesome 5

Post by BenHayat »

eagles9999 wrote:Mine still does not work....
Mark, FA5 offers two directions. CSS and SVG.
Have you tried the CSS version to see if that works in Aware?
customaware
Posts: 2399
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Font Awesome 5

Post by customaware »

Cannot get the css version to work.

Only the svg version and hence the issue with colours.

Interestingly, I (probably mistakenly) assume the fa prefix would remain V4x and the new prefixes fas,far,fal,fab would default to V5. But from my test below, it seems even the prefix fa is picking up svg.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Font Awesome 5

Post by idpSteve »

I don't see much difference in what you've done and what I've done.. Maybe test with !important and see if that fixes it and if it does then find what is overriding your css color..

Regards,

Steve
Attachments
fontawesome5.png
fontawesome5.png (58.88 KiB) Viewed 13608 times
BLOMASKY
Posts: 1471
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

FA 5 Breaks my "X" close button on tabs

Post by BLOMASKY »

Anyone else have this issue:

Once I install FA5, the X on the upper right of a tab to close the tab becomes a bold, smaller X and it is NOT clickable.


Bruce
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Font Awesome 5

Post by idpSteve »

Hi Bruce.

I think mark had that issue.

I've had a collapsible panel that wouldn't collapse or expand with FA5. The icon for collapse/expand was also changed.

Regards,

Steve
Post Reply