diff --git a/Farsight RPG Community Edition/sheets.css b/Farsight RPG Community Edition/sheets.css index 5342787f84f..33dd7f6e9bc 100644 --- a/Farsight RPG Community Edition/sheets.css +++ b/Farsight RPG Community Edition/sheets.css @@ -8,35 +8,57 @@ background-size: cover; background-repeat: no-repeat; min-width: 980px; + padding-top: 10px; + padding-bottom: 10px; } /*----------------- TEMPLATE CSS -----------------*/ -.character { - justify-content: center; - padding-top: 10px; - padding-bottom: 10px; - display: grid; - min-width: 980px; - grid-gap: 4px; - grid-template-columns: 300px 300px 300px ; - grid-template-rows: 100px 60px auto 135px; - grid-template-areas: - "common common header" - "tabs tabs tabs" - "sheet sheet sheet" - "attribution attribution attribution"; +/* configure the tab buttons */ +.sheet-main .pgsheet, +.sheet-main .npcsheet, +.sheet-main .vehiclesheet, +.sheet-main .shipsheet { + display: none; } -.npc { - justify-content: center; - padding-top: 10px; +/* style the active button */ +.sheet-main .sheet-templatetoggle[value="pg"] ~ div .sheet-buttonpg { + outline: 2px solid red; +} + +.sheet-main .sheet-templatetoggle[value="npc"] ~ div .sheet-buttonnpc { + outline: 2px solid red; +} + +.sheet-main .sheet-templatetoggle[value="vehicle"] ~ div .sheet-buttonvehicle { + outline: 2px solid red; +} + +.sheet-main .sheet-templatetoggle[value="ship"] ~ div .sheet-buttonship { + outline: 2px solid red; +} + +/* show the selected tab */ +.sheet-main .sheet-templatetoggle[value="pg"] ~ div.pgsheet, +.sheet-main .sheet-templatetoggle[value="npc"] ~ div.npcsheet, +.sheet-main .sheet-templatetoggle[value="vehicle"] ~ div.vehiclesheet, +.sheet-main .sheet-templatetoggle[value="ship"] ~ div.shipsheet { + display: block; +} + +.template { + margin-bottom: 10px; + clip-path: polygon(0 20px,20px 0,calc(100% - 20px) 0,100% 20px,100% calc(100% - 20px),calc(100% - 20px) 100%,20px 100%,0 calc(100% - 20px)); + background-color: rgba(0, 0, 0, 0.7); display: grid; - min-width: 980px; - grid-gap: 4px; - grid-template-columns: 300px 300px 300px ; + grid-template-columns: 900px; + grid-template-rows: 60px; + justify-self: center; + text-align: center; + align-items: center; } - + /*----------------- GENERAL CSS ------------------*/ .section { @@ -113,7 +135,54 @@ span.sheet-toggle-show{ color: white; } -/*------------- Tab CSS ----------------------------*/ +.sheet-rolltemplate-base { + background-color: #424549; + clip-path: polygon(0 20px,20px 0,calc(100% - 20px) 0,100% 20px,100% calc(100% - 20px),calc(100% - 20px) 100%,20px 100%,0 calc(100% - 20px)); + background: rgba(0, 0, 0, 0.3); + min-height: 60px; +} + +.sheet-rolltemplate-base .sheet-template-title { + color: white; + text-align: center; + height: fit-content; + padding: 20px; + align-self: center; + font-weight: bold; +} + +.sheet-rolltemplate-base span { + text-align: center; +} + +.sheet-rolltemplate-base .sheet-rolls { + display: grid; + grid-template-columns: 45% 45%; + column-gap: 10%; + padding-bottom: 20px; + padding-right: 20px; + padding-left: 20px; + grid-auto-rows: 30px; +} + +.sheet-rolltemplate-base .sheet-roll-title { + height: fit-content; + align-self: center; +} + +.sheet-rolltemplate-base .sheet-roll-result { + height: fit-content; + align-self: center; +} + +.sheet-rolltemplate-base .sheet-roll div:nth-child(odd) { + text-align: right; +} +.sheet-rolltemplate-base .sheet-roll div:nth-child(even) { + text-align: left; +} + +/*------------- Tab CSS ----------------*/ /* configure the tab buttons */ .charsheet .sheet-character, .charsheet .sheet-powers, .charsheet .sheet-biography { @@ -134,7 +203,9 @@ span.sheet-toggle-show{ } /* show the selected tab */ -.charsheet .sheet-tabstoggle[value="character"] ~ div.sheet-character, .charsheet .sheet-tabstoggle[value="powers"] ~ div.sheet-powers, .charsheet .sheet-tabstoggle[value="biography"] ~ div.sheet-biography { +.charsheet .sheet-tabstoggle[value="character"] ~ div.sheet-character, +.charsheet .sheet-tabstoggle[value="powers"] ~ div.sheet-powers, +.charsheet .sheet-tabstoggle[value="biography"] ~ div.sheet-biography { display: block; } @@ -150,7 +221,22 @@ span.sheet-toggle-show{ grid-area: sheet; } -.char { +.pg { + justify-content: center; + padding-bottom: 10px; + display: grid !important; + min-width: 980px; + grid-gap: 4px; + grid-template-columns: 300px 300px 300px ; + grid-template-rows: 100px 60px auto 135px; + grid-template-areas: + "common common header" + "tabs tabs tabs" + "sheet sheet sheet" + "attribution attribution attribution"; +} + +.character { display: grid; min-width: 980px; grid-gap: 4px; @@ -1154,3 +1240,276 @@ label.rendita { justify-self: flex-end; align-self: center; } + +/*---------- NPC SHEET ----------*/ + +.npc { + display: grid; + justify-self: center; + grid-gap: 4px; + grid-template-columns: 300px 300px 300px; + grid-template-rows: min-content min-content auto; + grid-template-areas: + "stats tratti azioni" + "stats poteri reazioni"; +} + +.npc .npc_stats{ + padding: 20px; + padding-bottom: unset; + grid-area: stats; + display: grid; + grid-row-gap: 4px; + grid-column-gap: 4px; + grid-template-areas: + "titolo titolo titolo titolo" + "nome nome nome nome" + "tipo taglia taglia natura" + "livellolabel livelloinput minaccialabel minacciainput" + "pvlabel pvinput velocitalabel velocitainput" + "difesalabel difesainput armaturalabel armaturainput" + "stats stats stats stats"; + grid-template-columns: 70px 45px 70px 65px; + grid-template-rows: min-content min-content min-content min-content min-content min-content auto; +} + +.npc label.stats { + grid-area: titolo; +} + +button[type="roll"].skill.btn.ui-draggable{ + background-size: 16px 16px; + background-repeat: no-repeat; + border: 1px; + border-style: solid; + height: 10px; + width: 10px; +} + +button[type="roll"].skill.btn.ui-draggable::before{ + content: ""; + border: 0px; + height: 15px; + width: 15px; +} + +.npc label { + justify-self: center; + align-self: center; + margin: unset; +} + +.npc label.titolosezione { + text-align: center; + margin: 10px !important; +} + +.npc input { + width: auto !important; + max-height: 20px; + align-self: center; + margin:unset; +} + +.npc input.sheet-toggle-show { + width: 15px !important; +} + +.npc select { + width: auto; + max-height: 20px; + margin-bottom: auto; + padding: 0px; +} + +.npc input.nome { + grid-area: nome; + width: auto; +} + +.npc .tipo{ + grid-area: tipo; +} + +.npc .taglia{ + grid-area: taglia; +} + +.npc .natura{ + grid-area: natura; +} + +.npc label.livello { + grid-area: livellolabel; +} + +.npc input.livello { + grid-area: livelloinput; +} + +.npc label.minaccia { + grid-area: minaccialabel; +} + +.npc select.minaccia { + grid-area: minacciainput; +} + +.npc label.puntivitalita { + grid-area: pvlabel; + grid-area: pvlabel; + position: unset; + margin: unset; + text-align: center; +} + +.npc input.puntivitalita { + grid-area: pvinput; + margin: unset; +} + +.npc label.velocita { + grid-area: velocitalabel; +} + +.npc input.velocita { + grid-area: velocitainput; +} + +.npc label.difesa { + grid-area: difesalabel; +} + +.npc input.difesa { + grid-area: difesainput; +} + +.npc label.armatura { + grid-area: armaturalabel; +} + +.npc input.armatura { + grid-area: armaturainput; +} + +.npc .npc_abilita { + grid-area: stats; + padding: 20px; + padding-bottom: unset; + display: grid; + grid-template-areas: + "cmblabel roblabel deslabel perlabel intlabel vollabel teclabel" + "cmbinput robinput desinput perinput intinput volinput tecinput" + "qualifiche qualifiche qualifiche qualifiche qualifiche qualifiche qualifiche"; + grid-template-columns: repeat(7, 37px); + grid-template-rows: min-content min-content auto; + justify-self: center; +} + +.npc .npc_abilita label{ + padding: unset; +} + +.npc .npc_abilita input{ + width: 30px !important; + justify-self: center; +} + +.npc button[type="roll"].button-text.btn.ui-draggable{ + background:none; + border:none; + margin:0; + padding:0; + cursor: pointer; + color: var(--dark-secondarytext); + font-size: 15px; +} + +.npc button[type="roll"].button-text.btn.ui-draggable::before{ + content: ""; +} + +.npc button.cmb{ + grid-area: cmblabel; +} + +.npc input.cmb{ + grid-area: cmbinput; +} + +.npc button.rob{ + grid-area: roblabel; +} + +.npc input.rob{ + grid-area: robinput; +} + +.npc button.des{ + grid-area: deslabel; +} + +.npc input.des{ + grid-area: desinput; +} + +.npc button.per{ + grid-area: perlabel; +} + +.npc input.per{ + grid-area: perinput; +} + +.npc button.int{ + grid-area: intlabel; +} + +.npc input.int{ + grid-area: intinput; +} + +.npc button.vol{ + grid-area: vollabel; +} + +.npc input.vol{ + grid-area: volinput; +} + +.npc button.tec{ + grid-area: teclabel; +} + +.npc input.tec{ + grid-area: tecinput; +} + +.npc .npc_abilita div.qualifiche{ + grid-area: qualifiche; + justify-self: center; +} + +.npc input.qualifica { + width: 140px !important; + justify-self: unset; +} + +.npc .npc_tratti { + grid-area: tratti; + padding-top: 20px; +} + +.npc .npc_azioni { + grid-area: azioni; + padding-top: 20px; +} + +.npc .npc_poteri { + grid-area: poteri; +} + +.npc .npc_reazioni { + grid-area: reazioni; +} + diff --git a/Farsight RPG Community Edition/sheets.html b/Farsight RPG Community Edition/sheets.html index 52b96b38a84..e25ba047e25 100644 --- a/Farsight RPG Community Edition/sheets.html +++ b/Farsight RPG Community Edition/sheets.html @@ -1,741 +1,911 @@
-
+ + +
+
+ + + + +
+
-
+ + {{#name}}
{{name}}
{{/name}} +
+ {{#allprops()}} +
{{key}}
+
{{value}}
+ {{/allprops()}}
-
- - - - - - - - - - -
- + {{#desc}}
{{desc}}
{{/desc}} + + - +
+
+
-
+
+ + + + + + + + - -
- - - -
+ +
+ -
-
+ +
+
-
+ +
+ + + +
- +
+
- - -
- - - -
+
+ + + + -
- - - +
+ + + +
+ +
+ + + -
+
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ + -
- - - -
+
+ + +
-
- - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
+
+ + + +
-
- - - -
- - - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
+
+ + + +
+ +
+ + + +
- - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
+ + +
+ + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
- - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- - - - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- - - - - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- - - - - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - + + +
+ + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ + + + +
+ + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ + + + + +
+ + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ + + + + +
+ + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
-
- - - -
-
- -
- - - - - - - -
- - - - - - - - - - -
+
+ + + + + + + +
+ + + + + + + + + + +
-
- - - - - - - -
+
+ + + + + + + +
-
- - -
-
- -
- - -
- - -
- -
- - - +
+ + +
-
- - -
+
+ -
- - +
+ + +
+ +
+ + + +
+ +
+ + +
+ +
+ + +
-
-
- -
- - - Descrizione - -
-
-
- - +
+ +
+ + + Descrizione + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + -
+
+ +
+
+
+ + + Descrizione + +
+
-
+
-
-
-
+
+
-
-
- - - - - - +
+
+ + + + + + -
- -
+
+ +
-
- -
+
+ +
-
- - +
+ + +
-
-
- -
-
- - - Descrizione - -
+
+ +
+
+ + + Descrizione + +
+
-
-
- -
-
- - - Descrizione - -
+
+ +
+
+ + + Descrizione + +
+
-
-
- -
-
- - - Descrizione - -
+
+ +
+
+ + + Descrizione + +
+
-
-
- -
-
- - - Descrizione - -
+
+ +
+
+ + + Descrizione + +
+
+
+
+ +
+
+ + + Descrizione + +
+
+
+
+ +
+
+ + + Descrizione + +
+
+
+ +
+
+ + + Descrizione + +
+
+
+ +
-
- -
-
- - - Descrizione - -
+
+
+ +
+
+
+ +
+
+
+ + Descrizione + + +
+
-
- -
-
- - - Descrizione - -
+ +
+ +
+ + + + +
+ + -
+ +
+ +
+ + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + + +
+
+
+
-
+
+

+ This work includes material taken from the Double Twelve System Reference Document 1.0 (“DD12 SRD 1.0”) by Lightfish Games, available at http://lightfishgames.altervista.org/dd12, and from the System Reference Document 5.1 (“SRD 5.1”) by Wizards of the Coast LLC, available at https://dnd.wizards.com/resources/systems-reference-document. +
The DD12 SRD 1.0 and the SRD 5.1 are both licensed under the Creative Commons Attribution 4.0 International License available at https://creativecommons.org/licenses/by/4.0/legalcode. +

+
+ +
+
+
+ + + + + -
-
-
- -
-
-
- - Descrizione - - + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+
+ + +
+
+
-
- -
- - - - -
- - +
-
- -
- - - - - - - - +
- - +
+
+ +
+
+ + + Descrizione + +
+
+
- - +
- - +
+
+ +
+
+ + + Descrizione + +
-
- -
- - - - - - - - - - +
+ +
+
+ +
+
+ + + Descrizione + +
-
+
+
-
-

- This work includes material taken from the Double Twelve System Reference Document 1.0 (“DD12 SRD 1.0”) by Lightfish Games, available at http://lightfishgames.altervista.org/dd12, and from the System Reference Document 5.1 (“SRD 5.1”) by Wizards of the Coast LLC, available at https://dnd.wizards.com/resources/systems-reference-document. -
The DD12 SRD 1.0 and the SRD 5.1 are both licensed under the Creative Commons Attribution 4.0 International License available at https://creativecommons.org/licenses/by/4.0/legalcode. -

-
+
+
+ +
\ No newline at end of file diff --git a/Farsight RPG Community Edition/translation.json b/Farsight RPG Community Edition/translation.json index 94475bf0432..a49e1cc2fd6 100644 --- a/Farsight RPG Community Edition/translation.json +++ b/Farsight RPG Community Edition/translation.json @@ -1,10 +1,16 @@ { + "pg-button": "Character", + "npc-button": "NPC", + "vehicle-button": "Vehicle", + "ship-button": "Ship", "nome-placeholder": "Name of Character", + "personaggio-label": "Character", "giocatore-placeholder": "Player", "concetto-placeholder": "Concept of Character", "specie-placeholder": "Species", "classelivello-placeholder": "Class and Level", "personaggio-button":"Character", + "risultato-label": "Result", "poteri-button":"Powers", "inventariobio-button":"Biography and Inventory", "abilità-label": "Skills", @@ -97,6 +103,8 @@ "carichearma-label":"Ammunition", "roll-label":"Roll", "tipodanno-label":"Type", + "attacco-label": "Attack", + "danno-label": "Damage", "descrizione-label":"Description", "dettagli-label": "Details", "armapersonalizzata-option": "Custom Weapon", @@ -164,5 +172,31 @@ "ideali-label": "Ideals", "legami-label": "Bonds", "difetti-label": "Flaws", - "altro-label": "Other" + "altro-label": "Other", + "nomecreatura-placeholder": "Creature Name", + "livello-label": "Level", + "minaccia-label": "Threat", + "tipo-label": "Type", + "taglia-label": "Size", + "minuscola-option": "Tiny", + "piccola-option": "Small", + "media-option": "Medium", + "grande-option": "Large", + "enorme-option": "Huge", + "colossale-option": "Gargantuan", + "bassa-option": "Low", + "moderata-option": "Moderate", + "alta-option": "High", + "estrema-option": "Extreme", + "cmb-button": "CMB", + "rob-button": "STR", + "des-button": "DEX", + "per-button": "PER", + "int-button": "INT", + "vol-button": "VOL", + "tec-button": "TEC", + "qualifiche-label": "Skills", + "qualifica-placeholder": "Skill", + "azioni-label": "Actions", + "reazioni-label": "Reactions" } \ No newline at end of file