[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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<td align="right"><t t-esc="sale_item.qty_delivered"/> <t t-esc="uom_name"/></td>
|
||||
<td align="right"><t t-esc="sale_item.qty_invoiced"/> <t t-esc="uom_name"/></td>
|
||||
</tr>
|
||||
<tr t-if="sale_items.total > sale_items.data.length">
|
||||
<tr class="o_rightpanel_nohover" t-if="sale_items.total > sale_items.data.length">
|
||||
<td>
|
||||
<a class="o_rightpanel_button text-bold" t-on-click="onLoadSalesOrderLinesClick">
|
||||
Load more
|
||||
|
||||
Reference in New Issue
Block a user