From 6381fd685cdef4950ecb6fc20048c51c3e3aca17 Mon Sep 17 00:00:00 2001 From: Vitones91 Date: Wed, 30 Aug 2023 09:33:33 -0300 Subject: [PATCH 1/8] Fix padding problems on fullscreen, updated layout Solved size and padding problems on some columns when using the fullscreen sheet. Updated roll template layout and global sizes. --- 3DX/3dx.css | 62 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/3DX/3dx.css b/3DX/3dx.css index 3f33c1f61a..a8b1aedd3c 100644 --- a/3DX/3dx.css +++ b/3DX/3dx.css @@ -51,7 +51,7 @@ textarea { .characterviewer label { font-weight: normal; - font-size: 0.7rem; + font-size: 0.75rem; margin-bottom: 0; } .largedialog label { @@ -83,7 +83,10 @@ label, input, button, select, textarea { } .ui-dialog .charsheet button[type="roll"], .ui-dialog .charsheet button[type="compendium"] { + align-items: center; + display: flex; font-size: 1.1rem; + height: 100%; } .btn, .btn.btn-default { box-shadow: none; @@ -109,9 +112,10 @@ label, input, button, select, textarea { .OpenSans { color: var(--fonttitle); font-family: Arial; - font-size: 0.7rem; + font-size: 0.75rem; font-weight:normal; - letter-spacing: 0.02rem; + letter-spacing: 0.025rem; + line-height: 0.9rem; text-align: center; } #subtitle { @@ -550,7 +554,7 @@ label, input, button, select, textarea { width: 20%; } .ProficienciasNome { - width: 60%; + width: 75%; } .Proficiencias__Input { background: none; @@ -647,14 +651,14 @@ label, input, button, select, textarea { width: 1rem; } .ResourceButton { - width: 10%; + width: 5%; } .ResourceNome { margin-inline: 0.4rem; width: 65%; } .ResourceQuant { - width: 25%; + width: 30%; } .Quant__Column { @@ -734,8 +738,10 @@ label, input, button, select, textarea { border-radius: 10px 10px 0 0; color: #D3D3D3; font-family: Arial; + font-size: 1.2rem; line-height: 100%; - padding-block: 0.6rem; + padding-bottom: 0.6rem; + padding-top: 0.8rem; text-align: center; width: 100%; } @@ -743,12 +749,12 @@ label, input, button, select, textarea { align-items: center; display: flex; justify-content: center; - margin-block: 2rem; + margin-block: 1.6rem; } .sheet-rolltemplate-3dxdano div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-actionname { color: #D3D3D3; font-family: Arial; - font-size: 1.4rem; + font-size: 1.3rem; margin-right: 1rem; } .sheet-rolltemplate-3dxdano div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-macroresult span { @@ -757,7 +763,7 @@ label, input, button, select, textarea { border-radius: 6px; color: #D3D3D3; font-family: Arial; - font-size: 2rem; + font-size: 1.6rem; font-weight: normal; padding: 0.5rem; } @@ -779,8 +785,10 @@ label, input, button, select, textarea { border-radius: 10px 10px 0 0; color: #D3D3D3; font-family: Arial; + font-size: 1.2rem; line-height: 100%; - padding-block: 0.5rem; + padding-bottom: 0.6rem; + padding-top: 0.8rem; text-align: center; width: 100%; } @@ -788,12 +796,12 @@ label, input, button, select, textarea { align-items: center; display: flex; justify-content: center; - margin-block: 2rem; + margin-block: 1.6rem; } .sheet-rolltemplate-3dxproficiencia div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-actionname { color: #D3D3D3; font-family: Arial; - font-size: 1.4rem; + font-size: 1.3rem; margin-right: 1rem; } .sheet-rolltemplate-3dxproficiencia div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-macroresult span { @@ -802,7 +810,7 @@ label, input, button, select, textarea { border-radius: 6px; color: #D3D3D3; font-family: Arial; - font-size: 2rem; + font-size: 1.6rem; font-weight: normal; padding: 0.5rem; } @@ -824,8 +832,10 @@ label, input, button, select, textarea { border-radius: 10px 10px 0 0; color: #D3D3D3; font-family: Arial; + font-size: 1.2rem; line-height: 100%; - padding-block: 0.5rem; + padding-bottom: 0.6rem; + padding-top: 0.8rem; text-align: center; width: 100%; } @@ -833,12 +843,12 @@ label, input, button, select, textarea { align-items: center; display: flex; justify-content: center; - margin-block: 2rem; + margin-block: 1.6rem; } .sheet-rolltemplate-3dxrecurso div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-actionname { color: #D3D3D3; font-family: Arial; - font-size: 1.4rem; + font-size: 1.3rem; margin-right: 1rem; } .sheet-rolltemplate-3dxrecurso div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-macroresult span { @@ -847,7 +857,7 @@ label, input, button, select, textarea { border-radius: 6px; color: #D3D3D3; font-family: Arial; - font-size: 2rem; + font-size: 1.6rem; font-weight: normal; padding: 0.5rem; } @@ -869,8 +879,10 @@ label, input, button, select, textarea { border-radius: 10px 10px 0 0; color: #D3D3D3; font-family: Arial; + font-size: 1.2rem; line-height: 100%; - padding-block: 0.5rem; + padding-bottom: 0.6rem; + padding-top: 0.8rem; text-align: center; width: 100%; } @@ -878,7 +890,7 @@ label, input, button, select, textarea { align-items: center; display: flex; justify-content: center; - margin-block: 2rem; + margin-block: 1.6rem; } .sheet-rolltemplate-3dxiniciativa div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-macroresult span { background-color: #282828; @@ -886,7 +898,7 @@ label, input, button, select, textarea { border-radius: 6px; color: #D3D3D3; font-family: Arial; - font-size: 2rem; + font-size: 1.6rem; font-weight: normal; padding: 0.5rem; } @@ -908,8 +920,10 @@ label, input, button, select, textarea { border-radius: 10px 10px 0 0; color: #D3D3D3; font-family: Arial; + font-size: 1.2rem; line-height: 100%; - padding-block: 0.5rem; + padding-bottom: 0.6rem; + padding-top: 0.8rem; text-align: center; width: 100%; } @@ -917,7 +931,7 @@ label, input, button, select, textarea { align-items: center; display: flex; justify-content: center; - margin-block: 2rem; + margin-block: 1.6rem; } .sheet-rolltemplate-3dxgenerico div.sheet-roll-container div.sheet-roll-wrap span.sheet-roll-macroresult span { background-color: #282828; @@ -925,7 +939,7 @@ label, input, button, select, textarea { border-radius: 6px; color: #D3D3D3; font-family: Arial; - font-size: 2rem; + font-size: 1.6rem; font-weight: normal; padding: 0.5rem; } From d4f5f845dcb518b94ded7cbdf2033a1cccb92cc8 Mon Sep 17 00:00:00 2001 From: Kurohyou Date: Wed, 30 Aug 2023 14:58:30 -0600 Subject: [PATCH 2/8] Fix issue with dropping non-monsters (aka npcs) --- dragonbane/dragonbane.html | 379 ++++++++++++++++++------------------- 1 file changed, 184 insertions(+), 195 deletions(-) diff --git a/dragonbane/dragonbane.html b/dragonbane/dragonbane.html index 4c714424d9..efd4bf1a14 100644 --- a/dragonbane/dragonbane.html +++ b/dragonbane/dragonbane.html @@ -11,12 +11,7 @@
- - -
+

@@ -95,9 +84,8 @@ -
- -
+
+

-
- -
+
+

-
- -
+
+

-