From 49a9610e63eb353f92de9dbaee7ff84f5d0ea035 Mon Sep 17 00:00:00 2001 From: Bruno Cesar Alves de Freitas Ferreira Mendes Date: Thu, 27 Jul 2023 09:41:12 -0300 Subject: [PATCH] Added Skills --- 3DeT_VICTORY/3detvictory.css | 333 ++++++++++++++++++++++++++++++++-- 3DeT_VICTORY/3detvictory.html | 137 +++++++++++--- 2 files changed, 428 insertions(+), 42 deletions(-) diff --git a/3DeT_VICTORY/3detvictory.css b/3DeT_VICTORY/3detvictory.css index adb86e3e24..8e0339c9a1 100644 --- a/3DeT_VICTORY/3detvictory.css +++ b/3DeT_VICTORY/3detvictory.css @@ -84,12 +84,12 @@ input[type=number] { padding: 15px; } -.charsheet .sheet-body { +.charsheet .sheet-body, .charsheet .sheet-pertec { display: grid; grid-template-columns: 550px 630px; grid-column-gap: 20px; margin-top: 30px; -} +} .charsheet .sheet-character { width: 250px; @@ -131,7 +131,7 @@ input[type=number] { } .charsheet .sheet-variate-section { - margin-top: 110px; + margin-top: 50px; } .charsheet .sheet-padding-atuais{ @@ -140,13 +140,12 @@ input[type=number] { .charsheet .sheet-section-dvan{ display: flex; - align-items: flex-end; } .charsheet .sheet-column-dvan{ display: flex; flex-direction: column; - margin-top:30px; + margin-bottom: 30px; } .charsheet .sheet-button-attribute{ @@ -159,25 +158,33 @@ input[type=number] { } -.charsheet label.sheet-areaLabel{ - margin:5px; -} - -.charsheet .sheet-areaLabel{ - font-weight: 400 !important; - font-size: 25px; -} - +.charsheet .sheet-titulo label, .charsheet .sheet-dkarma label{ font-size: 25px; font-weight: 400 !important; + background-color: #fdb22d; + color: black !important; + padding: 5px; } +.charsheet .sheet-dkarma label{ + background-color: transparent; + color: #fdb22d !important; +} + +.charsheet .sheet-titulo input, .charsheet .sheet-dkarma input { width: 25px; height: 25px; } +.charsheet .sheet-pericia >.sheet-3colrow >div{ + display: grid; + grid-template-columns: 30% 30% 30%; + grid-column-gap: 5%; + font-size: 18px; +} + .sheet-rolltemplate-3det { border: 3px solid white; background-color: black; @@ -211,4 +218,302 @@ input[type=number] { color: #fdb22d !important; font-weight: bolder !important; padding: 5px; +} + + +.repcontainer[data-groupname="repeating_spells"] { + width: 100%; + padding-bottom: 15px; +} + +.repcontainer[data-groupname="repeating_spells"] .itemcontrol { + z-index: 99; + font-family: 'Pictos' +} + + +.repcontainer[data-groupname="repeating_spells"]>.repitem { + width: 100% +} + + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell { + position: relative; + padding-left: 3px; + padding-right: 3px; + display: grid; + margin-bottom: 5px; + column-gap: 5px; + grid-template-columns: 50px auto 1px 14px; + row-gap: 5px; + width: 100% +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell input, +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell select { + width: 100%; + background-color: white; + border: 0; + font-size: 20px; + border-bottom: 2px solid black +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-buttonspell { + background-color: transparent; + font-family: 'dicefontd20'; + color: #0e0e0e; + display: flex; + justify-content: center; + align-items: center; + font-size: 20px; + border: 0; + cursor: pointer +} + +/*.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-buttonspell:hover { + color: #242424 +}*/ + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-buttonspell:active { + font-size: 18px +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-hiddencheckbox { + width: 20px; + height: 20px; + border: 0; + padding: 0; + margin: 0; + position: absolute; + top: 2px; + right: 2px; + opacity: 0; + z-index: 2; + cursor: pointer +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-hiddencheckbox:checked~.sheet-extra { + display: grid +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-hiddencheckbox:checked~span.sheet-hiddencheckboxcover { + color: #fdb22d +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-hiddencheckbox:hover~.sheet-hiddencheckboxcover { + color: #fdb22d +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell span.sheet-hiddencheckboxcover { + position: absolute; + font-family: "Pictos"; + font-size: 20px; + top: 2px; + color: #fdb22d; + right: 2px; + width: 20px; + height: 22px; + display: flex; + justify-content: center; + align-items: center; + z-index: 1 +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra { + display: none; + grid-column: 1/5; + width: 94%; + padding: 4px; + font-size: 12px; + border: solid 2px #535353; + background-color: #d6d6d6; + grid-template-columns: 2fr 5fr 1fr 2fr; + column-gap: 4px; + row-gap: 4px; + color: #535353 +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra span { + display: inline-flex; + height: 100%; + align-items: center +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra input, +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra select { + width: 100%; + background-color: transparent; + font-size: 12px; + height: 16px; + border: 0; + border-bottom: 2px solid #535353 +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra .sheet-cd { + text-align: center; + justify-content: center +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra .sheet-singleline { + grid-column: 2/5 +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra .sheet-fullline { + grid-column: 1/5; + display: inline-flex; + justify-content: center; + align-items: center; + width: 98% +} + +.repcontainer[data-groupname="repeating_spells"]>.repitem .sheet-container-single-spell .sheet-extra textarea { + font-size: 12px; + grid-column: 1/5; + width: 100%; + height: 70px; + border: 2px solid #535353; + font-size: 20px; +} + + + + +.repcontainer[data-groupname="repeating_vantagens"], +.repcontainer[data-groupname="repeating_desvantagens"] { + min-width: 600px; + min-height: 10px; + display: flex; + flex-direction: column; + flex-wrap: wrap; + justify-content: flex-start; + align-items: center; + padding-bottom: 15px; +} + +.repcontainer[data-groupname="repeating_vantagens"] .itemcontrol, +.repcontainer[data-groupname="repeating_desvantagens"] .itemcontrol { + z-index: 99; + font-family: 'Pictos' +} + +.repcontainer[data-groupname="repeating_vantagens"]>.repitem, +.repcontainer[data-groupname="repeating_desvantagens"]>.repitem { + display: inline-block; + width: 100%; + box-sizing: border-box; + padding: 5px; + padding-top: 2px; + padding-bottom: 2px; + border: 0 +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power { + position: relative; + padding-left: 3px; + padding-right: 3px; + display: grid; + column-gap: 5px; + grid-template-columns: 50px auto 20px; + row-gap: 5px; + width: 100% +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-buttonshowinfo, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-buttonshowinfo { + background-color: transparent; + font-family: 'Pictos'; + color: #0e0e0e; + display: flex; + justify-content: center; + align-items: center; + font-size: 20px; + border: 0; + cursor: pointer +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-buttonshowinfo:hover, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-buttonshowinfo:hover { + color: #242424 +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-buttonshowinfo:active, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-buttonshowinfo:active { + font-size: 18px +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power input, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power input { + height: 30px; + border: 0; + width: 100%; + box-sizing: border-box; + padding-left: 2px; + padding-right: 2px; + border-bottom: 2px solid black; + font-size: 20px; +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-hiddencheckbox, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-hiddencheckbox { + width: 20px; + height: 20px; + border: 0; + padding: 0; + margin: 0; + position: absolute; + top: 0; + right: 2px; + opacity: 0; + z-index: 2; + cursor: pointer +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-hiddencheckbox:checked~.sheet-extra, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-hiddencheckbox:checked~.sheet-extra { + display: flex +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-hiddencheckbox:checked~span.sheet-hiddencheckboxcover, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-hiddencheckbox:checked~span.sheet-hiddencheckboxcover { + color: #fdb22d +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-hiddencheckbox:hover~.sheet-hiddencheckboxcover, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-hiddencheckbox:hover~.sheet-hiddencheckboxcover { + color: #fdb22d +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power span.sheet-hiddencheckboxcover, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power span.sheet-hiddencheckboxcover { + position: absolute; + font-family: "Pictos"; + font-size: 20px; + top: 0; + color: #fdb22d; + right: 2px; + width: 20px; + height: 22px; + display: flex; + justify-content: center; + align-items: center; + z-index: 1 +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-extra, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-extra { + display: none; + grid-column: 2/4; + width: 100%; + padding: 4px; + border: solid 2px black +} + +.repcontainer[data-groupname="repeating_vantagens"] .sheet-container-ability-power .sheet-extra textarea, +.repcontainer[data-groupname="repeating_desvantagens"] .sheet-container-ability-power .sheet-extra textarea { + width: 100%; + height: 100%; + min-height: 60px; + margin-bottom: 8px; + font-size: 20px; } \ No newline at end of file diff --git a/3DeT_VICTORY/3detvictory.html b/3DeT_VICTORY/3detvictory.html index 4ff0a28ae1..49caef8f16 100644 --- a/3DeT_VICTORY/3detvictory.html +++ b/3DeT_VICTORY/3detvictory.html @@ -10,12 +10,17 @@ -
+
+ +
+
+
+ +
-
 
@@ -26,7 +31,6 @@
-
 
@@ -37,7 +41,6 @@
-
 
@@ -56,12 +59,12 @@
- - - + + + - -
+ +
@@ -74,12 +77,12 @@
- - - + + + - -
+ +
@@ -87,23 +90,104 @@
-
-
- -
+
- - +
+ +
+
+
+ + + + W +
+ +
+
+
+
- - -
- +
+ +
+
+
+ + + + W +
+ +
+
+
+
+
+
+
+ +
+
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+ + + + W +
+ Requisito + + Alcance + + Custo + + Duração + + + Descrição + +
+
+
+
+
+
+
+
@@ -115,8 +199,6 @@
- -
@@ -131,7 +213,7 @@ let atributo = r.htmlAttributes.value.split('-')[1]; getAttrs(["charactername", atributo], function(v){ - startRoll(`&{template:3det} {{character=${v.charactername}}} {{roll=[[${dado}+${v[atributo]}]]}} {{attribute=[[${v[atributo]}]]}} {{critical=[[0]]}} {{resultroll=[[0]]}}`, diceroll => { + startRoll(`&{template:3det} {{character=${v.charactername}}} {{roll=[[${dado}+${v[atributo]}]]}} {{resultroll=[[0]]}}`, diceroll => { console.log({diceroll}) const dice = diceroll.results.roll.dice; const rolls = dice.join(' + '); @@ -145,7 +227,6 @@ // in finishroll, you can save computed values - the hidden alternate values in your roll's keys. finishRoll(diceroll.rollId,{ - critical: critical, resultroll: result }); });