[FIX] web_editor: replace buttons color
This commit fixes the color of the "replace" buttons on images in the web editor. task-3376752 Part of task-3326263 closes odoo/odoo#133091 X-original-commit: a9a89bc54c7c110460382629bd283effdd7eade6 Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
<div id="image-transform" class="btn editor-ignore fa fa-object-ungroup"
|
||||
title="Transform the picture (click twice to reset transformation)"></div>
|
||||
<span class="oe-toolbar-separator d-flex"/>
|
||||
<div id="media-replace" title="Replace media" class="btn o_we_bg_brand_primary editor-ignore">Replace</div>
|
||||
<div id="media-replace" title="Replace media" class="btn o_we_bg_success editor-ignore">Replace</div>
|
||||
<span class="oe-toolbar-separator d-flex"/>
|
||||
<div id="image-delete" class="btn btn-link text-danger editor-ignore fa fa-trash" title="Remove (DELETE)"></div>
|
||||
</div>
|
||||
|
||||
@@ -430,7 +430,7 @@
|
||||
data-selector="img, .media_iframe_video, span.fa, i.fa"
|
||||
data-exclude="[data-oe-xpath], a[href^='/website/social/'] > i.fa, a[class*='s_share_'] > i.fa">
|
||||
<we-row string="Media">
|
||||
<we-button class="o_we_bg_brand_primary" data-replace-media="true" data-no-preview="true">Replace</we-button>
|
||||
<we-button class="o_we_bg_success" data-replace-media="true" data-no-preview="true">Replace</we-button>
|
||||
<div>
|
||||
<we-button class="fa fa-link"
|
||||
data-name="media_link_opt"
|
||||
|
||||
@@ -293,7 +293,7 @@
|
||||
<we-button data-set-columns="3">3</we-button>
|
||||
</we-select>
|
||||
<we-row string="Main image">
|
||||
<we-button class="o_we_bg_brand_primary" data-name="o_wsale_replace_main_image" data-replace-main-image="true" data-no-preview="true">Replace</we-button>
|
||||
<we-button class="o_we_bg_success" data-name="o_wsale_replace_main_image" data-replace-main-image="true" data-no-preview="true">Replace</we-button>
|
||||
</we-row>
|
||||
<we-row string="Extra Images">
|
||||
<we-button class="o_we_bg_success" data-name="o_wsale_add_extra_images" data-add-images="true" data-no-preview="true">Add</we-button>
|
||||
|
||||
Reference in New Issue
Block a user