From 32b1118cd0a09cf0ed7e186c5a96651c44145094 Mon Sep 17 00:00:00 2001 From: Lucie Bader <167515375+Lucie-Bdr@users.noreply.github.com> Date: Mon, 17 Feb 2025 13:57:43 +0100 Subject: [PATCH] Changement style bouton mots outils --- src/popup/popup.html | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/popup/popup.html b/src/popup/popup.html index fc506d5..5b3817b 100644 --- a/src/popup/popup.html +++ b/src/popup/popup.html @@ -283,6 +283,15 @@ font-weight: lighter; } + .option-row.stopwords { + position: relative; + display: flex; + align-items: center; + justify-content: space-between; + font-size: 0.9rem; + font-weight: lighter; + } + /* .option-row.auto-add-row input[type="checkbox"] { appearance: none; width: 24px; @@ -341,10 +350,14 @@ </div> <div id="auto-add-options" class="hidden"> - <div class="option-row"> - <label for="include-stopwords">Inclure mots outils</label> - <input type="checkbox" id="include-stopwords" /> + <div class="option-row stopwords"> + <span>Inclure mots outils</span> + <label class="toggle-switch"> + <input type="checkbox" id="include-stopwords" /> + <span class="slider"></span> + </label> </div> + <div class="option-row threshold-container"> <label for="threshold">Seuil d'ajout d'un mot</label> -- GitLab