From b595ca0ce5a46c674c9cd95ef0797299ec7c2ccd Mon Sep 17 00:00:00 2001 From: Jason Benedetti Date: Thu, 22 Aug 2019 14:58:35 +0200 Subject: [PATCH] Add higher encapsulation level to enhance design abilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FR : Ajout de plusieurs
et non stylisées pour faciliter le travail d'intégration et de design simplement via du CSS, notamment sur l'apparence de boutons par rapport aux textes. EN : Add some
and "unstylished" to enhance the integration and design work via simple CSS rules, especially about the buttons appearance compared to the texts. --- tarteaucitron.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tarteaucitron.js b/tarteaucitron.js index e480c63..8814af2 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -329,9 +329,11 @@ var tarteaucitron = { if (tarteaucitron.parameters.highPrivacy && !tarteaucitron.parameters.AcceptAllCta) { html += '
'; + html += '
'; html += ' '; html += ' ' + tarteaucitron.lang.alertBigPrivacy; html += ' '; + html += ' '; html += ' '; @@ -341,10 +343,13 @@ var tarteaucitron = { html += ' ' + tarteaucitron.lang.privacyUrl; html += ' '; } - + + html += ' '; + html += '
'; html += '
'; } else { html += '
'; + html += '
'; html += ' '; if (tarteaucitron.parameters.highPrivacy) { @@ -354,6 +359,7 @@ var tarteaucitron = { } html += ' '; + html += ' '; html += ' '; @@ -367,6 +373,8 @@ var tarteaucitron = { html += ' '; } + html += ' '; + html += '
'; html += '
'; html += '
'; }