diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index c1f23f03d0..4642b13f39 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -2738,4 +2738,29 @@ fieldset.permissions .padding { height: 1em; width: 1em; } + +.acp-icon { + font-size: 1.5em; +} /* stylelint-enable declaration-property-unit-whitelist */ + +.acp-icon-move-up, +.acp-icon-move-down { + color: #4ba5de; +} + +.acp-icon-settings { + color: #62c046; +} + +.acp-icon-delete { + color: #d74558; +} + +.acp-icon-resync { + color: #f69934; +} + +.acp-icon-disabled { + color: #d0d0d0; +} diff --git a/phpBB/adm/style/admin.js b/phpBB/adm/style/admin.js index 1dea68ed80..23bd4a116b 100644 --- a/phpBB/adm/style/admin.js +++ b/phpBB/adm/style/admin.js @@ -254,5 +254,10 @@ function parse_document(container) }); $('#configlist').closest('.send-stats-data-row').addClass('send-stats-data-hidden'); + + // Do not underline actions icons on hover (could not be done via CSS) + $('.actions a:has(i.acp-icon)').mouseover(function () { + $(this).css("text-decoration", "none"); + }); }); })(jQuery); diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php index 4e4e888402..d7278cc101 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -93,16 +93,16 @@ function adm_page_header($page_title) 'T_ASSETS_VERSION' => $config['assets_version'], - 'ICON_MOVE_UP' => '' . $user->lang['MOVE_UP'] . '', - 'ICON_MOVE_UP_DISABLED' => '' . $user->lang['MOVE_UP'] . '', - 'ICON_MOVE_DOWN' => '' . $user->lang['MOVE_DOWN'] . '', - 'ICON_MOVE_DOWN_DISABLED' => '' . $user->lang['MOVE_DOWN'] . '', - 'ICON_EDIT' => '' . $user->lang['EDIT'] . '', - 'ICON_EDIT_DISABLED' => '' . $user->lang['EDIT'] . '', - 'ICON_DELETE' => '' . $user->lang['DELETE'] . '', - 'ICON_DELETE_DISABLED' => '' . $user->lang['DELETE'] . '', - 'ICON_SYNC' => '' . $user->lang['RESYNC'] . '', - 'ICON_SYNC_DISABLED' => '' . $user->lang['RESYNC'] . '', + 'ICON_MOVE_UP' => '', + 'ICON_MOVE_UP_DISABLED' => '', + 'ICON_MOVE_DOWN' => '', + 'ICON_MOVE_DOWN_DISABLED' => '', + 'ICON_EDIT' => '', + 'ICON_EDIT_DISABLED' => '', + 'ICON_DELETE' => '', + 'ICON_DELETE_DISABLED' => '', + 'ICON_SYNC' => '', + 'ICON_SYNC_DISABLED' => '', 'S_USER_LANG' => $user->lang['USER_LANG'], 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'],