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:
@@ -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();
|
||||
}
|
||||
|
@@ -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">
|
||||
|
||||
|
@@ -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">
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user