From 153f35ef7f94aef9936c12b2f1557d4de39c0d0d Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Wed, 6 Apr 2022 08:15:49 +0000 Subject: [PATCH] [IMP] project: grey the row when the user hovers it. Before this commit, the user could having a bit difficult to read a row in Sales or Profitability section shown in right side panel of project update view since there is not much space between 2 rows. The idea is to add a color when the user hover a row to correctly see the row that he sees. This commit greys a row when the user hovers a row like we did for the line in the milestone section in the right side panel. task-2814466 Part-of: odoo/odoo#88219 --- addons/project/static/src/scss/project_rightpanel.scss | 4 ++-- .../static/src/right_panel/project_right_panel.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/project/static/src/scss/project_rightpanel.scss b/addons/project/static/src/scss/project_rightpanel.scss index 6029aeb6a4e..e05175cebe2 100644 --- a/addons/project/static/src/scss/project_rightpanel.scss +++ b/addons/project/static/src/scss/project_rightpanel.scss @@ -77,8 +77,8 @@ html .o_web_client > .o_action_manager > .o_action > .o_content > .o_controller_ .o_rightpanel_data { font-size: small; - .o_rightpanel_data_row { - &:hover { + .o_rightpanel_data_row, table > tbody > tr { + &:not(.o_rightpanel_nohover):hover { background-color: $gray-100; border-radius: 5px; } diff --git a/addons/sale_project/static/src/right_panel/project_right_panel.xml b/addons/sale_project/static/src/right_panel/project_right_panel.xml index 0bef6915f10..973f8eaaa33 100644 --- a/addons/sale_project/static/src/right_panel/project_right_panel.xml +++ b/addons/sale_project/static/src/right_panel/project_right_panel.xml @@ -46,7 +46,7 @@ - + Load more