FontAwesome 5 #2527

Closed
hj wants to merge 0 commits from gitlab-mr-iid-1260 into develop
Owner

Closes #982

Replaces all icons with FA5 counterparts. Removes Fontello

Some icons changed to a (slightly) different icon:

  • All spinners were changed to circle-notch since FA doesn't have any spinners beyond 7-dots and circle-notch ones.
  • bell-ringing is instead a frankenstein of bell and two rss icons to simulate ringing, since bell-on is a FA PRO icon :/
  • Video icon (in hidden attachment placeholder) uses generic camera
  • Poll icon uses horizontal poll icon, i.e. similar to graph but horizontal and inside a square.
  • Smile icon uses beam version, i.e. it does the ^_^ expression. Because people complained that plain :) "stares at them"
  • Smile icon in post form changed to filled variant for better harmony with other icons
  • globe is changed to a generic "basketball"
  • lock now has shackle turned over for better accessibility
  • ellipsis in usercard is vertical instead of horizontal
  • version tab in settings is now information without circle.
  • notifications tab in settings is non-ringing bell
  • maybe more i can't remember.

Some small bugfixes:

  • Icons in navbar have been readjusted
  • Icons in user-card have been readjusted and given MUCH bigger hitbox + better hover indication.
  • Some components like RetweetButton have been refactored.
  • Some components's CSS was changed to fit better with our guidelines.
Closes #982 Replaces all icons with FA5 counterparts. Removes Fontello Some icons changed to a (slightly) different icon: * **All spinners were changed to `circle-notch` since FA doesn't have any spinners beyond 7-dots and circle-notch ones.** * bell-ringing is instead a frankenstein of `bell` and two `rss` icons to simulate ringing, since `bell-on` is a FA PRO icon :/ * Video icon (in hidden attachment placeholder) uses generic camera * Poll icon uses horizontal poll icon, i.e. similar to graph but horizontal and inside a square. * Smile icon uses `beam` version, i.e. it does the ^_^ expression. Because people complained that plain :) "stares at them" * Smile icon in post form changed to filled variant for better harmony with other icons * globe is changed to a generic "basketball" * lock now has shackle turned over for better accessibility * ellipsis in usercard is vertical instead of horizontal * version tab in settings is now `information` without circle. * notifications tab in settings is non-ringing bell * maybe more i can't remember. Some small bugfixes: * Icons in navbar have been readjusted * Icons in user-card have been readjusted and given MUCH bigger hitbox + better hover indication. * Some components like RetweetButton have been refactored. * Some components's CSS was changed to fit better with our guidelines.
Owner

weird indent?

weird indent?
Owner

Changing this to flex seems to fix the vertical alignment of icon vs text that's bugging me a lot, it also fixes the underline extending weirdly

it also breaks the follow request count so that needs some attention

Changing this to flex seems to fix the vertical alignment of icon vs text that's bugging me a lot, it also fixes the underline extending weirdly it also breaks the follow request count so that needs some attention
Owner

The follow request count is fixable by also adding:

align-items: center;
height: 1.2em;

and then removing the negative margin from the count badge

The follow request count is fixable by also adding: ``` align-items: center; height: 1.2em; ``` and then removing the negative margin from the count badge
Author
Owner

in general flex breaks the vertical alignment/paddings for the icons for some reason. I'll see what can be done.

in general flex breaks the vertical alignment/paddings for the icons for some reason. I'll see what can be done.
Owner

in this case it didn't seem to have the problem, I tested it in browser. looks more broken as it is than with flex

in this case it didn't seem to have the problem, I tested it in browser. looks more broken as it is than with flex
Owner

any update? I can do the change too into the branch if you want and if I can make sure it has no negative side effects

the nav panel is just the most visible place where the alignments are off so I'd like to get it fixed

any update? I can do the change too into the branch if you want and if I can make sure it has no negative side effects the nav panel is just the most visible place where the alignments are off so I'd like to get it fixed
Author
Owner

I'll update it today, last two days were a bit too much for me, sorry.

I'll update it today, last two days were a bit too much for me, sorry.
Author
Owner

Updated:

  • Removed button-icon, replaced with fa-scale-110 (110% icon scale aka font-size: 1.1em) and fa-old-padding, no longer requires size="lg" which also screwed alignment a bit.
  • Updated and optimized layout of both navigation lists (both mobile and desktop) - they use fixed sizing and text alignment is done with line-height instead of padding.
  • Follow requests badge updated to be aligned with vertical-align instead of negative margins, also synced styles between mobile and desktop. Should look much less weird now.
  • Fixed weird alignments in side-drawer
  • Increased size for side-tabs on mobile
Updated: - Removed `button-icon`, replaced with `fa-scale-110` (110% icon scale aka `font-size: 1.1em`) and `fa-old-padding`, no longer requires `size="lg"` which also screwed alignment a bit. - Updated and optimized layout of both navigation lists (both mobile and desktop) - they use fixed sizing and text alignment is done with line-height instead of padding. - Follow requests badge updated to be aligned with `vertical-align` instead of negative margins, also synced styles between mobile and desktop. Should look much less weird now. - Fixed weird alignments in side-drawer - Increased size for side-tabs on mobile
Owner

Looking really good now, only thing that sticks out right now is the emoji picker, at first it looks like something is not right because the U has an underline, but selected icon also has an underline

Looking really good now, only thing that sticks out right now is the emoji picker, at first it looks like something is not right because the U has an underline, but selected icon also has an underline
Owner

image

The select drop-down icon looks quite off on 70% market share borwser

![image](/attachments/4cea4ecb-ae9e-4edd-9ba0-27524a7d4c53) The select drop-down icon looks quite off on 70% market share borwser
Owner

I guess it's not great on 7% either if you change the option... I guess it's been broken like this for a while

image

I guess it's not great on 7% either if you change the option... I guess it's been broken like this for a while ![image](/attachments/8a289c80-dea6-4b9c-8f78-ee8d4312769b)
7.8 KiB
Owner

not necessary to fix here, this branch didn't cause the issue

not necessary to fix here, this branch didn't cause the issue

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe!2527
No description provided.