From 690370fac0f80f7795c5ea705804d9787dfbaaf1 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sat, 24 Feb 2024 11:16:11 -0800 Subject: [PATCH] [ticket/17291] Icon class clean up PHPBB3-17291 Signed-off-by: Matt Friedman --- phpBB/adm/style/admin.css | 1 + .../style/installer_update_file_status.html | 10 +++++----- phpBB/adm/style/permission_mask.html | 2 +- phpBB/includes/functions_acp.php | 20 +++++++++---------- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index e8e099a802..1a25ba9468 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -2960,6 +2960,7 @@ fieldset.permissions .permissions-switch { padding-right: 0.3em; } +/* this class loads Free and Brand icons, for use when .fas and .fab are needed at same time */ .icon { font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands"; font-style: normal; diff --git a/phpBB/adm/style/installer_update_file_status.html b/phpBB/adm/style/installer_update_file_status.html index fa8b67d0e0..b49faf0f41 100644 --- a/phpBB/adm/style/installer_update_file_status.html +++ b/phpBB/adm/style/installer_update_file_status.html @@ -4,7 +4,7 @@

{L_FILES_DELETED_EXPLAIN}

- {{ Icon('font', 'circle-xmark', lang('STATUS_DELETED'), true, '', {'style' : 'color:red;"'}) }} + {{ Icon('font', 'circle-xmark', lang('STATUS_DELETED'), true, '', {'style' : 'color:red;'}) }}
{deleted.DIR_PART}{deleted.FILE_PART}
@@ -20,7 +20,7 @@

{L_FILES_CONFLICT_EXPLAIN}

- {{ Icon('font', 'circle-exclamation', lang('STATUS_CONFLICT'), true, '', {'style' : 'color:red;"'}) }} + {{ Icon('font', 'circle-exclamation', lang('STATUS_CONFLICT'), true, '', {'style' : 'color:red;'}) }}
{conflict.DIR_PART}{conflict.FILE_PART}
@@ -36,7 +36,7 @@

{L_FILES_MODIFIED_EXPLAIN}

- {{ Icon('font', 'circle-arrow-left', lang('STATUS_MODIFIED'), true, '', {'style' : 'color:#ffd43b;"'}) }} + {{ Icon('font', 'circle-arrow-left', lang('STATUS_MODIFIED'), true, '', {'style' : 'color:#ffd43b;'}) }}
{modified.DIR_PART}{modified.FILE_PART}
@@ -52,7 +52,7 @@

{L_FILES_NEW_EXPLAIN}