From 0b8bd50e7e94697769d9be8e3c2dee125020ad17 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sun, 5 Mar 2023 20:38:30 +0100 Subject: [PATCH] it... works? --- assets/index.html | 165 +++++++++++++++++++++++++++++++++++++++------- src/bootstrap.rs | 25 ++++--- src/main.rs | 29 ++++++-- 3 files changed, 181 insertions(+), 38 deletions(-) diff --git a/assets/index.html b/assets/index.html index be744d7..b111524 100644 --- a/assets/index.html +++ b/assets/index.html @@ -38,7 +38,7 @@ #inventory-wrapper { display: flex; height: 100px; - gap: 5px + gap: 5px; } .item-compiler { @@ -58,6 +58,10 @@ background: grey; } + .crafting-slot-dragover { + background: green; + } + .crafting-icon { height: 100px; width: 70px; @@ -69,6 +73,10 @@ width: 100px; } + .crafting-progress-arrow { + cursor: pointer; + } + .crafting-progress-arrow-running { background: linear-gradient( 0deg, @@ -98,6 +106,12 @@ background-position: 0% 82%; } } + + #error { + color: red; + margin-left: 10px; + font-size: 18px; + }
@@ -109,14 +123,16 @@