From 4006ae3e83a6ffb87adb099bc9df88805c6eff0e Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Sat, 4 Dec 2021 00:34:28 +0100 Subject: [PATCH] Working Version of the Armor& HP --- helpers/base.py | 54 ++-- helpers/generator.py | 8 +- helpers/systemd10cyberpunk.css | 14 +- helpers/systemd10cyberpunk.html | 456 ++++++++++++++++---------------- 4 files changed, 276 insertions(+), 256 deletions(-) diff --git a/helpers/base.py b/helpers/base.py index f8bf6af..8ea56ff 100644 --- a/helpers/base.py +++ b/helpers/base.py @@ -135,41 +135,41 @@ header = """
- armor -
-
-
-
-
-
+ armor +
+
+
+
+
+
- armor + armor
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
@@ -387,9 +387,15 @@ input.sheet-small_tab:checked::before{ } input.sheet-skill_name{ - -moz-appearance: none; + -moz-appearance: textfield; width:400px; } + +input.sheet-skill_level{ + -moz-appearance: textfield; + width:2.5em; !important; +} + input.sheet-skill_hidden{ visibility: hidden; } @@ -406,7 +412,11 @@ select.sheet-dice_select{ margin-bottom:-1px; } .sheet-trait{ - width: 15px; + width: 25px !important; +-moz-appearance: textfield; +} +.sheet-body_values{ + width: 25px !important; -moz-appearance: textfield; } .sheet-numberbox { diff --git a/helpers/generator.py b/helpers/generator.py index 272e2c5..c77a4e7 100644 --- a/helpers/generator.py +++ b/helpers/generator.py @@ -115,8 +115,8 @@ class Skill(Node): def content(self): # {self.parent.pname} is not needed, else _skilllevel_ cause a confict, legacy keeping I guess ? ret=""" - - + + - - + + -
-
-
-
-
+ armor +
+
+
+
+
+
- armor + armor
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
@@ -163,8 +163,8 @@

Combat

- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +