mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
### Version 1.1.10
- Fixed rounding error on carry capacity - Addition of Ship's Ledger - Addition of highly detailed Ship Combat tab (with help from Roll20 member and superstar TrooperSJP) - Fix to Robot parsing on drag'n'drop - Added headers for ship's locker armour and weapons
This commit is contained in:
+500
-49
@@ -1,11 +1,5 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Rationale&display=swap');
|
||||
|
||||
/* TODO Remove!
|
||||
select[multiple]:focus option:checked {
|
||||
background: #f26723 linear-gradient(0deg, #f26723 0%, #f26723 100%);
|
||||
}
|
||||
*/
|
||||
|
||||
/* Default element overrides */
|
||||
h4 {
|
||||
font-size: 1.2em !important;
|
||||
@@ -55,8 +49,10 @@ p {
|
||||
.sheet-robot,
|
||||
.sheet-ship,
|
||||
.sheet-shipdetails,
|
||||
.sheet-shipcombat,
|
||||
.sheet-shipcrew,
|
||||
.sheet-shipslocker,
|
||||
.sheet-shipsledger,
|
||||
.sheet-shipnotes,
|
||||
.sheet-passengers,
|
||||
.sheet-freight,
|
||||
@@ -130,8 +126,10 @@ p {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.sheet-shiptype[value="shipcombat"] ~ .sheet-shipcombat,
|
||||
.sheet-shiptype[value="shipcrew"] ~ .sheet-shipcrew,
|
||||
.sheet-shiptype[value="shipslocker"] ~ .sheet-shipslocker,
|
||||
.sheet-shiptype[value="shipsledger"] ~ .sheet-shipsledger,
|
||||
.sheet-shiptype[value="shipnotes"] ~ .sheet-shipnotes {
|
||||
display: block;
|
||||
animation-name: slide-in;
|
||||
@@ -222,6 +220,7 @@ p {
|
||||
/* Container styles */
|
||||
div.sheet-tab-content {
|
||||
border: 2px solid #f26723;
|
||||
border-radius: 3px;
|
||||
margin: 2px 2px 5px -5px;
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -281,6 +280,19 @@ input[type="number"]:hover {
|
||||
.sheet-redborder {
|
||||
border: #f26723 solid 1px !important;
|
||||
padding: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.sheet-redborder + .sheet-redborder {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.sheet-redborder > h4 {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-redborder:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.sheet-redborder textarea {
|
||||
@@ -885,6 +897,7 @@ input.sheet-arrow:checked ~ div.sheet-body {
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
border: 1px #f26723 solid;
|
||||
border-radius: 3px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
@@ -898,18 +911,19 @@ input.sheet-hider:checked ~ div.sheet-body {
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
border: 1px #f26723 solid;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
input.sheet-hider:checked ~ div.sheet-laf-gridbody {
|
||||
display: grid;
|
||||
margin-bottom: 2px;
|
||||
/* border: 1px #f26723 solid;*/
|
||||
}
|
||||
|
||||
input.sheet-power:checked ~ div.sheet-laf-gridbody {
|
||||
display: grid;
|
||||
margin-bottom: 2px;
|
||||
border: 1px #f26723 solid;
|
||||
border-radius: 3px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
@@ -1082,7 +1096,7 @@ input.sheet-carried[type="checkbox"]:checked + span::before {
|
||||
/* Sheet crate */
|
||||
/* ------------------*/
|
||||
|
||||
/* Hide actual sheet-arrow checkbox ---- */
|
||||
/* Hide actual sheet-arrow checkbox */
|
||||
input.sheet-crate[type="checkbox"] {
|
||||
opacity: 0;
|
||||
width: 16px;
|
||||
@@ -1163,6 +1177,15 @@ input.sheet-power[type="checkbox"]:checked + span::before {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.sheet-shiptotalpower-field {
|
||||
border: 1px solid #f26723;
|
||||
border-radius: 3px;
|
||||
width: 2.7em;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 5px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
/*----------------------------*/
|
||||
/* Roll Templates */
|
||||
/*----------------------------*/
|
||||
@@ -1251,6 +1274,11 @@ input.sheet-power[type="checkbox"]:checked + span::before {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-alt .sheet-rolltemplate-message > span.inlinerollresult {
|
||||
border: 0 !important;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-alt-combat {
|
||||
color: FireBrick !important;
|
||||
}
|
||||
@@ -1323,8 +1351,10 @@ input.sheet-typeshow[value="animal"] ~ .sheet-type-animal,
|
||||
input.sheet-typeshow[value="robot"] ~ .sheet-type-robot,
|
||||
input.sheet-typeshow[value="ship"] ~ .sheet-type-ship,
|
||||
input.sheet-shiptypeshow[value="shipdetails"] ~ .sheet-type-shipdetails,
|
||||
input.sheet-shiptypeshow[value="shipcombat"] ~ .sheet-type-shipcombat,
|
||||
input.sheet-shiptypeshow[value="shipcrew"] ~ .sheet-type-shipcrew,
|
||||
input.sheet-shiptypeshow[value="shipslocker"] ~ .sheet-type-shipslocker,
|
||||
input.sheet-shiptypeshow[value="shipsledger"] ~ .sheet-type-shipsledger,
|
||||
input.sheet-shiptypeshow[value="shipnotes"] ~ .sheet-type-shipnotes,
|
||||
input.sheet-typeshow[value="vehicle"] ~ .sheet-type-vehicle,
|
||||
input.sheet-vehicletypeshow[value="vehicledetails"] ~ .sheet-type-vehicledetails,
|
||||
@@ -1383,11 +1413,13 @@ input.sheet-tabstoggle[value="notes"] ~ .sheet-but-notes {
|
||||
.sheet-vehiclenotes,
|
||||
.sheet-shipnotes,
|
||||
.sheet-shipslocker,
|
||||
sheet-shipcrew {
|
||||
.sheet-shipsledger,
|
||||
.sheet-shipcrew {
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
span.sheet-shipcomponent {
|
||||
span.sheet-shipcomponent,
|
||||
span.sheet-shipcomponent2 {
|
||||
font-size: 1.2em;
|
||||
height: 24px;
|
||||
padding-left: 5px;
|
||||
@@ -1399,6 +1431,10 @@ span.sheet-shipcomponent {
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
|
||||
span.sheet-shipcomponent2 {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
span.sheet-shipdetail,
|
||||
input.sheet-shipdetail[type="text"] {
|
||||
width: 300px;
|
||||
@@ -1441,6 +1477,20 @@ input.sheet-shiphead {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.sheet-shipsledger_record {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 3fr 0.6fr;
|
||||
}
|
||||
|
||||
.sheet-shipsledger_record > input[type="text"],
|
||||
.sheet-shipsledger_record input[type="number"] {
|
||||
width: 100px !important;
|
||||
}
|
||||
|
||||
.sheet-shipsledger_record > input[type="text"]:nth-of-type(2) {
|
||||
width: 45vw !important;
|
||||
}
|
||||
|
||||
.sheet-critseverity {
|
||||
width: 80px;
|
||||
display: inline-block;
|
||||
@@ -1517,7 +1567,7 @@ button.btn.repcontrol_edit::after {
|
||||
}
|
||||
|
||||
.sheet-speculative-subpanel h4 {
|
||||
margin-left: 0px;
|
||||
margin-left: 3px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
@@ -1603,6 +1653,13 @@ div[data-groupname=repeating_speculative-freight-goods].repcontrol {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-alt:has(.sheet-template-hazard-border) div:before,
|
||||
.sheet-rolltemplate-alt:has(.sheet-template-hazard-border) div:after {
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-alt > .sheet-template-hazard-border,
|
||||
.sheet-hazard-border {
|
||||
border: 5px solid pink;
|
||||
border-image: repeating-linear-gradient(
|
||||
@@ -1647,6 +1704,7 @@ div.sheet-speculativestarport-row {
|
||||
|
||||
.sheet-textright {
|
||||
text-align: right;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.sheet-textright-margin {
|
||||
@@ -1732,7 +1790,7 @@ span.sheet-vehiclecomponent {
|
||||
|
||||
.sheet-uwp-panel {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
column-gap: 5px;
|
||||
}
|
||||
|
||||
@@ -1753,8 +1811,6 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
.sheet-groupfunds {
|
||||
margin-left: auto;
|
||||
margin-right:0;
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1.5fr 1.5fr 0.25fr 3fr;
|
||||
}
|
||||
@@ -1769,6 +1825,12 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
height: 25px !important;
|
||||
}
|
||||
|
||||
.sheet-cargospace {
|
||||
display: grid;
|
||||
grid-template-columns: 1.25fr 1fr 1.5fr 1.5fr;
|
||||
}
|
||||
|
||||
|
||||
/* New styles designated 'laf', a lot of grid stuff used to replace tables */
|
||||
|
||||
.sheet-laf-characteristics {
|
||||
@@ -1780,6 +1842,15 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
column-gap: 10px;
|
||||
}
|
||||
|
||||
.sheet-laf-morale {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 98%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 0.5fr 0.5fr 0.5fr;
|
||||
column-gap: 10px;
|
||||
}
|
||||
|
||||
.sheet-laf-centredgrid {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
@@ -1878,7 +1949,7 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-skillrow-robot {
|
||||
grid-template-columns: 150px 70px 80px 1fr 1fr 1fr 1fr 1fr;
|
||||
grid-template-columns: 150px 80px 80px 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-skillrow button[type="compendium"] {
|
||||
@@ -1929,6 +2000,11 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
.sheet-grid-c6r5 {
|
||||
grid-column: 6;
|
||||
grid-row: 5;
|
||||
}
|
||||
|
||||
.sheet-grid-c8r1 {
|
||||
grid-column: 8;
|
||||
grid-row: 1;
|
||||
@@ -1997,7 +2073,6 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
.sheet-laf-otherwealth {
|
||||
grid-template-columns: 3fr 1fr 3fr;
|
||||
grid-template-rows: none;
|
||||
/* margin-bottom: 3px;*/
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@@ -2089,6 +2164,11 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-armourlist-px {
|
||||
grid-template-columns: 220px 1fr 1.2fr 1.75fr 1.2fr 1fr 1.2fr 0.4fr;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-armourlist input,
|
||||
.sheet-laf-armourlist select {
|
||||
height: 28px !important;
|
||||
@@ -2137,7 +2217,7 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship {
|
||||
grid-template-columns: 2fr 5fr 1fr 5fr 1fr 1fr 1fr;
|
||||
grid-template-columns: 1fr 5fr 1fr 5fr 1fr 5fr 1fr 1fr;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
@@ -2275,7 +2355,7 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
|
||||
.sheet-laf-vehicle-sensors {
|
||||
/* width: 90% !important;*/
|
||||
grid-template-columns: 10fr 0.25fr 0.25fr 0.1fr 5fr;
|
||||
grid-template-columns: 260px 0.25fr 0.25fr 0.1fr 5fr;
|
||||
margin-bottom: 3px;
|
||||
font-size: 1.05em;
|
||||
}
|
||||
@@ -2286,7 +2366,7 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-vehicle-sensors input[type="text"] {
|
||||
width: 300px !important;
|
||||
width: 260px !important;
|
||||
}
|
||||
|
||||
.sheet-laf-vehicle-sensors button {
|
||||
@@ -2333,19 +2413,33 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
/*}*/
|
||||
|
||||
.sheet-laf-ship-components {
|
||||
grid-template-columns: 2fr 3fr 0.5fr 0.5fr 2fr 0.35fr;
|
||||
grid-template-columns: 1.5fr 3.5fr 0.5fr 1fr 1.5fr 0.2fr;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
/*.sheet-laf-ship-components-rep {*/
|
||||
/* grid-template-columns: 1.2fr 2.4fr 0.45fr 0.8fr 1fr;*/
|
||||
/* margin-top: 5px;*/
|
||||
/* margin-right: 2px;*/
|
||||
/*}*/
|
||||
|
||||
/*.sheet-laf-ship-components-rep > input:last-of-type {*/
|
||||
/* margin-right: 5px;*/
|
||||
/* margin-bottom: 2px;*/
|
||||
/*}*/
|
||||
|
||||
.sheet-laf-ship-components > span {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-components-template {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 0.75fr;
|
||||
grid-template-areas: "components components components crew"
|
||||
"components components components runningcosts"
|
||||
"components components components power"
|
||||
"components components components xxx"
|
||||
"components components components xxx"
|
||||
"components components components xxx";
|
||||
grid-template-columns: 4fr 1fr;
|
||||
grid-template-areas: "components crew"
|
||||
"components runningcosts"
|
||||
"components power"
|
||||
"components xxx"
|
||||
"components xxx";
|
||||
}
|
||||
|
||||
.sheet-laf-ship-components-p {
|
||||
@@ -2354,6 +2448,10 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-components-p > div:first-of-type > span {
|
||||
border-bottom: 2px solid #f26723;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-components input {
|
||||
width: 100% !important;
|
||||
margin-top: 2px;
|
||||
@@ -2370,7 +2468,7 @@ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||
|
||||
span.sheet-laf-ship-component-hider {
|
||||
margin-top: -25px;
|
||||
margin-bottom: 10px;
|
||||
/* margin-bottom: 10px;*/
|
||||
}
|
||||
|
||||
input.sheet-laf-ship-component-hider {
|
||||
@@ -2378,23 +2476,42 @@ input.sheet-laf-ship-component-hider {
|
||||
}
|
||||
|
||||
.sheet-laf-ship-component-rep {
|
||||
grid-column: 1 / 6;
|
||||
grid-column: 1 / 7;
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-component-rep .repcontrol {
|
||||
height: 1.5em;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-component-rep .repitem .sheet-laf-ship-components span {
|
||||
/* width: 132px;*/
|
||||
}
|
||||
|
||||
/*.sheet-laf-ship-component-rep .repitem .sheet-laf-ship-components input[type="text"]:first-of-type {*/
|
||||
/* width: 195px !important;*/
|
||||
/* margin-left: 6px;*/
|
||||
/*}*/
|
||||
|
||||
.sheet-laf-ship-component-rep .repitem .sheet-laf-ship-components input[type="text"]:not(:first-of-type) {
|
||||
/* width: 32px;*/
|
||||
}
|
||||
|
||||
.sheet-laf-ship-component-rep2 {
|
||||
grid-column: 1 / 7;
|
||||
grid-column: 1 / 8;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-crew-p {
|
||||
grid-area: crew;
|
||||
width: 175px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-crew-p > textarea {
|
||||
width: 94%;
|
||||
height: 100px !important;
|
||||
}
|
||||
|
||||
/*.sheet-laf-ship-crew-p textarea {*/
|
||||
/* height: 80px;*/
|
||||
/*}*/
|
||||
@@ -2403,25 +2520,20 @@ input.sheet-laf-ship-component-hider {
|
||||
.sheet-laf-ship-runningcosts-p {
|
||||
display: grid;
|
||||
grid-area: runningcosts;
|
||||
font-size: 0.9em;
|
||||
margin-bottom: 3px;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-p h4,
|
||||
.sheet-laf-ship-runningcosts-p h4 {
|
||||
margin-bottom: 15px;
|
||||
font-size: 1em !important;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-p span,
|
||||
.sheet-laf-ship-runningcosts-p span {
|
||||
font-size: 1.4em;
|
||||
font-size: 20px !important;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-p {
|
||||
display: grid;
|
||||
grid-area: power;
|
||||
font-size: 0.9em;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-p input,
|
||||
@@ -2433,6 +2545,7 @@ input.sheet-laf-ship-component-hider {
|
||||
|
||||
.sheet-laf-ship-power-p input[type="number"] {
|
||||
font-size: 1.2em !important;
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-p h5,
|
||||
@@ -2441,6 +2554,72 @@ input.sheet-laf-ship-component-hider {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-p > span:nth-of-type(even),
|
||||
.sheet-laf-ship-power-p .repitem > span {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-combat {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 0.5fr 1fr 0.75fr 0.75fr 0.1fr 0.5fr 2fr 0.5fr 1fr 0.75fr 0.75fr 0.2fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-combat > input[type="number"] {
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-combat > input[type="text"] {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-power-combat-wrapper > .sheet-laf-ship-power-combat > span {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.sheet-power-offline-bg {
|
||||
background: green;
|
||||
}
|
||||
|
||||
.sheet-power-offline {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
label:has(.sheet-power-offline), .sheet-power-offline + label {
|
||||
text-align: center;
|
||||
border: 1px solid #f26723;
|
||||
border-radius: 3px;
|
||||
width: 15px;
|
||||
color: white;
|
||||
background-color: red;
|
||||
font-size: 12px;
|
||||
padding-top: 3px;
|
||||
height: 22px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
label:has(.sheet-power-offline:checked), .sheet-power-offline:checked + label {
|
||||
background-color: green;
|
||||
height: 22px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
label:has(.sheet-power-offline):after, .sheet-power-offline + label:after {
|
||||
font-family: "Pictos";
|
||||
content: 'd';
|
||||
background-color: red;
|
||||
padding-left: 7px;
|
||||
height: 22px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
label:has(.sheet-power-offline:checked):after,
|
||||
.sheet-power-offline:checked + label:after {
|
||||
font-family: "Pictos";
|
||||
content: 'f';
|
||||
background-color: green;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.sheet-laf-width-99 {
|
||||
width: 99% !important;
|
||||
}
|
||||
@@ -2463,7 +2642,43 @@ input.sheet-laf-ship-component-hider {
|
||||
grid-template-columns: 1fr 1fr 3fr 1fr 2fr 0.25fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-hulldamage span {
|
||||
.sheet-laf-ship-combat-bandwidth {
|
||||
padding-top: 5px;
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 0.5fr 0.5fr 0.1fr 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr 0.5fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-bandwidth > span {
|
||||
text-align: right;
|
||||
margin-right: 3px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-bandwidth > span:nth-of-type(5) {
|
||||
border: #f26723 solid 1px !important;
|
||||
border-radius: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 0;
|
||||
text-align: left;
|
||||
padding-left: 3px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-software {
|
||||
display: grid;
|
||||
column-gap: 10px;
|
||||
grid-template-columns: 1fr 2fr 1fr 1fr 0.5fr 5fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-software > input[type="text"] {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-status {
|
||||
grid-template-columns: 1fr 0.5fr 1fr 0.75fr 0.75fr 2fr 1fr 0.5fr 1fr 0.5fr 1fr 0.75fr 0.75fr 0.1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-status span {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@@ -2472,19 +2687,246 @@ input.sheet-laf-ship-component-hider {
|
||||
margin-left: -5px !important;
|
||||
}
|
||||
|
||||
.sheet-shipcombat-pilot-panel,
|
||||
.sheet-shipcombat-engineer-panel,
|
||||
.sheet-shipcombat-computer-panel,
|
||||
.sheet-shipcombat-sensor-panel,
|
||||
.sheet-shipcombat-gunners-panel {
|
||||
display: block;
|
||||
animation-name: slide-in;
|
||||
animation-duration: 1s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input.sheet-shipcombat-pilot-toggle,
|
||||
input.sheet-shipcombat-engineer-toggle,
|
||||
input.sheet-shipcombat-computer-toggle,
|
||||
input.sheet-shipcombat-sensor-toggle,
|
||||
input.sheet-shipcombat-gunners-toggle {
|
||||
height: 20px !important;
|
||||
width: 20px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
h3:has(input.sheet-shipcombat-pilot-toggle:not(:checked)) ~ .sheet-shipcombat-pilot-panel,
|
||||
h3:has(input.sheet-shipcombat-engineer-toggle:not(:checked)) ~ .sheet-shipcombat-engineer-panel,
|
||||
h3:has(input.sheet-shipcombat-computer-toggle:not(:checked)) ~ .sheet-shipcombat-computer-panel,
|
||||
h3:has(input.sheet-shipcombat-sensor-toggle:not(:checked)) ~ .sheet-shipcombat-sensor-panel,
|
||||
h3:has(input.sheet-shipcombat-gunners-toggle:not(:checked)) ~ .sheet-shipcombat-gunners-panel {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/*.sheet-resetbutton {*/
|
||||
/* font-family: "Pictos";*/
|
||||
/* color: #f26723;*/
|
||||
/* font-size: 0.8em;*/
|
||||
/* margin-left: -1px;*/
|
||||
/* margin-top: 3px;*/
|
||||
/*}*/
|
||||
|
||||
.sheet-laf-ship-thrust-panel {
|
||||
margin-bottom: 3px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel > span {
|
||||
width: 80px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel > select {
|
||||
width: fit-content;
|
||||
margin-right: 10px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel > table {
|
||||
width: 100%;
|
||||
grid-column: 1/5;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel > div > table td {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel td .label-checkbox {
|
||||
/* cursor: pointer; */
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel td .label-checkbox.label-checkbox-disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel td .label-checkbox.label-checkbox-disabled span {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel td .label-checkbox input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel td .label-checkbox span {
|
||||
padding: 5px 6px;
|
||||
border: 1px solid #f26723;
|
||||
display: inline-block;
|
||||
color: #202020;
|
||||
border-radius: 3px;
|
||||
background: #f5f5f5;
|
||||
user-select: none;
|
||||
width: 15px;
|
||||
text-align: center;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-thrust-panel td .label-checkbox input:checked + span {
|
||||
box-shadow: inset 1px 2px 5px #777;
|
||||
transform: translateY(1px);
|
||||
background: #f26723;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticaldamage {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 10fr 1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticaldamage > span {
|
||||
text-align: right;
|
||||
margin-top: 5px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticaldamage > span > span {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticaldamage > input,
|
||||
.sheet-laf-ship-criticaldamage > button {
|
||||
margin-top: 3px !important;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticaldamage > span:nth-of-type(3),
|
||||
.sheet-laf-ship-criticaldamage > span:nth-of-type(5) {
|
||||
text-align: left;
|
||||
margin-left: 5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit-cb {
|
||||
grid-column: 8;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit {
|
||||
grid-template-columns: 1fr 0.5fr 0.2fr 0.1fr 4fr 0.05fr 0.15fr;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit > input[type="text"] {
|
||||
grid-column: 2/10;
|
||||
width: 99.2%;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit > span {
|
||||
font-size: 1.1em;
|
||||
display:inline-table;
|
||||
height: 28px;
|
||||
max-height: 100px;
|
||||
padding: 0;
|
||||
padding-left: 3px;
|
||||
margin-bottom: 3px;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit > span:nth-of-type(4) {
|
||||
width: 400px;
|
||||
font-size: 15px;
|
||||
height: 26px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit > span:not(.sheet-redborder) {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit > select {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-criticalhit.sheet-redborder {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-skills-px {
|
||||
grid-template-columns: 391px 60px 57px 63px 61px;
|
||||
margin-bottom: 3px;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-skills {
|
||||
grid-template-columns: 400px 1.5fr 1.75fr 1.8fr 24px 1fr;
|
||||
margin-bottom: 3px;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-skills > input[type="text"] {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-skills > button > .sheet-weaponrollbutton {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-skills > div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combat-skills > div > input[type="text"] {
|
||||
width: 250px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
.sheet-laf-ship-combat-skills > div > input[type="text"]:nth-of-type(2) {
|
||||
width: 45px;
|
||||
}
|
||||
|
||||
.sheet-hardpoints-ref {
|
||||
background-color: cyan;
|
||||
}
|
||||
|
||||
.repitem:not(:first-child) > .sheet-laf-ship-hardpoint > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-hardpoint {
|
||||
column-gap: 3px;
|
||||
margin-top: 3px !important;
|
||||
background-color: lightgray;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr 1fr 0.5fr 0.5fr 0.5fr 0.1fr;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr 1fr 0.5fr 0.5fr 0.5fr 0.5fr 0.1fr 0.1fr;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-hardpoint-abs {
|
||||
grid-template-columns: 85px 120px 4em 4em 89px 60px 4em 85px 3em 2.1em
|
||||
}
|
||||
|
||||
.sheet-laf-ship-hardpoint > label {
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-hardpoint input,
|
||||
.sheet-laf-ship-hardpoint-px input {
|
||||
width: 120px
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-hardpoint span {
|
||||
@@ -2508,11 +2950,11 @@ input.sheet-laf-ship-component-hider {
|
||||
}
|
||||
|
||||
.sheet-laf-ship-costtext {
|
||||
width: 70px !important;
|
||||
width: 90px !important;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-rangetext {
|
||||
width: 50px !important;
|
||||
width: 80px !important;
|
||||
}
|
||||
|
||||
.sheet-laf-ship-combattext {
|
||||
@@ -2520,7 +2962,7 @@ input.sheet-laf-ship-component-hider {
|
||||
}
|
||||
|
||||
.sheet-laf-ship-traitstext {
|
||||
width: 120px !important;
|
||||
width: 85px !important;
|
||||
}
|
||||
|
||||
.sheet-laf-custom-characteristics {
|
||||
@@ -2621,12 +3063,21 @@ input.sheet-laf-ship-component-hider {
|
||||
grid-template-columns: 2fr 1fr 1fr;
|
||||
}
|
||||
|
||||
/*.sheet-power-detail input:first-child {*/
|
||||
/* width: 40% !important;*/
|
||||
/*}*/
|
||||
|
||||
.sheet-power-detail span:nth-child(2) {
|
||||
text-align: right;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.sheet-power-rating {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
.sheet-power-rating-variable {
|
||||
background-color: lightgoldenrodyellow;
|
||||
}
|
||||
|
||||
.sheet-power-rating-error {
|
||||
background-color: #ff6666;
|
||||
}
|
||||
|
||||
.sheet-wide-button {
|
||||
|
||||
+5547
-2816
File diff suppressed because it is too large
Load Diff
@@ -122,5 +122,11 @@ This is the Official Mongoose Traveller 2nd Edition Character Sheet
|
||||
### Version 1.1.09
|
||||
- Added custom Characteristics to NPC to allow values for Attitude, Influence, Power etc. to be captured
|
||||
|
||||
### Version 1.1.10
|
||||
- Fixed rounding error on carry capacity
|
||||
- Addition of Ship's Ledger
|
||||
- Addition of highly detailed Ship Combat tab (with help from Roll20 member and superstar TrooperSJP)
|
||||
- Fix to Robot parsing on drag'n'drop
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
"intellect-u": "Intellect",
|
||||
"education-u": "Education",
|
||||
"social-u": "Social",
|
||||
"morale-u": "Morale",
|
||||
"shipmorale-u": "Ship Morale",
|
||||
"prime-u": "Prime",
|
||||
"name-u": "Name",
|
||||
"role-u": "Role",
|
||||
@@ -73,6 +75,7 @@
|
||||
"skillpsionicschecktime-u": "Check Time",
|
||||
"reach-u": "Reach",
|
||||
"skilltableroll-u": "Roll",
|
||||
"bonuspenalty-u": "Bonus/Penalty",
|
||||
"equipmenttitle-u": "Equipment",
|
||||
"geartitle-u": "Gear",
|
||||
"totalgearweight-u": "Total Gear Weight",
|
||||
@@ -145,34 +148,35 @@
|
||||
"yes-u": "Yes",
|
||||
"no-u": "No",
|
||||
"rolltype-u": "Roll Type: ",
|
||||
"modprompt-u": "Modifier: ",
|
||||
"modprompt-u": "Modifier",
|
||||
"settings-u": "Settings: ",
|
||||
"mod_default-Q": "Ask for modifier?",
|
||||
"mod_default-D": "Yes prompts for a modifier on every roll, No never prompts for a modifier, Toggle displays Yes/No buttons.",
|
||||
"shipname-u": "Ship Name",
|
||||
"shipname-u": "Name",
|
||||
"shiptype-u": "Type",
|
||||
"shipclass-u": "Class",
|
||||
"shiptl-u": "TL",
|
||||
"shipcomponent-u": "Component",
|
||||
"shipdetail-u": "Detail",
|
||||
"shiptons-u": "Tons",
|
||||
"shipcost-u": "Cost (MCr)",
|
||||
"shipbonpen-u": "Bonus/Penalty",
|
||||
"shiphull-u": "Hull",
|
||||
"shiparmour-u": "Armour",
|
||||
"shipmdrive-u": "M-Drive",
|
||||
"shipjdrive-u": "J-Drive",
|
||||
"shippower-u": "Power Plant",
|
||||
"shipfuel-u": "Fuel Tanks",
|
||||
"shipfuel-u": "Fuel",
|
||||
"shipbridge-u": "Bridge",
|
||||
"shipcomputer-u": "Computer",
|
||||
"shipsensors-u": "Sensors",
|
||||
"shipthrust-u": "Thrust",
|
||||
"hardpoint-u": "Hardpoint",
|
||||
"sensormod-u": "Sensor Mod",
|
||||
"playermod-u": "Player Mod",
|
||||
"shipweapons-u": "Weapons",
|
||||
"shipammunition-u": "Ammunition",
|
||||
"shipweapons-u": "Weapon",
|
||||
"shipammunition-u": "Ammo",
|
||||
"shipscreens-u": "Screens",
|
||||
"shiparmouredbulkheads-u": "Armoured B'heads",
|
||||
"shiparmouredbulkheads-u": "Arm'r'd B'heads",
|
||||
"shipcommonareas-u": "Common Areas",
|
||||
"shipcraft-u": "Craft",
|
||||
"shipsystems-u": "Systems",
|
||||
@@ -182,6 +186,7 @@
|
||||
"shipcargo-u": "Cargo",
|
||||
"shiptotal-u": "TOTAL",
|
||||
"salary-u": "Salary Cr",
|
||||
"gunnername-u": "Gunner Name",
|
||||
"gunnerskill-u": "Gunner Skill",
|
||||
"dexmod-u": "DEX Mod",
|
||||
"custommod-u": "Custom Mod",
|
||||
@@ -196,6 +201,7 @@
|
||||
"hullpoints-u": "Hull Points",
|
||||
"hullpointsmax-u": "Max",
|
||||
"hullpointscurr-u": "Current",
|
||||
"powerpoints-u": "Power",
|
||||
"hullcritdam-u": "Critical Damage",
|
||||
"hulllocations-u": "Location",
|
||||
"hullcritlevel-u": "Severity",
|
||||
|
||||
Reference in New Issue
Block a user