From d6b177a16d0a3eb645d893d0e801f3ccc7105538 Mon Sep 17 00:00:00 2001 From: typer Date: Thu, 10 Sep 2020 01:52:38 -0700 Subject: [PATCH] added reset settings button --- public/css/style.scss | 9 +++++++++ public/index.html | 23 +++++++++++++++++++++++ public/js/settings.js | 7 +++++++ public/js/userconfig.js | 8 ++++++++ 4 files changed, 47 insertions(+) diff --git a/public/css/style.scss b/public/css/style.scss index 1592648bf..fe3767072 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -1803,6 +1803,15 @@ key { column-gap: 2rem; align-items: center; + .button.danger { + background: #d00; + color: #eee; + &:hover { + background: var(--main-color); + color: var(--bg-color); + } + } + &.customTheme { grid-template-columns: 1fr 1fr 1fr 1fr; justify-items: stretch; diff --git a/public/index.html b/public/index.html index 1e3b8b544..b28115ced 100644 --- a/public/index.html +++ b/public/index.html @@ -2331,6 +2331,29 @@ +
+ danger section + +
+
+
+

reset settings

+
+ Resets settings to the default (but doesn't touch your tags). + Warning: you can't undo this action! +
+
+
+ reset +
+
+
+