From a645518d408bfe4e0f395f4acc021fbf7e782081 Mon Sep 17 00:00:00 2001
From: rafaelartur <65636008+rafaelartur@users.noreply.github.com>
Date: Thu, 11 Feb 2021 15:39:29 -0300
Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20gerais?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- correção do CSS
- correção dos testes dos templates
---
3D&T_ALPHA/3D&T_ALPHA.css | 91 +++++++++++--
3D&T_ALPHA/3D&T_ALPHA.html | 258 +++++++++++++++++++++----------------
2 files changed, 227 insertions(+), 122 deletions(-)
diff --git a/3D&T_ALPHA/3D&T_ALPHA.css b/3D&T_ALPHA/3D&T_ALPHA.css
index 9152811ca5..75edc787a4 100644
--- a/3D&T_ALPHA/3D&T_ALPHA.css
+++ b/3D&T_ALPHA/3D&T_ALPHA.css
@@ -219,9 +219,76 @@ input.sheet-toggle-hide:checked ~ div.sheet-body {
display: none;
}
+/* Hidden Roll buttons */{}
+
+.charsheet .sheet-wrapper button[type="roll"]:before {
+ content: ""!important;
+ display: none;
+}
+
+.charsheet .sheet-wrapper button[type="roll"],
+.charsheet .sheet-wrapper .sheet-btn {
+ width: 100%;
+ height:28px;
+ vertical-align: middle;
+ padding: 0;
+ display: inline-block;
+ margin: 0;
+ font-weight: 400;
+ text-align: center;
+ vertical-align: middle;
+ cursor: pointer;
+ background-image: none;
+ background-color: #fff;
+ color: white;
+ border: 1px solid #432d1b;
+ white-space: nowrap;
+ border-radius: 4px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+}
+
+.charsheet .sheet-wrapper button[type="roll"]:hover,
+.charsheet .sheet-wrapper .sheet-btn:hover,
+.charsheet .sheet-wrapper .sheet-hider input[type=checkbox]:checked ~ .sheet-btn {
+ background-color: #a02634;
+ border-color: white;
+ color: white;
+}
+
+.charsheet .sheet-wrapper button[type="roll"]:hover span,
+.charsheet .sheet-wrapper .sheet-btn:hover span {
+ color: white;
+}
+
+.charsheet .sheet-wrapper .sheet-hider input[type=checkbox]:checked ~ .sheet-btn {
+ margin-bottom: 4px;
+}
+
+.charsheet .sheet-wrapper button[type="roll"] label,
+.charsheet .sheet-wrapper button[type="roll"] input {
+ height:22px;
+ line-height: 22px;
+ font-size: 11px;
+ vertical-align: middle;
+ text-align:center;
+ width: 99%;
+ cursor: pointer;
+ border: none;
+ background: none;
+ box-shadow: none;
+ transition: none;
+ border-radius: none;
+}
+
/*CSS da caixa de Templates*/
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-container {
+.sheet-rolltemplate-3dtatributo .sheet-container, .sheet-rolltemplate-3dtataque .sheet-container, .sheet-rolltemplate-3dtdef .sheet-container, .sheet-rolltemplate-3dtiniciativa .sheet-container, .sheet-rolltemplate-3dtmagia .sheet-container {
background-image: url("https://i.imgur.com/gAwZVo2.jpg");
background-repeat: repeat-y;
border: 1px solid;
@@ -231,18 +298,18 @@ input.sheet-toggle-hide:checked ~ div.sheet-body {
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-container h1 , .sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-container h1 {
+.sheet-rolltemplate-3dtatributo .sheet-container h1, .sheet-rolltemplate-3dtataque .sheet-container h1, .sheet-rolltemplate-3dtdef .sheet-container h1, .sheet-rolltemplate-3dtiniciativa .sheet-container h1, .sheet-rolltemplate-3dtmagia .sheet-container h1, .sheet-rolltemplate-3dtatributo .sheet-container h1, .sheet-rolltemplate-3dtataque .sheet-container h1, .sheet-rolltemplate-3dtdef .sheet-container h1, .sheet-rolltemplate-3dtiniciativa .sheet-container h1, .sheet-rolltemplate-3dtmagia .sheet-container h1 {
color: rgb(21, 80, 117);
font-size: 1.2em;
font-variant: small-caps;
line-height: 20px;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia div {
+.sheet-rolltemplate-3dtatributo div, .sheet-rolltemplate-3dtataque div, .sheet-rolltemplate-3dtdef div, .sheet-rolltemplate-3dtiniciativa div, .sheet-rolltemplate-3dtmagia div {
padding: 2px;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia span {
+.sheet-rolltemplate-3dtatributo span, .sheet-rolltemplate-3dtataque span, .sheet-rolltemplate-3dtdef span, .sheet-rolltemplate-3dtiniciativa span, .sheet-rolltemplate-3dtmagia span {
color: rgb(126, 45, 64);
font-family: "Times New Roman", Times, serif;
font-size: 1.2em;
@@ -252,13 +319,13 @@ input.sheet-toggle-hide:checked ~ div.sheet-body {
text-align: left;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-subheader {
+.sheet-rolltemplate-3dtatributo .sheet-subheader, .sheet-rolltemplate-3dtataque .sheet-subheader, .sheet-rolltemplate-3dtdef .sheet-subheader, .sheet-rolltemplate-3dtiniciativa .sheet-subheader, .sheet-rolltemplate-3dtmagia .sheet-subheader {
color: #000;
font-size: 1em;
font-style: italic;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-arrow-right {
+.sheet-rolltemplate-3dtatributo .sheet-arrow-right, .sheet-rolltemplate-3dtataque .sheet-arrow-right, .sheet-rolltemplate-3dtdef .sheet-arrow-right, .sheet-rolltemplate-3dtiniciativa .sheet-arrow-right, .sheet-rolltemplate-3dtmagia .sheet-arrow-right {
margin-top:-12px;
background-image: url("https://i.imgur.com/UE9CWZC.png");
background-repeat: no-repeat;
@@ -267,34 +334,34 @@ input.sheet-toggle-hide:checked ~ div.sheet-body {
height:18px;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-tcat, .sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-subheader {
+.sheet-rolltemplate-3dtatributo .sheet-tcat, .sheet-rolltemplate-3dtataque .sheet-tcat, .sheet-rolltemplate-3dtdef .sheet-tcat, .sheet-rolltemplate-3dtiniciativa .sheet-tcat .sheet-rolltemplate-3dtmagia .sheet-tcat, .sheet-rolltemplate-3dtatributo .sheet-subheader, .sheet-rolltemplate-3dtataque .sheet-subheader, .sheet-rolltemplate-3dtdef .sheet-subheader, .sheet-rolltemplate-3dtiniciativa .sheet-subheader, .sheet-rolltemplate-3dtmagia .sheet-subheader {
font-style: italic;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .inlinerollresult.fullnone{
+.sheet-rolltemplate-3dtatributo inlinerollresult.fullnone, .sheet-rolltemplate-3dtataque inlinerollresult.fullnone, .sheet-rolltemplate-3dtdef inlinerollresult.fullnone, .sheet-rolltemplate-3dtiniciativa inlinerollresult.fullnone, .sheet-rolltemplate-3dtmagia .inlinerollresult.fullnone{
background-color: transparent;
border: none;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .inlinerollresult.fullcrit {
+.sheet-rolltemplate-3dtatributo .inlinerollresult.fullcrit, .sheet-rolltemplate-3dtataque .inlinerollresult.fullcrit, .sheet-rolltemplate-3dtdef .inlinerollresult.fullcrit, .sheet-rolltemplate-3dtiniciativa .inlinerollresult.fullcrit, .sheet-rolltemplate-3dtmagia .inlinerollresult.fullcrit {
background-color: #ffffcc;
border: 1px solid #B31515;
color: #B31515;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .inlinerollresult.fullfail {
+.sheet-rolltemplate-3dtatributo .inlinerollresult.fullfail, .sheet-rolltemplate-3dtataque .inlinerollresult.fullfail, .sheet-rolltemplate-3dtdef .inlinerollresult.fullfail, .sheet-rolltemplate-3dtiniciativa .inlinerollresult.fullfail, .sheet-rolltemplate-3dtmagia .inlinerollresult.fullfail {
background-color: #ffffcc;
border: 1px solid #3FB315;
color: #3FB315;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-fullcrit {
+.sheet-rolltemplate-3dtatributo .sheet-fullcrit, .sheet-rolltemplate-3dtataque .sheet-fullcrit, .sheet-rolltemplate-3dtdef .sheet-fullcrit, .sheet-rolltemplate-3dtiniciativa .sheet-fullcrit, .sheet-rolltemplate-3dtmagia .sheet-fullcrit {
color: #3FB315;
font-style: italic;
}
-.sheet-rolltemplate-3dtatributo .sheet-rolltemplate-3dtataque .sheet-rolltemplate-3dtdef .sheet-rolltemplate-3dtiniciativa .sheet-rolltemplate-3dtmagia .sheet-fullfail {
+.sheet-rolltemplate-3dtatributo .sheet-fullfail, .sheet-rolltemplate-3dtataque .sheet-fullfail, .sheet-rolltemplate-3dtdef .sheet-fullfail, .sheet-rolltemplate-3dtiniciativa .sheet-fullfail, .sheet-rolltemplate-3dtmagia .sheet-fullfail {
color: #B31515;
font-style: italic;
}
diff --git a/3D&T_ALPHA/3D&T_ALPHA.html b/3D&T_ALPHA/3D&T_ALPHA.html
index 35aed7fbd5..cf61b016e7 100644
--- a/3D&T_ALPHA/3D&T_ALPHA.html
+++ b/3D&T_ALPHA/3D&T_ALPHA.html
@@ -16,7 +16,7 @@
-