aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/options
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-09-01 15:15:30 -0400
committerAjay <[email protected]>2022-09-01 15:15:30 -0400
commitc6e30236e973e7764582bf7a0b8f0f10bdc73fbb (patch)
tree52bded8a60ca682bfa81ce77bcd1486e8b911ee9 /public/options
parent34c4ecf9409eeb13b731c59e62e3d62b13e5b5c1 (diff)
downloadSponsorBlock-c6e30236e973e7764582bf7a0b8f0f10bdc73fbb.tar.gz
SponsorBlock-c6e30236e973e7764582bf7a0b8f0f10bdc73fbb.zip
Add license requirement
Diffstat (limited to 'public/options')
-rw-r--r--public/options/options.css9
-rw-r--r--public/options/options.html12
2 files changed, 21 insertions, 0 deletions
diff --git a/public/options/options.css b/public/options/options.css
index 36f4d5d7..2bd27161 100644
--- a/public/options/options.css
+++ b/public/options/options.css
@@ -317,6 +317,10 @@ input[type='number'] {
color: grey;
}
+tr.disabled {
+ opacity: 0.3;
+}
+
#options {
height: 100vh;
flex-basis: 80%;
@@ -678,4 +682,9 @@ svg {
#options > div {
max-width: 100%;
}
+}
+
+.upsellButton {
+ cursor: pointer;
+ vertical-align: middle;
} \ No newline at end of file
diff --git a/public/options/options.html b/public/options/options.html
index 150212ce..765134ec 100644
--- a/public/options/options.html
+++ b/public/options/options.html
@@ -302,6 +302,18 @@
</div>
</div>
+ <div data-type="toggle" data-toggle-type="reverse" data-sync="showUpsells" data-no-safari="true">
+ <div class="switch-container">
+ <label class="switch">
+ <input id="showUpsell" type="checkbox" checked>
+ <span class="slider round"></span>
+ </label>
+ <label class="switch-label" for="showUpsells">
+ __MSG_hideUpsells__
+ </label>
+ </div>
+ </div>
+
</div>
<div id="keybinds" class="option-group hidden">