Common selector for non-traditional checkbox inputs

This commit is contained in:
narcolepticinsomniac 2017-11-27 23:09:52 -05:00 committed by GitHub
parent 99512da9da
commit 1f0d6fb4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@
<label>
<span i18n-text="prefShowBadge"></span>
<span class="onoffswitch">
<input type="checkbox" id="show-badge">
<input type="checkbox" id="show-badge" class="slider">
<span></span>
</span>
</label>
@ -83,21 +83,21 @@
<span i18n-text="popupOpenEditInWindow"
i18n-title="popupOpenEditInWindowTooltip"></span>
<span class="onoffswitch">
<input type="checkbox" id="openEditInWindow">
<input type="checkbox" id="openEditInWindow" class="slider">
<span></span>
</span>
</label>
<label>
<span i18n-text="popupStylesFirst"></span>
<span class="onoffswitch">
<input type="checkbox" id="popup.stylesFirst">
<input type="checkbox" id="popup.stylesFirst" class="slider">
<span></span>
</span>
</label>
<label class="chromium-only">
<span i18n-text="popupBorders" i18n-title="popupBordersTooltip"></span>
<span class="onoffswitch">
<input type="checkbox" id="popup.borders">
<input type="checkbox" id="popup.borders" class="slider">
<span></span>
</span>
</label>
@ -129,14 +129,14 @@
<label>
<span i18n-text="optionsAdvancedExposeIframes"> <sup>2</sup></span>
<span class="onoffswitch">
<input type="checkbox" id="exposeIframes">
<input type="checkbox" id="exposeIframes" class="slider">
<span></span>
</span>
</label>
<label class="chromium-only">
<span i18n-text="optionsAdvancedContextDelete"></span>
<span class="onoffswitch">
<input type="checkbox" id="editor.contextDelete">
<input type="checkbox" id="editor.contextDelete" class="slider">
<span></span>
</span>
</label>