diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 9e2310668d..2a5eacfcd7 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -3014,8 +3014,33 @@ fieldset.permissions .permissions-switch { overflow-x: scroll; } +.acp-icon { + font-size: 1.5em; +} + /* stylelint-enable selector-max-id */ /* stylelint-enable selector-max-compound-selectors */ /* stylelint-enable selector-no-qualifying-type */ /* stylelint-enable declaration-property-unit-blacklist */ /* 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 337c76207c..74269e92e9 100644 --- a/phpBB/adm/style/admin.js +++ b/phpBB/adm/style/admin.js @@ -256,5 +256,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 fd423eb7f3..ff2a8badb8 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -97,16 +97,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'],