From 3157b8e50a60f18098cdb0aafeedd6437e764f68 Mon Sep 17 00:00:00 2001 From: Deependra Solanki Date: Mon, 22 May 2023 11:39:16 +0000 Subject: [PATCH] [IMP] mass_mailing: enable font-family customisation for buttons and links. Before this commit: The font-family style of buttons and links could not be changed. After this commit: The fonts of a buttons and links can be changed. Task - 2841732 closes odoo/odoo#121926 Signed-off-by: Antoine Guenet (age) --- .../static/src/scss/themes/theme_default.scss | 1 - addons/mass_mailing/views/snippets_themes.xml | 22 +++++++++++++++++++ .../mass_mailing/views/themes_templates.xml | 3 +++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/addons/mass_mailing/static/src/scss/themes/theme_default.scss b/addons/mass_mailing/static/src/scss/themes/theme_default.scss index 460443c2731..04f1aa936e2 100644 --- a/addons/mass_mailing/static/src/scss/themes/theme_default.scss +++ b/addons/mass_mailing/static/src/scss/themes/theme_default.scss @@ -91,7 +91,6 @@ div.col:not([align]) { } a:not(.btn), .btn.btn-link { - font-weight: bold; padding-left: 0 !important; padding-right: 0 !important; border: none!important; diff --git a/addons/mass_mailing/views/snippets_themes.xml b/addons/mass_mailing/views/snippets_themes.xml index 5e3cfb55ed3..60cea89838c 100644 --- a/addons/mass_mailing/views/snippets_themes.xml +++ b/addons/mass_mailing/views/snippets_themes.xml @@ -671,11 +671,27 @@ + + + + + + + Medium Large + + + Medium Large + + + *, li, li > * { color: #6c757d; } + a:not(.btn), a.btn.btn-link { + font-weight: bolder; + } hr { border-top-color: #ced4da !important; }