Form image editing controls always present

Make image editing controls always available, instead of depending
on resolution or hover.
pull/2684/head
Daniel Torres 2017-01-02 16:52:30 -02:00 committed by Taras Shabaranskyi
parent 5bed732778
commit 07cac94c3a
1 changed files with 18 additions and 0 deletions

View File

@ -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;
}
}
} }