From 3cc3bc7e816898ebb0fa6cb8b5a8a6338a34409a Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Fri, 23 Feb 2024 16:39:40 -0800 Subject: [PATCH] [ticket/17291] Use font icons instead of SVGs PHPBB3-17291 Signed-off-by: Matt Friedman --- phpBB/adm/index.php | 1 - phpBB/adm/style/acp_forums.html | 10 +++++----- phpBB/adm/style/acp_modules.html | 8 ++++---- phpBB/adm/style/admin.css | 5 +++++ 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 22537f6e8a..0f9ff7eaee 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -65,7 +65,6 @@ $template->set_custom_style( $phpbb_admin_path . 'style', $phpbb_root_path . 'styles/all/imgs/', $phpbb_root_path . 'styles/all/template/', - $phpbb_root_path . 'styles/prosilver/imgs/', ], ); diff --git a/phpBB/adm/style/acp_forums.html b/phpBB/adm/style/acp_forums.html index dc4a7cd1d4..672fbca780 100644 --- a/phpBB/adm/style/acp_forums.html +++ b/phpBB/adm/style/acp_forums.html @@ -473,12 +473,12 @@ - {{ Icon('svg', { - 'link-variant' : forums.S_FORUM_LINK, + {{ Icon('font', { + 'link' : forums.S_FORUM_LINK, 'lock' : forums.S_FORUM_LOCKED, - 'file-document-box-multiple-outline' : forums.S_SUBFORUMS, - 'file-document-box-outline' : true, - }, '', true, 'c-forum-row-icon') }} + 'comments' : forums.S_SUBFORUMS, + 'comment' : true, + }, '', true) }}
{forums.FORUM_IMAGE}
diff --git a/phpBB/adm/style/acp_modules.html b/phpBB/adm/style/acp_modules.html index 8d60796cb0..01d52a433d 100644 --- a/phpBB/adm/style/acp_modules.html +++ b/phpBB/adm/style/acp_modules.html @@ -133,11 +133,11 @@ - {{ Icon('svg', { + {{ Icon('font', { 'lock' : not modules.MODULE_ENABLED, - 'file-document-box-multiple-outline' : modules.S_SUB_MODULE, - 'file-document-box-outline' : true, - }, '', true, 'c-forum-row-icon', {'style' : 'width: 27px; height: 27px;'}) }} + 'folder-tree' : modules.S_SUB_MODULE, + 'folder-open' : true, + }, '', true, 'fas') }} {modules.MODULE_TITLE} [{L_HIDDEN_MODULE}]  {L_DISABLE}{L_ENABLE}  diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index f6598331eb..0f88bcf84a 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -2965,6 +2965,11 @@ fieldset.permissions .permissions-switch { font-style: normal; } +.table1 .o-icon { + font-size: 20px; + padding: 10px 0; +} + .send-stats-data-row { background: #f9f9f9; border: #dedede 1px solid;