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 @@