diff --git a/GURPS/gurps.css b/GURPS/gurps.css index 8ef193e8b9..9594984c58 100644 --- a/GURPS/gurps.css +++ b/GURPS/gurps.css @@ -3516,14 +3516,18 @@ input[name="attr_inventory_item_carried"][value="1"] ~ span.sheet-item-weight-to } -input[type="hidden"][name="attr_show_roll_modifiers"] ~ .sheet-modal { - display: none; -} - -input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal { +/* activate :before to prevent access to lower elements */ +input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal:before { display: block; } +/* move the model dialog into place */ +input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal .sheet-modal-dialog { + transform: translate(0, 0); + top: 20%; +} + +/* when active disable elements underneath this box */ .sheet-modal:before { content: ""; display: none; @@ -3533,12 +3537,10 @@ input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal left: 0; right: 0; bottom: 0; - z-index: 10; + z-index: 20; } .sheet-modal-dialog { - transform: translate(0, 0); - top: 20%; background: #fefefe; border: #333333 solid 0px; border-radius: 5px; @@ -3546,21 +3548,26 @@ input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal text-align:center; position: fixed; left: 50%; - z-index: 11; + top: -100%; + z-index: 21; width: 800px; box-shadow:0 5px 10px rgba(0,0,0,0.3); + transform: translate(0, -500%); transition: transform 0.3s ease-out; } .sheet-modal-body { - padding: 20px; + padding: 0 10px 10px 10px; } -.sheet-modal-header, -.sheet-modal-footer { - padding: 10px 20px; +.sheet-modal-header { + padding: 0 10px 0 10px; } - + +.sheet-modal-footer { + padding: 0 10px 10px 10px; +} + .sheet-modal-header { border-bottom: #eeeeee solid 1px; } @@ -3577,10 +3584,9 @@ input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal .sheet-modal-body .sheet-container { display: grid; grid-template-columns: auto auto auto auto auto; - grid-gap: 5px; - padding: 5px; + grid-gap: 2px; + padding: 2px; justify-content: start; - align-items: center; } .sheet-modal-body .sheet-container > div { @@ -3588,16 +3594,17 @@ input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal text-align: left; } -.sheet-modal-body .sheet-container .sheet-item.sheet-item8-10 { - grid-column-start: span 3; -} - .sheet-modal-body .sheet-container .sheet-item.sheet-full-width { grid-column-start: 1; grid-column-end: 6; text-align: left; } +.sheet-modal-body .sheet-container .sheet-item.sheet-item2-5 { + grid-column-start: 2; + grid-column-end: 6; +} + .sheet-modal-body .sheet-container .sheet-item label { font-weight: normal; font-size: inherit; @@ -3610,8 +3617,12 @@ input[type="hidden"][name="attr_show_roll_modifiers"][value="1"] ~ .sheet-modal margin-right: 5px; } -.sheet-modal-body .sheet-container .sheet-item .sheet-number-only-width { - width: 3.5em; +.sheet-modal-body .sheet-container .sheet-item select { + width: 100%; +} + +.sheet-modal-body .sheet-container .sheet-item select.sheet-number-only-width { + width: 4em; } /* button styles */ diff --git a/GURPS/gurps.html b/GURPS/gurps.html index e8fe561f7d..15c8d91496 100644 --- a/GURPS/gurps.html +++ b/GURPS/gurps.html @@ -63,369 +63,579 @@ Select a visual style for the character sheet. - - -
+ + + + + diff --git a/GURPS/translation.json b/GURPS/translation.json index e8d5358ac7..1d7f56d98a 100644 --- a/GURPS/translation.json +++ b/GURPS/translation.json @@ -35,7 +35,7 @@ "sheet-style-option": "Sheet Style", "sheet-style-desc": "Select a visual style for the character sheet.", "roll-modifiers-heading": "Roll Modifiers", - "to-roll-label": "To Roll", + "total-roll-modifier-label": "Total Modifier", "max-skill-9-label": "Max skill of 9", "shock-label": "Shock", "custom-modifier-label": "Custom Mod", @@ -62,6 +62,21 @@ "know-location-tooltip": "If the foe is in a single smoke-filled hex or the like, no Hearing roll is required and the attack penalty is only -4. Roll for random hit location. Max Skill is 9. B394.", "fog-label": "Fog", "blur-label": "Blur", + "task-modifiers-title": "Task Modifiers", + "task-difficulty-label": "Task Difficulty", + "task-difficulty-tooltip": "See B345 for full description.", + "extra-time-label": "Extra Time", + "extra-time-tooltip": "Working slowly and deliberately on a noncombat task. See B346.", + "haste-label": "Haste", + "haste-tooltip": "Hurrying the noncombat task. See B346.", + "unfamiliar-culture-label": "Unfamiliar Culture: -3", + "unfamiliar-culture-tooltip": "-3 to skill with a significant cultural component; Carousing, Connoisseur, Criminology, Dancing, Detect Lies, Diplomacy, Fast-Talk, Games, Gesture, etc. See B23.", + "language-modifier-label": "Language Modifier", + "language-modifier-tooltip": "Based on comprehension, use Task Difficulty for additional modifiers like bad phone connection. See B24.
Language skills: Fast-Talk, Public Speaking, Research, Speed-Reading, teaching, and Writing.
Artistic Skills: Poetry, Singing, etc.", + "iq-tech-level-modifier-label": "IQ Tech Level Modifier", + "iq-tech-level-modifier-tooltip": "IQ-Based skills. When you work with equipment or concepts of a TL different from your own skill, you suffer a penalty. See B168.", + "non-iq-tech-level-modifier-label": "Non IQ Tech Level Modifier", + "non-iq-tech-level-modifier-tooltip": "Non IQ-Based skills. Flat penalty of -1 per TL difference. See B168.", "announcements": "Announcements", "sheet-version-title": "GURPS Character Sheet Version:", "hide-until-next-update": "Hide until next update",