No Code Attached Yet
avatar joomleb
joomleb
27 May 2023

Hi guys,
Joomla 4.3.x is running with Font Awesome 5.x

Into the Joomla .../media/system/css/joomla-fontawesome.css file I can find seven fa-spin definitions (eight "spin").

But, as far as I know, fa-spin in Font Awesome does not exist, while there is the fa-spinner.

Are you sure that the fa-spin definitions are still needed ?

avatar joomleb joomleb - open - 27 May 2023
avatar joomla-cms-bot joomla-cms-bot - change - 27 May 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 May 2023
avatar ReLater
ReLater - comment - 28 May 2023

I find exactly one .fa-spin definition in media\system\css\joomla-fontawesome.css. And also in media\vendor\fontawesome-free\css\fontawesome.css (the original!).

.fa-spin, .icon-spin {
  -webkit-animation: fa-spin 2s infinite linear;
          animation: fa-spin 2s infinite linear;
}

All other fa-spin finds define the animation.

@keyframes fa-spin {...}

  • With fa-spin class you can make any icon rotate. if you add this class additionally.
  • In contrast, the fa-spinner class has its predefined icon that will be animated depending on additional classes that define the kind of animation.
.fa-spinner:before {
  content: "\f110";
}

Are you sure that the fa-spin definitions are still needed ?

Yes. At least because of backwards compatibility.

avatar joomleb
joomleb - comment - 29 May 2023

@ReLater
Thank you very much for your detailed explication with which I'm been able to find the Font Awesome page explication

avatar brianteeman
brianteeman - comment - 29 May 2023

Can be closed?

avatar chmst
chmst - comment - 29 May 2023

Obviously not a joomla core issue. Thanks @ReLater

avatar chmst chmst - change - 29 May 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-05-29 09:53:13
Closed_By chmst
avatar chmst chmst - close - 29 May 2023

Add a Comment

Login with GitHub to post a comment