mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17291] Use font icons instead of SVGs
PHPBB3-17291 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
parent
873c838d57
commit
3cc3bc7e81
4 changed files with 14 additions and 10 deletions
|
@ -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/',
|
||||
],
|
||||
);
|
||||
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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;"> <!-- IF modules.MODULE_ENABLED --><a href="{modules.U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{modules.U_ENABLE}">{L_ENABLE}</a><!-- ENDIF --> </td>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue