From cc23863f099b04c911667fdd11f59c96026ea299 Mon Sep 17 00:00:00 2001 From: Brieuc-brd Date: Thu, 7 Apr 2022 11:23:16 +0000 Subject: [PATCH] [REF] mail: `MailTemplate`, review and simplify scss MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part of the overall v16 SCSS optimization/restyle, task-2704984 task-2818801 closes odoo/odoo#88216 Signed-off-by: Alexandre Kühn (aku) --- .../mail_template/mail_template.scss | 27 ------------------- .../mail_template/mail_template.xml | 10 +++---- 2 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 addons/mail/static/src/components/mail_template/mail_template.scss diff --git a/addons/mail/static/src/components/mail_template/mail_template.scss b/addons/mail/static/src/components/mail_template/mail_template.scss deleted file mode 100644 index 7800ab62bc5..00000000000 --- a/addons/mail/static/src/components/mail_template/mail_template.scss +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------ -// Layout -// ------------------------------------------------------------------ - -.o_MailTemplate { - display: flex; - flex: 0 0 auto; - align-items: center; -} - -.o_MailTemplate_button { - padding-top: map-get($spacers, 0); - padding-bottom: map-get($spacers, 0); -} - -.o_MailTemplate_name { - margin-inline-start: map-get($spacers, 2); -} - -// ------------------------------------------------------------------ -// Style -// ------------------------------------------------------------------ - -.o_MailTemplate_text { - color: gray('500'); - font-style: italic; -} diff --git a/addons/mail/static/src/components/mail_template/mail_template.xml b/addons/mail/static/src/components/mail_template/mail_template.xml index 451add5bd64..2163b0c7a39 100644 --- a/addons/mail/static/src/components/mail_template/mail_template.xml +++ b/addons/mail/static/src/components/mail_template/mail_template.xml @@ -3,20 +3,20 @@ -
+
- + : - or + or