From abde8bddf8ec45cf12aab59e95c330321158cfba Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 12 Dec 2017 13:06:14 +0100 Subject: [REF] web_editor, website(_*): refactore media & link dialogs * blog, gengo, sale --- addons/web_editor/static/src/less/web_editor.ui.less | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'addons/web_editor/static/src/less/web_editor.ui.less') 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 { -- cgit v1.2.3