1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16552] Roll back to FontAwesome 4.7

PHPBB3-16552
This commit is contained in:
3D-I
2020-07-21 05:12:04 +02:00
committed by Marc Alexander
parent 2060f00f95
commit 4aa3a80558
10 changed files with 15 additions and 24 deletions

View File

@@ -73,7 +73,7 @@
(function($){
var $fa_cdn = $('head').find('link[rel="stylesheet"]').first(),
$span = $('<span class="fa" style="display:none"></span>').appendTo('body');
if ($span.css('fontFamily') !== 'Font Awesome 5 Free' ) {
if ($span.css('fontFamily') !== 'FontAwesome' ) {
$fa_cdn.after('<link href="{T_ASSETS_PATH}/css/font-awesome.min.css" rel="stylesheet">');
$fa_cdn.remove();
}

View File

@@ -46,7 +46,6 @@
</script>
<!-- ENDIF -->
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
<link href="{T_FONT_AWESOME_V4SHIMS_LINK}" rel="stylesheet">
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
<link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet">

View File

@@ -24,7 +24,6 @@
</script>
<!-- ENDIF -->
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
<link href="{T_FONT_AWESOME_V4SHIMS_LINK}" rel="stylesheet">
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
<link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet">

View File

@@ -363,7 +363,7 @@ a.header-avatar img {
a.header-avatar span:after {
content: '\f0dd';
display: inline-block;
font: normal normal bold 14px/1 "Font Awesome 5 Free";
font: normal normal normal 14px/1 FontAwesome;
padding-left: 6px;
padding-top: 2px;
vertical-align: top;

View File

@@ -11,8 +11,8 @@
*/
.icon, .button .icon, blockquote cite:before, .uncited:before {
display: inline-block;
font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
font-weight: 900;
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
font-variant: normal;
font-size: 14px;
@@ -22,9 +22,9 @@
-moz-osx-font-smoothing: grayscale;
}
.icon { padding-right: 2px; }
.icon:before { padding-right: 2px; }
.button .icon {
.button .icon:before {
padding-right: 0;
}