diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-12-12 13:06:14 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-01-16 17:03:15 +0100 |
| commit | abde8bddf8ec45cf12aab59e95c330321158cfba (patch) | |
| tree | 081b1b6432f48bf6a848173feafb91f62c37e3af /addons/web_editor/static/src/less/web_editor.ui.less | |
| parent | 0dd41128ffa460bad4db78f28852e785dbbeab95 (diff) | |
[REF] web_editor, website(_*): refactore media & link dialogs
* blog, gengo, sale
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.less | 16 |
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 { |
