From f5008469753d1316f612337c03c6a44ea2155816 Mon Sep 17 00:00:00 2001 From: crowetic Date: Thu, 12 Dec 2024 21:49:14 -0800 Subject: [PATCH] Massive re-factor to forum code (at least the first half) --- assets/css/forum-styles.css | 10 + assets/js/MinterBoard.js | 13 +- assets/js/Q-Mintership.js | 546 +++++++++++++++++------------------- 3 files changed, 278 insertions(+), 291 deletions(-) diff --git a/assets/css/forum-styles.css b/assets/css/forum-styles.css index 3f22c67..51cdb18 100644 --- a/assets/css/forum-styles.css +++ b/assets/css/forum-styles.css @@ -384,6 +384,16 @@ background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */ } +.remove-image-button { + background-color: #0f4c41; + color: #ffffff; + border: dotted; + border-radius: 1vh; + padding: 0.3vh 0.6vh; + margin-top: 1px; + cursor: pointer; +} + .modal-content { margin: auto; display: block; diff --git a/assets/js/MinterBoard.js b/assets/js/MinterBoard.js index 352ac3b..2d6a4c6 100644 --- a/assets/js/MinterBoard.js +++ b/assets/js/MinterBoard.js @@ -494,7 +494,7 @@ const toggleComments = async (cardIdentifier) => { const createModal = async () => { const modalHTML = `