aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-12-14 00:44:21 -0500
committerAjay Ramachandran <[email protected]>2020-12-14 00:44:21 -0500
commit03e34281f6f07c00c2a9bb1c8d6f790a7c5c3cc9 (patch)
tree7c74984c32ad6fba99a8050bbdf3ac68b848833a /public
parent125a83ac3f1926366500bd91db8b4ade6964de84 (diff)
downloadSponsorBlock-03e34281f6f07c00c2a9bb1c8d6f790a7c5c3cc9.tar.gz
SponsorBlock-03e34281f6f07c00c2a9bb1c8d6f790a7c5c3cc9.zip
Add back show notice button
Diffstat (limited to 'public')
-rw-r--r--public/popup.css16
-rw-r--r--public/popup.html2
2 files changed, 14 insertions, 4 deletions
diff --git a/public/popup.css b/public/popup.css
index cd2968eb..5a9f7b01 100644
--- a/public/popup.css
+++ b/public/popup.css
@@ -343,11 +343,19 @@ label>p, #disableExtension>p, #usernameValue, #usernameElement > div > p,#sponso
/* footer */
-#sbFooter {
- margin-bottom: 28px;
-}
-
#sbFooter > a {
color: var(--sb-main-fg-color);
text-decoration: none;
}
+
+#showNoticeAgain {
+ margin-top: 30px;
+
+ color: var(--sb-main-fg-color);
+ background: none;
+ border: 1px solid white;
+ cursor: pointer;
+ padding: 5px;
+
+ border-radius: 5px;
+}
diff --git a/public/popup.html b/public/popup.html
index 08dfd05e..4bdfd53f 100644
--- a/public/popup.html
+++ b/public/popup.html
@@ -137,6 +137,8 @@
<a href="https://matrix.to/#/+sponsorblock:ajay.app" target="_blank" rel="noopener">Matrix</a> |
<a id="helpButton" href="#">__MSG_help__</a>
</footer>
+
+ <button id="showNoticeAgain" style="display: none" class="dangerButton popupElement">__MSG_showNotice__</button>
</div>
<!-- Scripts that need to load after the html -->
<script src="./js/vendor.js" async></script>