diff --git a/src/popup/popup.html b/src/popup/popup.html index fc506d5efe7bba2ca89b7b7f813e05fb1547a1b1..5b3817b4f03a368b574d02321e5532f60689df87 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>