diff --git a/addons/web/static/src/views/fields/fields.scss b/addons/web/static/src/views/fields/fields.scss index 92da2877df4..3f08228f97c 100644 --- a/addons/web/static/src/views/fields/fields.scss +++ b/addons/web/static/src/views/fields/fields.scss @@ -48,3 +48,23 @@ .o_kanban_quick_create .o_field_widget .o_input { border-color: var(--o-input-border-color); } + +body:not(.o_touch_device) .o_field_widget { + // Phone, Email + &.o_field_phone, &.o_field_email { + &:not(:hover):not(:focus-within) { + & input:not(:hover) ~ a { + display: none !important; + } + } + } + + // Selection + &.o_field_selection { + &:not(:hover):not(:focus-within) { + & select:not(:hover) { + background: none !important; + } + } + } +} diff --git a/addons/web/static/src/views/fields/selection/selection_field.xml b/addons/web/static/src/views/fields/selection/selection_field.xml index 13e639fc1f2..b572bab8f9e 100644 --- a/addons/web/static/src/views/fields/selection/selection_field.xml +++ b/addons/web/static/src/views/fields/selection/selection_field.xml @@ -6,7 +6,7 @@ -