Browse Source

Form image editing controls always present

Make image editing controls always available, instead of depending
on resolution or hover.
pull/1066/head
Daniel Torres 8 years ago
committed by Jairo Llopis
parent
commit
1b67e2074c
No known key found for this signature in database GPG Key ID: 59564BF1E22F314F
  1. 18
      web_responsive/static/src/less/form_view.less

18
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;
}
}
}
Loading…
Cancel
Save