[ticket/17291] Use font icons instead of SVGs

PHPBB3-17291

Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
Matt Friedman 2024-02-23 16:39:40 -08:00
parent 873c838d57
commit 3cc3bc7e81
No known key found for this signature in database
4 changed files with 14 additions and 10 deletions

View file

@ -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/',
],
);

View file

@ -473,12 +473,12 @@
<!-- BEGIN forums -->
<tr>
<td class="folder">
{{ 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) }}
</td>
<td class="forum-desc">
<!-- IF forums.FORUM_IMAGE --><div style="float: {S_CONTENT_FLOW_BEGIN}; margin-right: 5px;">{forums.FORUM_IMAGE}</div><!-- ENDIF -->

View file

@ -133,11 +133,11 @@
<!-- BEGIN modules -->
<tr>
<td style="width: 5%; text-align: center;">
{{ 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') }}
</td>
<td><a href="{modules.U_MODULE}">{modules.MODULE_TITLE}</a><!-- IF not modules.MODULE_DISPLAYED --> <span class="small">[{L_HIDDEN_MODULE}]</span><!-- ENDIF --></td>
<td style="width: 15%; white-space: nowrap; text-align: center; vertical-align: middle;">&nbsp;<!-- IF modules.MODULE_ENABLED --><a href="{modules.U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{modules.U_ENABLE}">{L_ENABLE}</a><!-- ENDIF -->&nbsp;</td>

View file

@ -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;