From e1707be5c3d71201c06fb5dddb672106afb17e2f Mon Sep 17 00:00:00 2001 From: "stefanorigano (SRI)" Date: Thu, 17 Sep 2020 08:23:50 +0000 Subject: [PATCH] [FIX] web_editor, website: reword theme options, highlight Reword some theme options, highlight components when used as a "sub-section" titles. task-2335267 Part-of: #57942 X-original-commit: d6acbfee1834ab32460300b9d7f5dd9188f68014 --- .../static/src/scss/wysiwyg_snippets.scss | 11 ++++- .../website/static/src/xml/website.editor.xml | 4 +- addons/website/views/snippets/snippets.xml | 49 ++++++++++--------- 3 files changed, 36 insertions(+), 28 deletions(-) diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 9df21022397..b34cf52fd1d 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -162,7 +162,7 @@ body.editor_enable.editor_has_snippets { } &:not([disabled]) { - &.active:not(.o_we_no_toggle), &:hover { + &.active:not(.o_we_no_toggle):not(.o_we_checkbox_wrapper), &:hover { color: $o-we-sidebar-content-field-pressed-color; } @@ -546,7 +546,14 @@ body.editor_enable.editor_has_snippets { } > we-title { - margin-top: $o-we-sidebar-content-field-spacing; + margin-bottom: $o-we-sidebar-content-field-spacing * -0.5; + font-size: $o-we-sidebar-font-size + 1; + color: $o-we-fg-lighter; + font-weight: 500; + + &:not(:first-child) { + margin-top: $o-we-sidebar-content-field-spacing * 2; + } } } diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 07562de1de8..201cc5d5640 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -95,11 +95,11 @@ - + - + diff --git a/addons/website/views/snippets/snippets.xml b/addons/website/views/snippets/snippets.xml index 6d43458fa7d..f9f63e3830b 100644 --- a/addons/website/views/snippets/snippets.xml +++ b/addons/website/views/snippets/snippets.xml @@ -1098,7 +1098,7 @@ - + Full Boxed Framed @@ -1132,40 +1132,41 @@ - + Buttons + Fill Outline - + Fill Outline - + - + - + - - - + + + - > + > - - - + + + - @@ -1178,29 +1179,29 @@ Inputs - + - + - + - - - + + + - > + > - - - + + +