From fbbc2ba25011ee888abacb386b482e28e4294caa Mon Sep 17 00:00:00 2001 From: ferricles Date: Thu, 12 May 2022 17:35:26 -0700 Subject: [PATCH 1/4] scaled font fix, minor UI changes in crafter --- builder/index.html | 2 +- crafter/index.html | 22 +++++++++++----------- css/sq2bs.css | 42 +++++++++++++++++++++++++++++------------- 3 files changed, 41 insertions(+), 25 deletions(-) diff --git a/builder/index.html b/builder/index.html index 2ec6fe0..106724e 100644 --- a/builder/index.html +++ b/builder/index.html @@ -56,7 +56,7 @@
-
+
diff --git a/crafter/index.html b/crafter/index.html index 72a1ddc..8d595b3 100644 --- a/crafter/index.html +++ b/crafter/index.html @@ -35,28 +35,28 @@
-
-
+
+
-
+

Type:

-
+
-
+

Lv:

-
+
@@ -65,9 +65,9 @@
-
+
-
+

Attack Speed

@@ -92,8 +92,8 @@
-
-
+
+

Mat 1 Tier:

@@ -109,7 +109,7 @@
-
+

Mat 2 Tier:

diff --git a/css/sq2bs.css b/css/sq2bs.css index 5ce8286..5eae688 100644 --- a/css/sq2bs.css +++ b/css/sq2bs.css @@ -126,9 +126,20 @@ input.equipment-input { cursor: pointer; } -/* .scaled-font { +.scaled-font { font-size: 2.5rem; -} */ +} + +.box-title { + text-align: center; + font-size: 3rem; +} + +.item-title { + text-align: center; + overflow-wrap: break-word; + font-size: 3.5rem; +} .skp-tooltip { font-size: 2.1875rem; @@ -168,6 +179,14 @@ input.equipment-input { .scaled-font { font-size: .8rem; } + + .box-title { + font-size: 1rem; + } + + .item-title { + font-size: 1rem; + } .skp-tooltip { font-size: .625rem; @@ -208,6 +227,14 @@ input.equipment-input { font-size: 1rem; } + .box-title { + font-size: 1.25rem; + } + + .item-title { + font-size: 1.5rem; + } + .skp-tooltip { font-size: .78rem; } @@ -345,14 +372,3 @@ input.equipment-input { .dark-shadow-sm { box-shadow: 0rem 0rem 0.25rem 0.05rem black; } - -.box-title { - text-align: center; - font-size: 1.25rem; -} - -.item-title { - text-align: center; - overflow-wrap: break-word; - font-size: 1rem; -} \ No newline at end of file From ef386a5aafe85c7bdb1d97b7bb4bfdbe320c408d Mon Sep 17 00:00:00 2001 From: ferricles Date: Thu, 12 May 2022 17:51:21 -0700 Subject: [PATCH 2/4] atlas --- atlas/index.html | 11 ++++++----- builder/index.html | 2 +- crafter/index.html | 2 +- css/sq2bs.css | 4 ++++ css/styles.css | 4 ---- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/atlas/index.html b/atlas/index.html index 972c8de..d1a7f27 100644 --- a/atlas/index.html +++ b/atlas/index.html @@ -14,13 +14,14 @@ +
- +
@@ -45,7 +46,7 @@
-
+
...
+ + @@ -305,5 +307,8 @@ + + + diff --git a/items/index.html b/items/index.html index bace2e7..fce8862 100644 --- a/items/index.html +++ b/items/index.html @@ -27,7 +27,7 @@ WynnCustomWynnCustom WynnGPSWynnGPS WynnfoWynnCrafter - WynnAtlas Mini + WynnAtlas Mini Swap Icon Style
diff --git a/js/items.js b/js/items.js index 4525032..49c33c3 100644 --- a/js/items.js +++ b/js/items.js @@ -103,15 +103,17 @@ const special_mappings = { }; let itemFilters = document.getElementById("filter-items"); -for (let x in translate_mappings) { - let el = document.createElement("option"); - el.value = x; - itemFilters.appendChild(el); -} -for (let x in special_mappings) { - let el = document.createElement("option"); - el.value = x; - itemFilters.appendChild(el); +if (itemFilters) { + for (let x in translate_mappings) { + let el = document.createElement("option"); + el.value = x; + itemFilters.appendChild(el); + } + for (let x in special_mappings) { + let el = document.createElement("option"); + el.value = x; + itemFilters.appendChild(el); + } } let itemCategories = [ "armor", "accessory", "weapon" ];