tellement de trucs

This commit is contained in:
rwanoux
2024-05-13 18:27:54 +02:00
parent 9cee590267
commit 83c3f1df0b
83 changed files with 1457 additions and 702 deletions
+125 -38
View File
@@ -23,6 +23,10 @@
font-style: normal;
}
img.profile-img {
filter: drop-shadow(0px 0px 20px rgb(110, 133, 27))
}
/* custom styles */
body.system-vermine2047 img#logo {
content: url("/systems/vermine2047/assets/images/ui/logo_vermine_foundry.webp");
@@ -47,6 +51,8 @@ img {
border: none;
}
ul.unstyled {
list-style-type: none;
padding: 0;
@@ -130,14 +136,11 @@ ul.unstyled li {
h4 {
position: absolute;
transform: rotate(-8deg);
opacity: 0.7;
opacity: 1;
transition: 0.2s;
}
&:hover h4 {
opacity: 1;
}
}
}
@@ -263,6 +266,22 @@ ul.unstyled li {
}
}
.system-vermine2047 .sheet.actor .totem-details {
position: relative;
img.img-totem {
transform-origin: 50% 50%;
filter: grayscale(1);
opacity: 0.15;
position: absolute;
width: 30%;
height: auto;
pointer-events: none;
aspect-ratio: 1/1;
left: 35%;
}
}
.system-vermine2047 .sheet.actor div.minor-totems {
position: relative;
background-color: #929c6f85;
@@ -279,8 +298,29 @@ ul.unstyled li {
}
}
h5.human,
h5.adapted {
transition: 0.3s;
img.img-totem {
filter: drop-shadow(0px 0px 20px rgb(0, 0, 0));
}
&.major {
transform: scale(1.1);
& img {
filter: drop-shadow(0px 0px 10px red)
}
}
}
.totem-dice {
.human-dice,
.adapted-dice {
display: flex;
@@ -559,6 +599,18 @@ ul.unstyled li {
height: 54px;
}
//Query pour les lignes de caract
@container ability-row (max-width: 240px) {
.skill-dots,
span.hexa {
display: none
}
}
.system-vermine2047 .sheet.actor .ability {
padding-right: 0.6rem;
font-size: 0.8rem;
@@ -566,13 +618,23 @@ ul.unstyled li {
box-shadow: 0px 0px 15px rgba(128, 128, 128, 0) inset;
transition: 0.2s;
position: relative;
flex-wrap: nowrap;
min-width: min-content;
container-type: inline-size;
container-name: ability-row;
&:hover {
box-shadow: 0px 0px 15px gray inset;
}
label {
min-width: fit-content;
min-width: 40%;
flex: 1.3;
}
@@ -583,21 +645,6 @@ ul.unstyled li {
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: center;
&.checked {
background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.288) 100%);
}
}
div.specialties {
position: absolute;
@@ -611,6 +658,7 @@ ul.unstyled li {
height: 100%;
align-self: center;
flex: 1.5;
min-width: fit-content;
&>div {
@@ -640,29 +688,68 @@ ul.unstyled li {
}
}
.vermine2047.sheet.actor input[type="radio"] {
&::after {
content: " ";
display: block;
width: 0.8rem;
height: 0.8rem;
background: radial-gradient(circle, rgba(217, 214, 204, 1) 0%, rgba(217, 214, 204, 1) 40%, rgb(85, 85, 85) 60%);
border-radius: 50%;
;
.system-vermine2047 .sheet.actor .preferred {
h4,
label {
text-shadow: 0px 0px 5px rgba(0, 128, 0, 0.411)
}
}
.system-vermine2047 .sheet.actor #edit {
background-color: black;
color: white
}
.system-vermine2047 .sheet.actor .reserve-grid {
line-height: 0.5rem;
transform-origin: 0% 50%;
max-width: fit-content;
align-items: center;
display: flex;
flex-direction: column;
div.flexrow,
input,
.hexa {
margin: 0;
padding: 0;
min-width: 1rem;
min-height: 1rem;
}
&>.flexrow {
position: relative;
max-width: fit-content;
justify-content: center;
}
}
.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 {
&::after {
content: " ";
display: block;
width: 0.8rem;
height: 0.8rem;
background: radial-gradient(circle, rgb(75, 74, 74) 0%, rgb(27, 39, 28) 60%);
border-radius: 50%;
;
background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.288) 100%);
}
;
input[type="radio"] {
opacity: 0;
&::after,
&::before {
display: none
}
}
}
+47
View File
@@ -0,0 +1,47 @@
.window-app.vermineDialog {
.window-content {
background: url(/systems/vermine2047/assets/images/ui/box_background.webp) repeat;
}
.flexrow,
.grid {
justify-content: space-around;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.555);
align-items: center;
padding: 0.5rem 0.2rem;
&>* {
margin: 0 0.3rem;
}
}
;
label {
font-family: "DistressBlack",
sans-serif;
font-size: larger;
}
select {
max-width: fit-content;
option {
max-width: fit-content
}
}
.dialog-buttons {
button {
display: block;
flex: 0.3
}
display: flex;
justify-content: space-around;
flex-direction: row;
}
}
+64
View File
@@ -0,0 +1,64 @@
.sheet.item.vermine2047 {
.window-content {
.flexrow {
align-items: center;
box-shadow: 0px 5px 10px 0px black;
margin: 1rem;
}
header,
h1,
h2,
h3,
h4,
h5 {
background: 50% 50%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);
text-transform: uppercase;
font-family: "DistressBlack";
margin-top: 1rem;
border-bottom: none;
}
h2,
h3,
h4 {
text-align: center;
}
h5 {
margin-bottom: 0;
}
.resource {
border: none;
border-left: 1px solid gray;
padding: 0.2rem 1rem;
text-align: center;
.flexrow {
min-width: 5rem;
box-shadow: none;
}
}
.damages-row {
margin: 0;
.radios {
margin: 0;
padding: 0.5rem;
}
}
.damage-pannes,
.damage-state,
.damage-effect {
text-align: center;
font-family: "DistressBlack";
}
}
}
+13 -7
View File
@@ -23,7 +23,6 @@ ol#chat-log {
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 {
@@ -48,35 +47,42 @@ ol#chat-log {
}
h4 {
text-align: end;
text-align: center;
}
div.roll-total {
transform: rotate(-3deg) scale(1.3) translateX(2rem) translateY(0.5rem);
transform: rotate(-3deg) scale(1.2) 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;
width: 75%;
}
div.reroll {
button {
text-transform: uppercase;
font-family: "DistressBlack";
margin-top: 1rem;
box-shadow: 0px 0px 3px black;
padding: 0 1rem;
max-width: fit-content;
box-shadow: 0px 0px 2px black;
background: 50% 0%/cover no-repeat url(/systems/vermine2047/assets/images/ui/scotch.webp);
}
padding: 0 2rem;
padding-bottom: 2rem;
transition:0.3s;
max-height:1px;
overflow: hidden;
justify-content: end;
text-align: center;
align-items: center;
&.visible {
max-height: 15rem;
}
}
+140
View File
@@ -0,0 +1,140 @@
input[type="range"] {
appearance: none;
background: transparent;
cursor: pointer;
width: 100%;
}
input[type="range"]::-webkit-slider-runnable-track {
background: url(../assets/images/ui/scotch.webp) no-repeat center;
background-size: 100% auto;
height: 0.4rem;
border: none;
box-shadow: 0px 0px 13px rgba(31, 26, 26, 0.979) inset;
}
input[type="range"]::-webkit-slider-thumb {
appearance: none;
margin-top: -0.3rem;
/* Centers thumb on the track */
height: 1rem;
width: 1rem;
border: none;
border-radius: 50%;
background: url(/systems/vermine2047/assets/images/ui/totems/human.webp);
background-size: cover;
filter: contrast(2);
box-shadow: 0px 0px 10px black
}
input[type="range"]:focus::-webkit-slider-thumb {
box-shadow: 0px 0px 10px yellow
}
select {
border: none;
background: url(../assets/images/ui/scotch.webp);
background-size: 100% 100%;
box-shadow: 0px 0px 3px rgba(31, 26, 26, 0.979) inset;
&[disabled] {
color: rgb(0, 0, 0);
text-shadow: 0px 0px 15px black;
}
option {
appearance: none;
border: none;
background: url(../assets/images/ui/scotch.webp);
background-size: 100% 100%;
}
}
input[type="checkbox"],
input[type="radio"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
box-shadow: 0px 0px 3px rgb(133, 133, 78);
cursor: pointer;
width: 1.5rem;
height: 1rem;
border-radius: 0.4rem;
transition: 0.3s;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
box-shadow: 0px 0px 6px black inset;
background-color: rgba(61, 11, 11, 0.658);
&[disabled="true"] {
filter: grayscale(1)
}
&:after {
content: " ";
background: url(/systems/vermine2047/assets/images/ui/totems/human.webp);
background-size: 50% 150%;
background-repeat: no-repeat;
position: relative;
top: 10%;
left: 0%;
width: 100%;
height: 80%;
display: block;
border-radius: 0%;
padding: 0;
transition: 0.3s;
}
&:checked {
background-color: rgba(26, 107, 12, 0.658);
&:after {
font-weight: 900;
background-color: rgba(26, 1, 1, 0);
left: 50%;
}
}
}
input[type="radio"] {
width: 1rem;
height: 1rem;
&:after {
width: 0.8rem;
background-size: 100% 100%;
top: 5%;
left: 5%;
width: 90%;
height: 90%;
background-size: 30% 30%;
background-position: center;
}
&:not([disabled]):hover::after {
background-size: 90% 90%;
}
&:checked::after {
content: "";
background-size: 70% 70%;
top: 5%;
left: 5%;
position: relative;
background-color: rgba(26, 1, 1, 0);
}
}
+111 -1
View File
@@ -1,3 +1,113 @@
@import "./base_work.scss";
@import "./style.scss";
@import "./roll.scss"
@import "./roll.scss";
@import "item-sheet.scss";
@import "dialog.scss";
@import "special-inputs.scss";
// overwrites variables
:root {
--color-text-light-highlight: #b0d9b0;
--color-text-light-heading: #9fc7d8;
--color-text-light-primary: #a4b5b3;
--color-text-dark-primary: #131919;
--color-text-dark-secondary: #444b4a;
--color-text-dark-header: #1d2223;
--color-text-dark-inactive: #71797a;
--color-text-hyperlink: #0064ff;
--color-text-light-0: #fff;
--color-text-light-1: #e0f0f0;
--color-text-light-2: #c0e0e0;
--color-text-light-3: #a0d0d0;
--color-text-light-4: #80c0c0;
--color-text-light-5: #60b0b0;
--color-text-light-6: #40a0a0;
--color-text-light-7: #208080;
--color-text-dark-1: #111;
--color-text-dark-2: #222;
--color-text-dark-3: #444;
--color-text-dark-4: #555;
--color-text-dark-5: #666;
--color-text-dark-6: #777;
--color-border-light-1: #b0d9b0;
--color-border-light-2: #80c0c0;
--color-border-dark-1: #131919;
--color-border-dark-2: #1d2223;
--color-border-dark-3: #2d3333;
--color-border-dark-4: #3d4444;
--color-border-dark-5: #668888;
--color-shadow-primary: #0000ff;
--color-shadow-highlight: #0064ff;
--color-shadow-dark: #000;
--color-underline-inactive: #71797a;
--color-underline-active: #1a1944;
--color-underline-header: #222782;
--color-border-light-highlight: #b0d9b0;
--color-border-light-primary: #a4b5b3;
--color-border-light-secondary: #9fc7d8;
--color-border-light-tertiary: #71797a;
--color-border-dark: #000;
--color-border-dark-primary: #131919;
--color-border-dark-secondary: #1d2223;
--color-border-dark-tertiary: #444b4a;
--color-border-highlight: #0064ff;
--color-border-highlight-alt: #0000ff;
--color-bg-btn-minor-inactive: #9fc7d8;
--color-bg-btn-minor-active: #a4b5b3;
--color-bg-option: #ccdada;
--color-checkbox-checked: #666;
--color-ownership-none: #00ff55;
--color-ownership-observer: #71797a;
--color-ownership-owner: #a4b5b3;
--z-index-canvas: 0;
--z-index-app: 30;
--z-index-ui: 60;
--z-index-window: 100;
--z-index-tooltip: 9999;
--sidebar-width: 300px;
--sidebar-header-height: 32px;
--sidebar-item-height: 48px;
--hotbar-height: 52px;
--hotbar-width: 578px;
--macro-size: 50px;
--players-width: 200px;
--form-field-height: 26px;
--font-primary: "Signika", sans-serif;
--font-mono: monospace;
--font-awesome: "Font Awesome 6 Pro";
--font-size-11: 0.6875rem;
--font-size-12: 0.75rem;
--font-size-13: 0.8125rem;
--font-size-14: 0.875rem;
--font-size-16: 1rem;
--font-size-18: 1.125rem;
--font-size-20: 1.25rem;
--font-size-24: 1.5rem;
--font-size-28: 1.75rem;
--font-size-32: 2rem;
--font-size-48: 3rem;
--line-height-12: 0.75rem;
--line-height-16: 1rem;
--line-height-20: 1.25rem;
--line-height-30: 1.875rem;
--color-level-info: #b95c87;
--color-level-warning: #04b184;
--color-level-error: #03750;
--color-level-success: #3c266c;
}
/* ----------------------------------------- */
/* Scrollbar
/* ----------------------------------------- */
::-webkit-scrollbar-thumb {
outline: none;
border-radius: 3px;
background: #577822;
border: 1px solid var(--color-border-highlight);
}
::-webkit-scrollbar {
width: 3px;
height: 3px;
}