From 4ec329d26f8932a7f78606f8799d8ff3866109ce Mon Sep 17 00:00:00 2001 From: Brieuc-brd Date: Fri, 3 Nov 2023 13:41:34 +0100 Subject: [PATCH] [FIX] point_of_sales: combo configurator UI review This commit reviews the UI of articles in `ComboConfiguratorPopup` to maintain consistency with the rest of the layout. task-3582072 closes odoo/odoo#140942 Signed-off-by: David Monnom (moda) --- .../combo_configurator_popup.scss | 26 ++----------------- .../combo_configurator_popup.xml | 10 +++---- 2 files changed, 7 insertions(+), 29 deletions(-) diff --git a/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.scss b/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.scss index cdbb8980b0c..788b1181d13 100644 --- a/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.scss +++ b/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.scss @@ -4,28 +4,6 @@ appearance:none; } -.combo-configurator-popup input:checked +label{ - -webkit-filter: none; - -moz-filter: none; - filter: none; - border: 2px solid #000; - border-radius: 5%; - -} - -.combo-configurator-popup label{ - cursor:pointer; - -webkit-transition: all 100ms ease-in; - -moz-transition: all 100ms ease-in; - transition: all 100ms ease-in; - -webkit-filter: opacity(.7); - -moz-filter: opacity(.7); - filter: opacity(.7); -} -.combo-configurator-popup label:hover{ - -webkit-filter: opacity(1); - -moz-filter: opacity(1); - filter: opacity(1); - border: 1px solid #000; - border-radius: 5%; +.combo-configurator-popup input:checked + label { + box-shadow: 0 0 0 ($border-width * 2) $primary; } diff --git a/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.xml b/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.xml index ecf2bd62f5e..e1abe074b8b 100644 --- a/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.xml +++ b/addons/point_of_sale/static/src/app/store/combo_configurator_popup/combo_configurator_popup.xml @@ -5,12 +5,11 @@