From 8da7ff7eaacce1bf417c5e17899f65bc5f2716b5 Mon Sep 17 00:00:00 2001 From: Kara Diaby Date: Tue, 26 Mar 2024 09:45:21 +0100 Subject: [PATCH] editeur mail administrateur : adaptation pour le dark mode --- app/assets/stylesheets/actiontext.scss | 4 ++++ app/views/administrateurs/mail_templates/edit.html.haml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/actiontext.scss b/app/assets/stylesheets/actiontext.scss index 114c6aa76..274f04774 100644 --- a/app/assets/stylesheets/actiontext.scss +++ b/app/assets/stylesheets/actiontext.scss @@ -13,3 +13,7 @@ trix-editor { min-height: 10em; background-color: #FFFFFF; } + +[data-fr-theme="dark"] .trix-button-group button { + background: var(--background-action-high-blue-france) !important; +} diff --git a/app/views/administrateurs/mail_templates/edit.html.haml b/app/views/administrateurs/mail_templates/edit.html.haml index 7a6f57679..ec8c9f89b 100644 --- a/app/views/administrateurs/mail_templates/edit.html.haml +++ b/app/views/administrateurs/mail_templates/edit.html.haml @@ -20,7 +20,7 @@ = render partial: 'form', locals: { f: f, tags: @mail_template.tags } .procedure-form__actions.sticky--bottom .actions-right - = f.submit 'Enregistrer', class: 'button primary send' + = f.submit 'Enregistrer', class: 'fr-btn' .procedure-form__column--preview .procedure-form__preview.sticky--top