reroll OK

This commit is contained in:
rwanoux
2024-04-28 16:35:48 +02:00
parent 74e11d439c
commit 0fada335f4
85 changed files with 1273 additions and 435 deletions
+141 -17
View File
@@ -105,10 +105,7 @@ ul.unstyled li {
.actor.sheet form .form {
display: grid;
/*grid:
"sidebar header" 75px
"sidebar nav" minmax(min-content, max-content)
"sidebar content" 1fr/230px 1fr;*/
grid-template-columns: minmax(230px, 1fr) 3fr;
grid-template-rows: 1fr;
align-items: flex-start;
@@ -120,10 +117,28 @@ ul.unstyled li {
grid-row: span 1 / span 1;
background-image: url(/systems/vermine2047/assets/images/ui/barre_laterale.webp);
background-repeat: no-repeat;
background-position: 12% 50%;
background-size: 400%;
background-size: cover;
height: 100%;
box-shadow: -20px 0px 100px #000000b5 inset
width: 240px;
padding: 0 0.3rem;
box-shadow: -20px 0px 100px #000000b5 inset;
.major-totem {
position: relative;
h4 {
position: absolute;
transform: rotate(-8deg);
opacity: 0.7;
transition: 0.2s;
}
&:hover h4 {
opacity: 1;
}
}
}
.actor.sheet .form main {
@@ -134,7 +149,6 @@ ul.unstyled li {
}
.actor.sheet .form aside .image-wrapper {
margin: 1rem auto 3rem;
text-align: center;
}
@@ -211,6 +225,111 @@ ul.unstyled li {
overflow: hidden;
}
.system-vermine2047 .sheet.actor form div.hexa {
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
background: radial-gradient(circle, rgba(255, 255, 255, 0.425) 0%, rgba(0, 0, 0, 0.288) 100%);
height: unset;
max-width: 1.5rem;
aspect-ratio: 1/1;
color: black;
transform: rotate(90deg);
transition: 0.2s;
margin: 0.2rem;
&:hover {
background: radial-gradient(circle, rgba(255, 255, 255, 0.425) 0%, rgba(0, 0, 0, 0.288) 100%);
}
input {
opacity: 1;
min-width: 100%;
min-height: 100%;
opacity: 0
}
&.checked {
&:hover {
background: radial-gradient(circle, rgb(43, 43, 43) 0%, rgba(0, 0, 0, 0.288) 100%);
}
background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.288) 100%);
}
&.unavailable {
background: radial-gradient(circle, rgba(66, 15, 15, 0.664) 0%, rgba(131, 70, 70, 0.432) 100%);
}
}
.system-vermine2047 .sheet.actor div.minor-totems {
position: relative;
background-color: #929c6f85;
h5 {
position: absolute;
top: 0;
img {
max-width: 2rem;
position: absolute;
bottom: -2rem;
}
}
.totem-dice {
.human-dice,
.adapted-dice {
display: flex;
flex-direction: row;
margin-left: 2rem;
i {
padding-top: 0.5rem;
color: #064930;
}
}
.adapted-dice {
justify-content: flex-end;
margin-left: 0;
margin-right: 2rem;
transform: rotate(180deg);
i {
transform: rotate(180deg);
padding-top: 0.5rem;
color: rgb(85, 52, 2);
}
}
}
.human {
left: 0;
img {
left: 0;
}
}
.adapted {
right: 0;
img {
right: 0
}
}
}
.system-vermine2047 .sheet.actor form input[type=text],
.system-vermine2047 .sheet.actor form input[type=number] {
width: calc(100% - 2px);
@@ -462,17 +581,22 @@ ul.unstyled li {
margin: 0 1rem;
flex: 0.5;
}
&.hexa {
text-align: center;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
background: radial-gradient(circle, rgba(255, 255, 255, 0.425) 0%, rgba(0, 0, 0, 0.288) 100%);
max-height: 1.2rem;
max-width: 1.2rem;
aspect-ratio: 1/1;
color: black;
vertical-align: bottom;
.hexa {
text-align: center;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
background: radial-gradient(circle, rgba(255, 255, 255, 0.425) 0%, rgba(0, 0, 0, 0.288) 100%);
max-height: 1.2rem;
max-width: 1.2rem;
aspect-ratio: 1/1;
color: black;
vertical-align: center;
&.checked {
background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.288) 100%);
}
}
div.specialties {
+178
View File
@@ -0,0 +1,178 @@
ol#chat-log {
header.message-header {
background-color: black;
padding: 0 1rem;
}
.vermine-roll-message {
overflow: hidden;
box-shadow: 0px 0px 30px white inset;
padding: 0;
position: relative;
.flexrow {
align-items: center;
box-shadow: 0px 5px 10px 0px black;
}
h3,
h4 {
text-transform: uppercase;
font-family: "DistressBlack";
margin-top: 1rem;
border-bottom: none;
font-weight: 900;
font-weight: 900;
background: 50% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);
&+span {
font-family: "DistressBlack";
font-size: large;
text-transform: unset;
padding-left: 2rem;
background: -100% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);
&#allowed_reroll {
font-size: large;
}
}
}
h3 {
background: url(/systems/vermine2047/assets/images/ui/scotch.webp);
background-position: center;
background-size: 200%;
}
h4 {
text-align: end;
}
div.roll-total {
transform: rotate(-3deg) scale(1.3) translateX(2rem) translateY(0.5rem);
background: url(/systems/vermine2047/assets/images/ui/scotch.webp);
background-position: center;
background-size: 200%;
margin-bottom: 2rem;
padding: 0;
z-index: +1;
}
div.reroll {
button {
text-transform: uppercase;
font-family: "DistressBlack";
margin-top: 1rem;
box-shadow: 0px 0px 3px black;
background: 50% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);
}
padding: 0 2rem;
padding-bottom: 2rem;
justify-content: end;
text-align: center;
}
ul.roll-results {
list-style: none;
li.die {
position: relative;
max-width: 3rem;
line-height: 3rem;
float: left;
margin: 0.2rem;
background-image: url(/icons/dice/d10black.svg);
background-position: center;
background-repeat: no-repeat;
background-size: contain;
font-weight: 800;
font-size: 1rem;
color: #ffffff;
text-align: center;
transition: 0.3s;
border-bottom: 5px solid rgb(255, 0, 0);
border-radius: 2rem;
&::after {
content: "";
position: absolute;
top: -1rem;
text-wrap: nowrap;
color: black;
font-weight: 100;
font-size: smaller;
text-align: center;
opacity: 0;
}
&:hover::after {
opacity: 1
}
&.human,
&.adapted {
border-top: 5px solid rgb(255, 217, 0);
}
&.rerollable {
cursor: pointer;
&:hover {
transform: translateY(0.5rem)
}
}
&.success {
border-bottom: 5px solid rgb(0, 143, 7);
}
&.adapted {
&::after {
content: "adapté"
}
}
&.human {
&::after {
content: "humain"
}
}
&.rerolled {
transform: translateY(-0rem);
}
span {
text-align: center;
font-size: larger;
text-shadow: 0px 0px 8px black;
}
}
}
}
}
+2 -1
View File
@@ -1,2 +1,3 @@
@import "./base_work.scss";
@import "./style.scss";
@import "./style.scss";
@import "./roll.scss"