summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.ui.less
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
-rw-r--r--addons/web_editor/static/src/less/web_editor.ui.less16
1 files changed, 9 insertions, 7 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less
index e2a25e8e9e0..75cac40d823 100644
--- a/addons/web_editor/static/src/less/web_editor.ui.less
+++ b/addons/web_editor/static/src/less/web_editor.ui.less
@@ -1354,8 +1354,6 @@ body .modal {
}
li.search {
- float: right;
-
ul.pager li:last-child{
margin-left: 2px;
}
@@ -1378,7 +1376,8 @@ body .modal {
}
.o_existing_attachment_cell {
- @odoo-border-image: 1px;
+ @odoo-border-image: 2px;
+
.o_existing_attachment_remove {
.o-position-absolute(@odoo-border-image, 15px + @odoo-border-image);
padding: 3px 5px 5px 5px;
@@ -1396,21 +1395,24 @@ body .modal {
.o_image {
border: @odoo-border-image solid transparent;
cursor: pointer;
+ .o-transition(opacity, 400ms);
&.o_webimage {
width: 100%;
height: auto;
background-image: none!important;
}
+
+ &.o_image_loading {
+ opacity: 0;
+ }
}
&.o_selected .o_image {
border-color: @odoo-brand-primary;
box-shadow: 0px 0px 2px 2px @odoo-brand-secondary;
}
- &:hover {
- .o_existing_attachment_remove {
- opacity: 1;
- }
+ &:hover .o_existing_attachment_remove {
+ opacity: 1;
}
}
.font-icons-icons {