mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Form image editing controls always present
Make image editing controls always available, instead of depending on resolution or hover.
This commit is contained in:
committed by
Sergey Shebanin
parent
4e7f4a6fc0
commit
eda2ae419a
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user