From 1efc9dab8efa03862853f417f9174ec27e50f766 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 18 Apr 2023 16:47:44 +0200 Subject: [PATCH] #10959 change style message info header --- pandora_console/images/info.svg | 29 +++++++++++++++++++ .../include/functions_notifications.php | 2 +- pandora_console/include/styles/pandora.css | 13 +++------ 3 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 pandora_console/images/info.svg diff --git a/pandora_console/images/info.svg b/pandora_console/images/info.svg new file mode 100644 index 0000000000..5d4daad9cf --- /dev/null +++ b/pandora_console/images/info.svg @@ -0,0 +1,29 @@ + + + + 08833C7D-0D40-4B38-96C4-14E753034D0F@svg + Created with sketchtool. + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pandora_console/include/functions_notifications.php b/pandora_console/include/functions_notifications.php index 6918bad686..0059375b7e 100644 --- a/pandora_console/include/functions_notifications.php +++ b/pandora_console/include/functions_notifications.php @@ -1118,7 +1118,7 @@ function notifications_print_dropdown_element($message_info) $message_info['id_mensaje'], messages_get_url($message_info['id_mensaje']), $target, - html_print_image('images/'.$message_info['icon'], true), + html_print_image('images/info.svg', true), io_safe_output($message_info['subject']), $body_preview ); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 1388573ba9..25c7202216 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -4863,6 +4863,7 @@ div#dialog_messages table th:last-child { width: 550px; margin-top: 55px; border-radius: 5px; + max-height: 530px; } #notification-wrapper::before { @@ -4896,21 +4897,15 @@ div#dialog_messages table th:last-child { } .notification-item { - background: whitesmoke; - height: 100px; - margin: 7px; - border: #e4e4e4 solid 1px; + height: 95px; + margin-top: 15px; + border-bottom: #eaeaea solid 1px; display: flex; flex-flow: row nowrap; align-items: center; padding: 5px; } -.notification-item:hover { - border: #ccc solid 1px; - text-decoration: none; -} - .notification-item > * { padding-left: 15px; pointer-events: none;