From 1b67e2074ca6e0c5f6c09dfa28c71eb2b4dc00d9 Mon Sep 17 00:00:00 2001 From: Daniel Torres Date: Mon, 2 Jan 2017 16:52:30 -0200 Subject: [PATCH] Form image editing controls always present Make image editing controls always available, instead of depending on resolution or hover. --- web_responsive/static/src/less/form_view.less | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/web_responsive/static/src/less/form_view.less b/web_responsive/static/src/less/form_view.less index c15fe3c2..d31f01f6 100644 --- a/web_responsive/static/src/less/form_view.less +++ b/web_responsive/static/src/less/form_view.less @@ -62,4 +62,22 @@ } } } + + // Make image editing controls always available, instead of depending on resolution or hover + .o_form_field_image > .o_form_image_controls { + position: initial; + opacity: 1; + > .fa { + width: 50%; + padding: 6px; + margin: 0px; + text-align: center; + } + > .fa.o_select_file_button { + background: @odoo-brand-primary; + } + > .fa.o_clear_file_button { + background: @brand-danger; + } + } }