From d6c4604fecdf71a607ba00a72b051d591eaf1c92 Mon Sep 17 00:00:00 2001 From: Salvador Melo Date: Wed, 30 Dec 2020 14:13:44 -0500 Subject: [PATCH] collapsible duties and projects --- Wicked Ones/wicked-ones.css | 40 +++++++++++++++++++++ Wicked Ones/wicked-ones.html | 67 +++++++++++++++++++++++++++--------- 2 files changed, 90 insertions(+), 17 deletions(-) diff --git a/Wicked Ones/wicked-ones.css b/Wicked Ones/wicked-ones.css index 05a30168aa..00154c9c05 100644 --- a/Wicked Ones/wicked-ones.css +++ b/Wicked Ones/wicked-ones.css @@ -278,6 +278,46 @@ input.sheet-zero { visibility: hidden; } +/* Hiders */ + +input.sheet-hider[value="hide"] + .sheet-hider { + display: none; +} + +/* Clear default button styling */ +button.sheet-toggle { + margin: 0; + overflow: visible; + text-transform: none; + border-style: none; + padding: 0; + background: transparent; + cursor: pointer; +} + +/* .sheet-header > button.sheet-toggle { + float: right; +} */ + +/* Hide the section(s) that do not match the attribute value */ +input.sheet-direction:not([value="show"]) + button.sheet-toggle > span.sheet-show { + display: none; +} +input.sheet-direction:not([value="hide"]) + button.sheet-toggle > span.sheet-hide { + display: none; +} + +span.sheet-hider-arrow { + position: relative; + right: -10px; + width: 0; + height: 0; + + border-top: 10px solid black; + border-right: 5px solid transparent; + border-left: 5px solid transparent; +} + /* CLOCKS */ .sheet-clocks .itemcontrol { diff --git a/Wicked Ones/wicked-ones.html b/Wicked Ones/wicked-ones.html index 6ae186c142..bd81720488 100644 --- a/Wicked Ones/wicked-ones.html +++ b/Wicked Ones/wicked-ones.html @@ -5,9 +5,9 @@
Gear
-
- -
+
+ +
Supply
@@ -25,23 +25,41 @@ Minions
-
Dungeon Duties
-
-
Tier
-
Type
-
Description
+
+ Dungeon Duties + +
-
- - -
- + +
+
+
Tier
+
Type
+
Description
-
+
+ + +
+ +
+
+
-
Downtime Projects
-
+
+ Downtime Projects + + +
+ +
  • Brew Potions and Alchemicals
  • Build Locks, Traps, Tricks, and Rooms.
  • @@ -132,4 +150,19 @@
    XP
    -
\ No newline at end of file +
+ \ No newline at end of file