diff --git a/The One Ring 2e/release-notes.md b/The One Ring 2e/release-notes.md index fcc7e22796..10c5d2c067 100644 --- a/The One Ring 2e/release-notes.md +++ b/The One Ring 2e/release-notes.md @@ -4,6 +4,10 @@ This is a rewrite based on the early 2e (basic) and 1e edition that also include # Release History +## 03.03.00 (Build 23) + +- added Useful item + ## 03.02.00 (Build 22) - target attacks calculate priercing blow correctly diff --git a/The One Ring 2e/sheet.css b/The One Ring 2e/sheet.css index 16fb867c7d..04c5820340 100644 --- a/The One Ring 2e/sheet.css +++ b/The One Ring 2e/sheet.css @@ -60,7 +60,8 @@ } /* Generic element styles */ -.charsheet :is(h1, h2, h3) { +.charsheet :is(h1, h2, h3), +.charsheet #gearoritems_toggle { font-family: 'Uncial Antiqua', "Palatino Linotype", "Book Antiqua", Palatino, serif, sans-serif; font-weight: normal; line-height: 1; @@ -71,12 +72,14 @@ text-align: center; } -.charsheet :is(h2, h3) { +.charsheet :is(h2, h3), +.charsheet #gearoritems_toggle { color: var(--gray); font-weight: lighter; } -.charsheet h2 { +.charsheet h2, +.charsheet #gearoritems_toggle { font-size: small; } @@ -507,10 +510,6 @@ width: 100%; } -.charsheet #gear { - grid-area: gear; -} - .charsheet #rewards { grid-area: rewa; } @@ -555,16 +554,19 @@ background: black; } -/* NEW Valour and Wisdom */ +/* Virtues and Rewards */ .charsheet :is(#virtues, #rewards) h2 { text-align: left; text-indent: 15px; } -.charsheet :is(#virtues, #rewards, #gear) div { +.charsheet :is(#virtues, #rewards) div { display: flex; flex-wrap: nowrap; justify-content: end; +} + +.charsheet :is(#virtues, #rewards) div { margin-top: -25px; } @@ -580,11 +582,80 @@ text-align: center; } -.charsheet #gear .diamond-small-red { - opacity: 0; + +.charsheet #gear { + grid-area: gear; + display: block; } -/* End Valour and Wisdom */ +.charsheet #gearoritems_toggle[name="attr_gearoritems"] { + border: none; + margin-bottom: 8px; +} + +.charsheet #gear-nested, +.charsheet #items-nested { + display: none; +} + +.charsheet .gearoritems_toggle[value="1"]~#gear-nested { + display: block; +} + +.charsheet .gearoritems_toggle[value="2"]~#items-nested { + display: block; +} + +.charsheet #items-row { + display: grid; + grid-template-columns: auto min-content min-content; + grid-template-rows: min-content; + column-gap: 2px; + justify-items: left; + width: 100%; +} + +.charsheet #items-row input[type="text"] { + padding: 0px 0px 0px 5px; + width: 100%; +} + +.charsheet #items-row select { + appearance: none; +} + +.charsheet #items-row label { + padding: 0px 5px 0px 5px; +} + +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_edit, +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_add { + visibility: hidden; + margin-left: -5px; + padding: 0px 5px 0px 5px; + width: 5px; +} + +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_add::before, +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_edit::before { + visibility: visible; + color: grey; + font-family: "Pictos"; +} + +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_add::before { + content: "&"; +} + +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_edit::before { + content: "("; +} + +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_add, +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_edit, +.charsheet .repcontrol[data-groupname=repeating_items] button.repcontrol_move { + float: right; +} .charsheet #experience { grid-area: expe; diff --git a/The One Ring 2e/sheet.html b/The One Ring 2e/sheet.html index 27d2e008ec..a0d95469cf 100644 --- a/The One Ring 2e/sheet.html +++ b/The One Ring 2e/sheet.html @@ -1,4 +1,4 @@ - + @@ -64,11 +64,73 @@