From cdcedb3b29e0ee48d76066c598487b1bb29937f1 Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 30 Jul 2020 20:16:07 +0100 Subject: [PATCH] added custom word and time popup --- public/css/style.scss | 27 +++++++++ public/index.html | 7 +++ public/js/script.js | 138 +++++++++++++++++++++++++++++++++++------- 3 files changed, 149 insertions(+), 23 deletions(-) diff --git a/public/css/style.scss b/public/css/style.scss index cafaf9f3b..aaac835e5 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -399,6 +399,33 @@ a:hover { } } +#customMode2PopupWrapper { + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.75); + position: fixed; + left: 0; + top: 0; + z-index: 1000; + display: grid; + justify-content: center; + align-items: center; + padding: 5rem 0; + + #customMode2Popup { + background: var(--bg-color); + border-radius: var(--roundness); + padding: 2rem; + display: grid; + gap: 1rem; + width: 300px; + + .title { + font-size: 1.5rem; + color: var(--sub-color); + } + } +} #customThemeShareWrapper { width: 100%; diff --git a/public/index.html b/public/index.html index f66f924f0..28f2fb39a 100644 --- a/public/index.html +++ b/public/index.html @@ -57,6 +57,13 @@
ok
+