diff --git a/GURPS/gurps.css b/GURPS/gurps.css index 997b59fedc..d9fe8053db 100644 --- a/GURPS/gurps.css +++ b/GURPS/gurps.css @@ -804,6 +804,29 @@ input.sheet-tab0 + span { height: 100%; } +/* show/hide Row ID: based on drop-down selection */ +.sheet-melee-notebox input[name="attr_melee_row_type"][value="ST"] ~ .sheet-show-hide-row-id, +.sheet-melee-notebox input[name="attr_melee_row_type"][value="STRIKING"] ~ .sheet-show-hide-row-id, +.sheet-melee-notebox input[name="attr_melee_row_type"][value="DX"] ~ .sheet-show-hide-row-id, +.sheet-melee-notebox input[name="attr_melee_row_type"][value="IQ"] ~ .sheet-show-hide-row-id, +.sheet-melee-notebox input[name="attr_melee_row_type"][value="HT"] ~ .sheet-show-hide-row-id, +.sheet-melee-notebox input[name="attr_melee_row_type"][value="10"] ~ .sheet-show-hide-row-id { + display: none; +} + +.sheet-melee-notebox .sheet-margin-right { + margin-right: 5px; +} + +.sheet-ranged-notebox input[name="attr_ranged_row_type"][value="ST"] ~ .sheet-show-hide-row-id, +.sheet-ranged-notebox input[name="attr_ranged_row_type"][value="STRIKING"] ~ .sheet-show-hide-row-id, +.sheet-ranged-notebox input[name="attr_ranged_row_type"][value="DX"] ~ .sheet-show-hide-row-id, +.sheet-ranged-notebox input[name="attr_ranged_row_type"][value="IQ"] ~ .sheet-show-hide-row-id, +.sheet-ranged-notebox input[name="attr_ranged_row_type"][value="HT"] ~ .sheet-show-hide-row-id, +.sheet-ranged-notebox input[name="attr_ranged_row_type"][value="10"] ~ .sheet-show-hide-row-id { + display: none; +} + /* .sheet-box .sheet-row-details2:hover, .sheet-box .sheet-row:hover + .sheet-row-details2 { display: block !important; } @@ -1688,13 +1711,25 @@ input[type="checkbox"][name="attr_toggle_turn_deceleration"]:not(:checked) ~ div background: var(--header-bg); } -.sheet-traits .sheet-col0 { width: calc(100% - 137px); } +.sheet-traits .sheet-col0 { width: calc(100% - 169px); } + .sheet-traits .sheet-col0 input { text-align:left; } -.sheet-traits .sheet-col1 { width: 25px; } +.sheet-traits .sheet-col1 { width: 28px; } .sheet-traits .sheet-col2 { width: 22px; } .sheet-traits .sheet-col3 { width: 30px; } .sheet-traits .sheet-col4 { width: 60px; } -.sheet-traits .sheet-row-stats .sheet-col0 { margin-left: 20px; width: calc(100% - 157px); } +.sheet-traits .sheet-row-stats .sheet-col0 { + margin-left: 20px; + width: calc(100% - 191px); +} + +.sheet-traits.sheet-perks-disadvantages .sheet-col0 { + width: calc(100% - 140px); +} + +.sheet-traits.sheet-perks-disadvantages .sheet-row-stats .sheet-col0 { + width: calc(100% - 161px); +} /* -- show/hide die for FOA roll -- */ .sheet-row-stats button[name="roll_vsAFOA"] { @@ -1740,13 +1775,13 @@ input[type="checkbox"][name="attr_toggle_turn_deceleration"]:not(:checked) ~ div background: var(--header-bg); } -.sheet-disadvantages .sheet-col0 { width: calc(100% - 137px); } +.sheet-disadvantages .sheet-col0 { width: calc(100% - 168px); } .sheet-disadvantages .sheet-col0 input { text-align:left; } -.sheet-disadvantages .sheet-col1 { width: 25px; } +.sheet-disadvantages .sheet-col1 { width: 28px; } .sheet-disadvantages .sheet-col2 { width: 22px; } .sheet-disadvantages .sheet-col3 { width: 30px; } .sheet-disadvantages .sheet-col4 { width: 60px; } -.sheet-disadvantages .sheet-row-stats .sheet-col0 { margin-left: 20px; width: calc(100% - 157px); } +.sheet-disadvantages .sheet-row-stats .sheet-col0 { margin-left: 20px; width: calc(100% - 189px); } /* -- show/hide die for Control roll -- */ .sheet-row-stats button[name="roll_vsDSCR"] { @@ -1798,14 +1833,14 @@ input[type="checkbox"][name="attr_toggle_turn_deceleration"]:not(:checked) ~ div background: var(--header-bg); } -.sheet-racial .sheet-col0 { width: calc(100% - 137px); } +.sheet-racial .sheet-col0 { width: calc(100% - 168px); } .sheet-racial .sheet-col0 input { text-align:left; } .sheet-racial .sheet-col-race { - width: calc(100% - 157px); + width: calc(100% - 188px); margin-left: 20px; } @@ -1815,11 +1850,13 @@ input[type="checkbox"][name="attr_toggle_turn_deceleration"]:not(:checked) ~ div } -.sheet-racial .sheet-col1 { width: 25px; } +.sheet-racial .sheet-col1 { width: 28px; } .sheet-racial .sheet-col2 { width: 22px; } .sheet-racial .sheet-col3 { width: 30px; } .sheet-racial .sheet-col4 { width: 60px; } -.sheet-racial .sheet-row-stats .sheet-col0 { margin-left: 20px; width: calc(100% - 157px); } +.sheet-racial .sheet-row-stats .sheet-col0 { + margin-left: 20px; + width: calc(100% - 188px); } /* -- if edit mode, hide toggle notes -- */ .sheet-racial .repcontainer.ui-sortable.editmode .sheet-checkbox, @@ -2279,6 +2316,15 @@ input.sheet-box-techniques-new[value="0"] + div.sheet-techniques-revised { background: #B7FFAA; } +/* show/hide row id */ +.sheet-technique-notebox input[name="attr_technique_row_type"][value="ST"] ~ .sheet-show-hide-row-id, +.sheet-technique-notebox input[name="attr_technique_row_type"][value="STRIKING"] ~ .sheet-show-hide-row-id, +.sheet-technique-notebox input[name="attr_technique_row_type"][value="DX"] ~ .sheet-show-hide-row-id, +.sheet-technique-notebox input[name="attr_technique_row_type"][value="IQ"] ~ .sheet-show-hide-row-id, +.sheet-technique-notebox input[name="attr_technique_row_type"][value="HT"] ~ .sheet-show-hide-row-id, +.sheet-technique-notebox input[name="attr_technique_row_type"][value="10"] ~ .sheet-show-hide-row-id { + display: none; +} /* -- COMBAT -- */ .sheet-active-defense { width: calc(100% - 140px - 0.8em); } @@ -3163,7 +3209,7 @@ input[name="attr_inventory_item_carried"][value="1"] ~ span.sheet-item-weight-to .sheet-rolltemplate-skillRoll .sheet-container table.sheet-result td.sheet-subhead { padding: 4px; border-bottom: 1px solid black; - background-color: var(--box-bg); + background: var(--box-bg); font-size: 12px; font-weight: bold; } @@ -3194,11 +3240,11 @@ input[name="attr_inventory_item_carried"][value="1"] ~ span.sheet-item-weight-to } .sheet-rolltemplate-skillRoll .sheet-container table.sheet-result tr:nth-child(odd) { - background-color: var(--odd-row-bg); + background: var(--odd-row-bg); } .sheet-rolltemplate-skillRoll .sheet-container table.sheet-result tr:nth-child(even) { - background-color: var(--row-bg); + background: var(--row-bg); } .sheet-rolltemplate-skillRoll .sheet-container table.sheet-result span.sheet-success .inlinerollresult { diff --git a/GURPS/gurps.html b/GURPS/gurps.html index 944f5990a6..79bad62da8 100644 --- a/GURPS/gurps.html +++ b/GURPS/gurps.html @@ -79,6 +79,7 @@ +
@@ -97,12 +98,9 @@ @@ -2721,6 +2719,14 @@ normal TL.
Advantages
+
+ + + Level of the trait. + +