diff --git a/Free Spacer/FreeSpacer.css b/Free Spacer/FreeSpacer.css index 229b3e0a24..141147bac2 100644 --- a/Free Spacer/FreeSpacer.css +++ b/Free Spacer/FreeSpacer.css @@ -488,10 +488,59 @@ select.sheet-typeSelector font-size: 11px; } +/* Salvo Mode Button */ +.sheet-salvoRollButton +{ + position: absolute; + top: 170px; + left: 0; +} + +input[type="checkbox"].sheet-hideSalvoModeCheckbox +{ + + opacity: 0; + cursor: pointer; + z-index: 19; + width: 25px; + height: 200px; + margin: 0; + padding: 0; + font-size: 25px; + vertical-align: top; +} + +span.sheet-salvoMode +{ + z-index: 18; + width: 25px; + height: 200px; + vertical-align: top; +} + +/* Inactive Salvo Mode Button*/ +input.sheet-salvoRollButton + span.sheet-salvoMode +{ + background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Free%20Spacer/images/sys-int.png); + background-repeat: repeat; + background-position: top; + opacity: 1; + background-size: 25px 25px; +} +/* Active Salvo Mode Button*/ +input.sheet-salvoRollButton:checked + span.sheet-salvoMode +{ + background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Free%20Spacer/images/sys-int2.png); + background-repeat: repeat; + background-position: top; + opacity: 1; + background-size: 25px 25px; +} + /* Salvo Widget */ .sheet-salvo { - position:absolute; + position: absolute; z-index: 10; display: grid; width: 900px; @@ -546,7 +595,19 @@ select.sheet-typeSelector justify-self: center; } -/* Specialty Hidding Functionality */ +/* Salvo Mode Hiding Functionality */ +div.sheet-salvo +{ + display: none; +} + +input[type="checkbox"].sheet-salvoRollButton:checked ~ div.sheet-salvo +{ + display: grid; +} + + +/* Specialty Hiding Functionality */ option.sheet-specialtyChoice { display: none; @@ -568,7 +629,7 @@ input.sheet-fieldDynamicsSelector:checked ~ div.sheet-capitalShipSheet display: block; } -/* Tool Hidding Functionality */ +/* Tool Hiding Functionality */ optgroup.sheet-scaleChoice { display: none; diff --git a/Free Spacer/FreeSpacer.html b/Free Spacer/FreeSpacer.html index 604ce5ae5b..2723c3c91e 100644 --- a/Free Spacer/FreeSpacer.html +++ b/Free Spacer/FreeSpacer.html @@ -44,6 +44,9 @@
+ + +
Salvo
@@ -140,7 +143,7 @@
Difficulty
Disadvantage
- +
Roll Salvo @@ -148,6 +151,9 @@
+ + +
@@ -218,8 +224,8 @@
+ +
-->
Anthropology:
@@ -248,8 +254,8 @@
+ +
-->
Accounting:
@@ -278,8 +284,8 @@
+ + -->
Comms:
@@ -308,8 +314,8 @@
+ + -->
Administration:
@@ -338,8 +344,8 @@
+ + -->
Insight:
@@ -372,8 +378,8 @@
+ + -->
Sneak:
@@ -402,8 +408,8 @@
+ + -->
Martial Arts:
@@ -432,8 +438,8 @@
+ + -->
Architecture:
@@ -462,8 +468,8 @@
+ + -->
Survey:
@@ -492,8 +498,8 @@
+ + -->
Grav Drive:
@@ -526,8 +532,8 @@
+ + -->
Medicine:
@@ -556,8 +562,8 @@
+ + -->
Holography:
@@ -586,8 +592,8 @@
+ + -->
Away Weaponry:
@@ -616,8 +622,8 @@
+ + -->
Hack:
@@ -646,8 +652,8 @@
+ + -->
Mechanics: