From 1fff2bdcb550c9b5cc14cf3fd7d244fb9ef627a8 Mon Sep 17 00:00:00 2001 From: Stephanie Bryant <38018371+stephanieroll20@users.noreply.github.com> Date: Mon, 11 Feb 2019 15:43:47 -0800 Subject: [PATCH] Raspberry Heaven QOL, OneDice New Sheet (#4689) * QoL improvements Added placeholders with styling and removed crit/fail from roll template * New Sheet: OneDice Universal New Character Sheet for OneDice Universal. * OneDice: Fixed Defence stat dropdown * Translation.json fix Removed blank strings and fixed a tag in the html. --- OneDice/onedice.css | 316 ++++++++++++++++++++++++++ OneDice/onedice.html | 191 ++++++++++++++++ OneDice/onedice.png | Bin 0 -> 75383 bytes OneDice/sheet.json | 8 + OneDice/translation.json | 43 ++++ Raspberry Heaven/raspberryheaven.html | 2 +- Raspberry Heaven/translation.json | 3 +- 7 files changed, 560 insertions(+), 3 deletions(-) create mode 100644 OneDice/onedice.css create mode 100644 OneDice/onedice.html create mode 100644 OneDice/onedice.png create mode 100644 OneDice/sheet.json create mode 100644 OneDice/translation.json diff --git a/OneDice/onedice.css b/OneDice/onedice.css new file mode 100644 index 0000000000..c0969ab7a0 --- /dev/null +++ b/OneDice/onedice.css @@ -0,0 +1,316 @@ +button[type=roll].sheet-spellroll::before { + content: 'f'; + font-family:dicefontd6; +} + +input[type=number].sheet-statfield { + font-size:20pt; + border-bottom:1px solid black; + height:50px; + width: 60px; +} + +input[type=text], select { + border-bottom:1px solid; + border-top:0px; + border-left:0px; + border-right:0px; +} + +input[type=number] { + border-bottom:1px solid; + border-top:0px; + border-left:0px; + border-right:0px; +} + +input[type="text"].sheet-armor { + width:180px; +} + +.sheet-armor,.sheet-armorbonus { + display:inline-block; +} + +.sheet-armor { + width:180px; +} + +.sheet-armorbonus { + width:40px; +} + +div { + padding:2px; + font-family:Arial,sans-serif; + font-size:10pt; +} + +.sheet-heading { + font-family:Candal; + font-weight:bold; + font-style:italic; + font-size:14pt; + text-align:center; +} + +.sheet-label { + font-weight:bold; + font-family:Candal,sans-serif; + font-size:10pt; +} + +.sheet-statlabel { + font-weight:bold; + font-style:italic; + font-family:Candal; +} + +.sheet-sublabel { + font-style:italic; + font-weight:bold; +} + +.sheet-descinput { + width: 90%; + height: 90%; +} + +.sheet-spellname { + width:120px; + display:inline-block; +} + +.sheet-spelldesc { + width:140px; + display:inline-block; + +} + +.sheet-spellrange { + width:45px; + display:inline-block; + +} + +.sheet-spelltarget { + width:50px; + display:inline-block; + +} + +.sheet-spelldamage { + width:40px; + display:inline-block +} + +.sheet-spellroll { + width:40px; + display:inline-block; + +} + + +.sheet-skillname { + width:180px; + display:inline-block; +} +.sheet-skillpoints { + width:50px; + display:inline-block; +} +.sheet-skillability{ + width:70px; + display:inline-block; +} + +.sheet-weaponname { + width:180px; + display:inline-block; +} + +.sheet-weaponability { + width:70px; + display:inline-block; +} + +.sheet-weaponskill { + width:70px; + display:inline-block; +} + +.sheet-weapondamage { + width:100px; + display:inline-block; +} + +.sheet-hideme { + display:none; +} + +.sheet-equipmentname { + width:240px; + display:inline-block; +} + +.sheet-equipmentlocation { + width:200px; + display:inline-block; +} + +.sheet-footnote { + font-size:9pt; + color:#737373; +} + + +.sheet-rolltemplate-rolloutput .sheet-template-header { + font-weight:bold; + background-color:#D9A3E0; + min-height:20pt; +} + +.sheet-rolltemplate-rolloutput .sheet-template-row { + background-color:#ffffff; + min-height: 14pt; +} + +.sheet-rolltemplate-rolloutput .sheet-rolltemplate-container { + border: 1px solid #737373; +} + +.sheet-rolltemplate-rolloutput .inlinerollresult { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-rolloutput .inlinerollresult.fullfail { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-rolloutput .inlinerollresult.fullcrit { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-spelloutput .sheet-template-header { + font-weight:bold; + background-color:#D9A3E0; + min-height:20pt; +} + +.sheet-rolltemplate-spelloutput .sheet-template-row { + background-color:#ffffff; + min-height: 14pt; +} + +.sheet-rolltemplate-spelloutput .sheet-rolltemplate-container { + border: 1px solid #737373; +} + +.sheet-rolltemplate-spelloutput .inlinerollresult { + background-color: #ffffff; + border: none; + font-weight:normal; +} + +.sheet-rolltemplate-spelloutput .inlinerollresult.fullfail { + background-color: #ffffff; + border: none; + font-weight:bold; + color: red; +} + +.sheet-rolltemplate-spelloutput .inlinerollresult.fullcrit { + background-color: #ffffff; + border: none; + font-weight:normal; +} + + +.sheet-layout { + display:grid; + grid-template-columns: 32% 32% 32%; + grid-gap: 5px; + min-width:450px; +} + +.sheet-layoutabilities { + grid-column-start:1; + grid-column-end:2; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutcells { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:2; + grid-column-end:3; +} + +.sheet-layoutbg { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:3; + grid-column-end:4; + grid-row-start:1; + grid-row-end:4; +} + +.sheet-layoutsan { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:3; + grid-column-end:4; + grid-row-start:3; + grid-row-end:4; +} + +.sheet-layoutmagic { + background-color:#ffffff; + border: 1px solid #737373; + grid-column-start:1; + grid-column-end:2; +} + +.sheet-layoutspells { + grid-column-start:2; + grid-column-end:4; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutskills { + grid-column-start:1; + grid-column-end:3; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutweapons { + grid-column-start:1; + grid-column-end:3; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutequipment { + grid-column-start:1; + grid-column-end:3; + background-color:#ffffff; + border: 1px solid #737373; +} + +.sheet-layoutextra { + grid-column-start:3; + grid-column-end:4; + grid-row-start:5; + grid-row-end:8; + background-color:#ffffff; + border: 1px solid #737373; +} diff --git a/OneDice/onedice.html b/OneDice/onedice.html new file mode 100644 index 0000000000..c9c6f805c2 --- /dev/null +++ b/OneDice/onedice.html @@ -0,0 +1,191 @@ +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