From f48a56c70b324b897d99f21505390846c2b6abfa Mon Sep 17 00:00:00 2001 From: Wynd Date: Sun, 26 Oct 2025 10:38:16 +0200 Subject: [PATCH] Corrected some inputs and styled radio and text inputs --- input/kh3/enemies/flood.toml | 1 + input/kh3/enemies/pogo-shovel.toml | 4 +++ input/kh3/enemies/powerwild.toml | 2 +- input/kh3/enemies/spiked-turtletoad.toml | 1 + input/kh3/enemies/turtletoad.toml | 1 + input/kh3/ingredients/basil.toml | 2 +- input/kh3/ingredients/dill.toml | 4 +-- input/kh3/ingredients/filet_mignon.toml | 2 +- input/kh3/ingredients/miller_mushroom.toml | 2 +- input/kh3/ingredients/portobello.toml | 4 +-- input/kh3/ingredients/quail.toml | 2 +- public/styles/common/base.css | 33 +++++++++++++++++++++- public/styles/ddd/boards.css | 29 ++++++++++++++----- 13 files changed, 70 insertions(+), 17 deletions(-) diff --git a/input/kh3/enemies/flood.toml b/input/kh3/enemies/flood.toml index 4ff8052..b1f8b83 100644 --- a/input/kh3/enemies/flood.toml +++ b/input/kh3/enemies/flood.toml @@ -3,6 +3,7 @@ kind = "unversed" [[world]] name = "Monstropolis" +rooms = ["Vault Passage"] [[drops]] name = "Sinister Shard" diff --git a/input/kh3/enemies/pogo-shovel.toml b/input/kh3/enemies/pogo-shovel.toml index 94b6baf..270fff9 100644 --- a/input/kh3/enemies/pogo-shovel.toml +++ b/input/kh3/enemies/pogo-shovel.toml @@ -3,6 +3,10 @@ name = "Pogo Shovel" [[world]] name = "San Fransokyo" +[[world]] +name = "Monstropolis" +rooms = ["Vault Passage"] + [[drops]] name = "Pulsing Gem" kind = "material" diff --git a/input/kh3/enemies/powerwild.toml b/input/kh3/enemies/powerwild.toml index 4682cb2..351f7b5 100644 --- a/input/kh3/enemies/powerwild.toml +++ b/input/kh3/enemies/powerwild.toml @@ -1,7 +1,7 @@ name = "Powerwild" [[world]] -name = "The Carribean" +name = "The Caribbean" [[drops]] name = "Pulsing Shard" diff --git a/input/kh3/enemies/spiked-turtletoad.toml b/input/kh3/enemies/spiked-turtletoad.toml index e4c31ca..ae521a1 100644 --- a/input/kh3/enemies/spiked-turtletoad.toml +++ b/input/kh3/enemies/spiked-turtletoad.toml @@ -3,6 +3,7 @@ kind = "unversed" [[world]] name = "Monstropolis" +rooms = ["Service Area", "Lobby & Offices"] [[drops]] name = "Sinister Crystal" diff --git a/input/kh3/enemies/turtletoad.toml b/input/kh3/enemies/turtletoad.toml index fcdef69..420ec18 100644 --- a/input/kh3/enemies/turtletoad.toml +++ b/input/kh3/enemies/turtletoad.toml @@ -3,6 +3,7 @@ kind = "unversed" [[world]] name = "Monstropolis" +rooms = ["Service Area", "Lobby & Offices"] [[drops]] name = "Sinister Gem" diff --git a/input/kh3/ingredients/basil.toml b/input/kh3/ingredients/basil.toml index 1122d53..b57d3d7 100644 --- a/input/kh3/ingredients/basil.toml +++ b/input/kh3/ingredients/basil.toml @@ -12,6 +12,6 @@ room = "Andy's House" note = "Outside the house in the garden" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Isla de los Mastiles" note = "On a rock to the right of the spawn point" diff --git a/input/kh3/ingredients/dill.toml b/input/kh3/ingredients/dill.toml index 6be2509..cdd8e0f 100644 --- a/input/kh3/ingredients/dill.toml +++ b/input/kh3/ingredients/dill.toml @@ -7,10 +7,10 @@ room = "Lobby & Offices" note = "Vending Machine at the Laugh Floor's entrance" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Isla de los Mastiles" note = "Climb the walls and traverse the platforms" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Forsaken Isle" diff --git a/input/kh3/ingredients/filet_mignon.toml b/input/kh3/ingredients/filet_mignon.toml index bf528fe..8b6c7e1 100644 --- a/input/kh3/ingredients/filet_mignon.toml +++ b/input/kh3/ingredients/filet_mignon.toml @@ -7,6 +7,6 @@ room = "Lobby & Offices" note = "Laugh Floor on the desk in the very back" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Fort" note = "In an yellow box on the front terrace from the spawn" diff --git a/input/kh3/ingredients/miller_mushroom.toml b/input/kh3/ingredients/miller_mushroom.toml index 4f87962..ad927c2 100644 --- a/input/kh3/ingredients/miller_mushroom.toml +++ b/input/kh3/ingredients/miller_mushroom.toml @@ -2,5 +2,5 @@ name = "Miller Mushroom" group = "mushroom" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Hudded Isles" diff --git a/input/kh3/ingredients/portobello.toml b/input/kh3/ingredients/portobello.toml index 1b1004c..bcd1c04 100644 --- a/input/kh3/ingredients/portobello.toml +++ b/input/kh3/ingredients/portobello.toml @@ -2,9 +2,9 @@ name = "Portobello" group = "mushroom" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Horseshoe Island" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Ship's End" diff --git a/input/kh3/ingredients/quail.toml b/input/kh3/ingredients/quail.toml index abb4854..72259c8 100644 --- a/input/kh3/ingredients/quail.toml +++ b/input/kh3/ingredients/quail.toml @@ -2,6 +2,6 @@ name = "Quail" group = "meat" [[locations]] -world = "The Carribean" +world = "The Caribbean" room = "Docks" note = "Inside the building on the right side in a yellow box" diff --git a/public/styles/common/base.css b/public/styles/common/base.css index 7f6bb17..c7ec536 100644 --- a/public/styles/common/base.css +++ b/public/styles/common/base.css @@ -87,7 +87,22 @@ button { } } -input[type="checkbox"] { +input[type="text"] { + background-color: var(--bg-color); + border: 1px solid var(--button-border-color); + border-radius: 5px; + color: var(--text-color); + padding: 6px; + outline: none; + + &:active, + &:focus { + border: 1px solid var(--primary-color); + } +} + +input[type="checkbox"], +input[type="radio"] { appearance: none; position: relative; cursor: pointer; @@ -130,6 +145,22 @@ input[type="checkbox"] { } } +input[type="radio"] { + &::before { + border-radius: 20px; + } + + &:checked:after { + font-size: 16px; + top: 10px; + left: 6px; + } + + &:checked::after { + content: "\25CF"; + } +} + .help { display: inline-block; vertical-align: middle; diff --git a/public/styles/ddd/boards.css b/public/styles/ddd/boards.css index c1f8eb1..0c20668 100644 --- a/public/styles/ddd/boards.css +++ b/public/styles/ddd/boards.css @@ -70,6 +70,17 @@ div.abilities { table.board { width: inherit; + tbody tr:hover { + background-color: inherit; + } + + & tr, + th, + td { + border: none; + padding: 0px; + } + td { width: 120px; height: 100px; @@ -92,13 +103,17 @@ table.board { font-size: 14px; box-shadow: 1px 1px 5px black; - .help:after { - content: "?"; - position: absolute; - color: rgba(0, 0, 0, 0.3); - font-size: 24px; - bottom: 0; - right: 5px; + .help { + display: inherit; + + &:after { + content: "?"; + position: absolute; + color: rgba(0, 0, 0, 0.3); + font-size: 24px; + bottom: 0; + right: 5px; + } } }