diff --git a/Zafir/zafir.css b/Zafir/zafir.css index f114a11b51..05e0c110d5 100644 --- a/Zafir/zafir.css +++ b/Zafir/zafir.css @@ -137,8 +137,9 @@ select.sheet-dtype { width: 18%; } -.sheet-res button.sheet-btn, -.sheet-atk button.sheet-btn { +button.sheet-btn, +button.sheet-btn, +button.sheet-btn { float: right; background-color: #EEE; border: none; @@ -171,13 +172,15 @@ button.sheet-skillbtn { top: 1px; } -.sheet-res button:hover, -.sheet-atk button:hover { +button:hover, +button:hover, +button:hover { background-color: #DDD; } -.sheet-res button:active, -.sheet-atk button:active { +button:active, +button:active, +button:active { background-color: #CCC; } @@ -358,6 +361,8 @@ button.sheet-skillbtn { } /*Configure the tab content*/ +.sheet-charactersheet, +.sheet-gmtools, .sheet-atk, .sheet-aab, .sheet-pab, @@ -376,6 +381,11 @@ button.sheet-skillbtn { display: none; } +.sheet-tabstoggle[value="charactersheet"] ~ div.sheet-charactersheet, +.sheet-tabstoggle[value="gmtools"] ~ div.sheet-gmtools { + display: block; +} + /* show the selected tab content */ .sheet-tabstoggle[value="atk"] ~ div.sheet-atk, .sheet-tabstoggle[value="aab"] ~ div.sheet-aab, diff --git a/Zafir/zafir.html b/Zafir/zafir.html index 492b895722..768535607f 100644 --- a/Zafir/zafir.html +++ b/Zafir/zafir.html @@ -1,501 +1,507 @@ - -
-
- -
- -
- - - -
- -
- -
- -
-
- -
- - -
-
-

Base Attributes

-
-
-
- -
- -
-

Combat Attributes

-
-
-
- -
- -
-

Status

-  / 
-
-
- -
-
- - - -
- -
- - - - - - -
-
- - -
-
-
- -
-

Combat Panel

- - -
-
-
-

Weapon Attack

-
-
-
- - -
- - - -
-
- - - -
-
- - - -
-
-
-

Will Attack

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

Ammo Tracker

-
- -  / 
-
-

Condition Tracker

-
-
- - -
-
-

Cooldown Tracker

-
-
- - -
-
-

Charges Tracker

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

Base Attributes

+
+
+
+ +
+ +
+

Combat Attributes

+
+
+
+ +
+ +
+

Status

+  / 
+
+
+ +
+
+ + + +
+
-

Abilities

- - + + + + + +

-
-

Active Abilities

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

Combat Panel

+ +
-
- +
+
+

Weapon Attack

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

Will Attack

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

Ammo Tracker

+
+ +  / 
+
+

Condition Tracker

+
+
+ + +
+
+

Cooldown Tracker

+
+
+ + +
+
+

Charges Tracker

+
+
+ + +
+
+
+
+
-
-

Passive Abilities

-
-
- -
-
-
-
- -
- -
-

Equipment

- - - - -
-
-
-

Primary Weapon

-
-
-
- - +
+

Abilities

+ + +
+
+ +
+

Active Abilities

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

Secondary Weapon

-
-
-
- - -
-
-
- -
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
-

BodyArmor

-
-
-
-
-
- -
-
- -
-
- -
-
-
- -
-
-
- -
-
-
-  ?Empty Pockets:
To get an empty pocket to stay on the character sheet, put a dash (-) in the text field.
-

Pockets

-
- - -
-
-
-
-
-

Headgear

-
-
-
-
- -
-
-
-
-
-
-
- - -
-

Responsibilities

-
-
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - -
-
-

Skill Action

-
-
-
-
- - -
- - - -
-
-
-
- - -
-
-
-

Money

-
-
-
-

Inventory

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

Proficiencies

-
-
- -
-
-
-
-

Languages

-

Fluent

-
-
- -
-
-
-

Conversational

-
-
- -
-
-
-
+
+

Passive Abilities

+
+
+ +
+
+ + +
+ +
+

Equipment

+ + + + +
+
+
+

Primary Weapon

+
+
+
+ + +
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+

Secondary Weapon

+
+
+
+ + +
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+

BodyArmor

+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
+ +
+
+
+  ?Empty Pockets:
To get an empty pocket to stay on the character sheet, put a dash (-) in the text field.
+

Pockets

+
+ + +
+
+
+
+
+

Headgear

+
+
+
+
+ +
+
+
+
+
+
+
+ + +
+

Responsibilities

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+
+

Skill Action

+
+
+
+
+ + +
+ + + +
+
+
+
+ + +
+
+
+

Money

+
+
+
+

Inventory

+ +
+
+
+
+
+ + +
+
+
+

Proficiencies

+
+
+ +
+
+
+
+

Languages

+

Fluent

+
+
+ +
+
+
+

Conversational

+
+
+ +
+
+
+
+ +
+
+
+
+
+ +

Game Master's Toolkit

@@ -807,6 +813,15 @@ on("clicked:reloadprimary", function() { }); }); +on("clicked:switchsheettype", function() { + getAttrs(["sheetTypeToggle"], function(values) { + let sheetTypeToggle = values.sheetTypeToggle; + setAttrs({ + sheetTypeToggle: sheetTypeToggle == "charactersheet" ? "gmtools" : "charactersheet" + }); + }); +}); + // TODO /*on("clicked:initcombat", function() { console.log("initcombat TODO");