plein de truc

This commit is contained in:
rwanoux
2024-04-21 16:51:13 +02:00
parent 0fe0d530b1
commit 74e11d439c
78 changed files with 9447 additions and 2112 deletions
+544
View File
@@ -0,0 +1,544 @@
@font-face {
font-family: "DistressBlack";
src: url("../assets/fonts/dcc_sharp_distress_black_by_dccanim.otf");
}
.sans-font {
font-family: "DistressBlack", sans-serif;
}
/* Change shadow colors and Foundry general font color!! */
.app {
box-shadow: 0 0 20px #7e4444;
/* Change the color code here for a nice shadow color! */
color: #dfdfdf;
/* Text color for window titles and menu all across Foundry */
}
/* Character and Item Name Titles Text style! */
.sheet .charname input {
color: #191813;
font-family: "DistressBlack", sans-serif;
font-size: 30px;
font-style: normal;
}
/* custom styles */
body.system-vermine2047 img#logo {
content: url("/systems/vermine2047/assets/images/ui/logo_vermine_foundry.webp");
height: auto;
}
/* Customize the chat roll area! */
#chat-form textarea {
background: url(/systems/vermine2047/assets/images/ui/box_background.webp) repeat;
/*font-family: monospace;
font-size: 14px;
color: black; */
}
/* Customize the chat history area! */
#chat-log .message {
background: url(/systems/vermine2047/assets/images/ui/box_background.webp) repeat;
/*color: #191813; */
}
img {
border: none;
}
ul.unstyled {
list-style-type: none;
padding: 0;
margin: 0;
}
ul.unstyled li {
padding: 0;
margin: 0;
}
.padding-with-frieze {
margin-left: 18% !important;
margin-right: 10% !important;
}
.padding-with-frieze li {
max-width: 100%;
}
.w-full {
width: 100%;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
/* ----------------------------------------- */
/* Sheet Structure */
/* ----------------------------------------- */
.system-vermine2047 .sheet .window-content {
background: url(/systems/vermine2047/assets/images/ui/box_background.webp);
padding: 0;
overflow-y: hidden;
}
.system-vermine2047 .dialog .window-content {
background: url(/systems/vermine2047/assets/images/ui/fond_chat_box.webp);
padding: 0.5rem;
overflow-y: hidden;
}
.window-content .row.smb {
margin-bottom: 0.25rem;
}
.window-content .row.mdb {
margin-bottom: 0.5rem;
}
.window-content .row.lgb {
margin-bottom: 1rem;
}
.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;
height: 100%;
overflow: auto;
}
.actor.sheet .form aside {
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%;
height: 100%;
box-shadow: -20px 0px 100px #000000b5 inset
}
.actor.sheet .form main {
box-shadow: 10px 0px 100px #000000b5 inset;
padding-left: 1rem;
grid-row: span 1 / span 1;
height: 100%;
}
.actor.sheet .form aside .image-wrapper {
margin: 1rem auto 3rem;
text-align: center;
}
.actor.sheet .form aside .image-wrapper img {
width: 170px;
height: 145px;
}
.actor.sheet .form aside .paper {
margin-top: 1rem;
height: 350px;
}
.actor.sheet .form aside .second-paper {
margin-top: 4rem;
height: 150px;
}
.actor.sheet .form h3 {
font-family: "DistressBlack", sans-serif;
text-align: center;
text-transform: uppercase;
color: #4e564c;
font-size: 1.7rem;
border-bottom: none;
margin: 0;
}
.actor.sheet .form h4,
.item.sheet .form h4 {
font-family: "DistressBlack", sans-serif;
font-size: 1.4em;
text-transform: uppercase;
margin: 0 0 0.2rem;
}
.actor.sheet .form .characteristics h4 {
font-size: 1.25rem;
margin-top: 0 0.1rem;
}
.actor.sheet .form .tab.totem h4,
.actor.sheet .form .tab.equipment h4,
.actor.sheet .form .tab.stories h4 {
margin-top: 0.875rem;
}
.system-vermine2047 .char-header {
font-family: "DistressBlack", sans-serif;
}
.system-vermine2047 .char-header section {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
}
.system-vermine2047 .char-header h1.char-name,
.system-vermine2047 .char-vermine2047 {
border-bottom: none;
line-height: 2rem;
}
.system-vermine2047 .char-vermine2047 {
font-size: 1.5rem;
}
.system-vermine2047 .sheet.actor form {
width: 100%;
height: 100%;
overflow: hidden;
}
.system-vermine2047 .sheet.actor form input[type=text],
.system-vermine2047 .sheet.actor form input[type=number] {
width: calc(100% - 2px);
height: calc(100% - 2px);
background: none;
padding: 0;
margin: 1px 0;
color: #333;
border: 1px solid transparent;
&.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
}
}
.system-vermine2047 .sheet.actor form input[type=text]:hover:not(:disabled),
.system-vermine2047 .sheet.actor form input[type=text]:focus,
.system-vermine2047 .sheet.actor form select:hover:not(:disabled),
.system-vermine2047 .sheet.actor form select:focus,
.system-vermine2047 .sheet.actor form input[type=number]:hover:not(:disabled),
.system-vermine2047 .sheet.actor form input[type=number]:focus,
.system-vermine2047 .sheet.actor form textarea:hover:not(:disabled),
.system-vermine2047 .sheet.actor form textarea:focus {
box-shadow: 0 0 10px #005a3c inset;
}
.system-vermine2047 .sheet.actor form select {
font-size: 0.6rem;
border: none;
appearance: none;
min-width: fit-content;
max-width: fit-content;
padding: 0 0.2rem;
margin: 0 0.2rem;
cursor: help;
}
.system-vermine2047 .sheet.actor form label {
display: block;
}
.system-vermine2047 .sheet.actor form .mce-panel span {
display: inherit;
}
.system-vermine2047 .sheet.actor form.editable .rollable:hover,
.system-vermine2047 .sheet.actor form.editable a:hover {
color: #000;
text-shadow: 0 5px 5px #1fa832;
cursor: pointer;
}
.system-vermine2047 .sheet.actor form .sheet-tabs {
font-weight: 500;
height: 30px;
}
.system-vermine2047 .sheet.actor form .sheet-tabs>.list-row {
line-height: 24px;
padding-top: 3px;
font-size: 2rem;
text-align: center;
}
.system-vermine2047 .sheet.actor form .sheet-tabs>.list-row:last-of-type {
padding-right: 4px;
}
.system-vermine2047 .sheet.actor form .sheet-tabs>.list-row.active {
color: #000;
font-weight: 700;
}
.system-vermine2047 .sheet.actor form .tab {
flex: 1;
overflow: hidden;
}
.system-vermine2047 .sheet.actor form .tag-legacy {
float: left;
margin: 0 2px 2px 0;
padding: 0 3px;
font-size: var(--font-size-10);
line-height: 16px;
border: 1px solid #999;
border-radius: 3px;
white-space: normal;
font-weight: 500;
}
/* ---------------------------------------- */
/* Actor Sheet */
/* ---------------------------------------- */
.system-vermine2047 .sheet.actor,
.system-vermine2047 .sheet.actor .window-content {
min-width: 690px;
}
.system-vermine2047 .sheet.actor .sidebar {
width: 230px;
min-height: 518px;
}
.system-vermine2047 .sheet.actor .floatright {
float: right;
}
.system-vermine2047 .sheet.actor .sheet-upper {
height: 268px;
}
.system-vermine2047 .sheet.actor .sheet-upper .sheet-header {
height: 48px;
}
.system-vermine2047 .sheet.actor .sheet-upper .sheet-profile,
.system-vermine2047 .sheet.actor .sheet-upper .sheet-showcase {
height: 220px;
}
.system-vermine2047 .sheet.actor .sheet-content {
padding: 4px;
}
.system-vermine2047 .sheet.actor .sheet-sidebar {
height: calc(100% - 48px);
display: flex;
flex-direction: column;
flex-wrap: nowrap;
overflow-x: hidden;
overflow-y: auto;
}
.system-vermine2047 .sheet.actor .sheet-sidebar>* {
flex: 1;
}
.system-vermine2047 .sheet.actor .sheet-sidebar .sidebar-summary {
overflow-y: hidden;
}
.system-vermine2047 .sheet.actor.npc-sheet .sheet-upper {
height: 220px;
}
.system-vermine2047 .sheet.actor.npc-sheet .sheet-upper .sheet-showcase {
height: 172px;
}
.system-vermine2047 .sheet.actor.npc-sheet .sheet-lower {
height: calc(100% - 220px - 32px);
}
.system-vermine2047 .sheet.actor .sheet-navigation {
border-top: 1px solid var(--secondary-background);
border-bottom: 1px solid var(--primary-background);
}
.system-vermine2047 .sheet.actor .sheet-navigation .sheet-tabs>.list-row {
border-radius: 5px 5px 0 0;
}
.system-vermine2047 .sheet.actor .sheet-navigation .sheet-tabs>.list-row.active {
border: 1px solid #666;
border-bottom: none;
/* box-shadow: 0 0 10px inset #ff6400;
*/
background: var(--primary-background);
color: #fff;
text-shadow: none;
color: #000;
text-shadow: 0 0 10px #00005a;
cursor: pointer;
}
.actor.sheet nav.sheet-navigation {
display: inline-flex;
justify-content: space-around;
align-items: center;
height: 54px;
background: url(../assets/images/ui/barre_haut.webp) no-repeat right top;
background-size: 100% 100%;
width: 100%;
position: relative;
padding-right: 4rem;
font-size: 1.4rem;
}
.actor.sheet nav.sheet-navigation.tabs .item {
height: 2.4rem;
display: inline-block;
z-index: 1;
transition: all 0.1s ease-out;
color: #606060;
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.404);
}
.actor.sheet nav.sheet-navigation.tabs .item:hover,
.actor.sheet nav.sheet-navigation.tabs .item.active {
color: #000;
text-shadow: 0 5px 5px #1fa832;
cursor: pointer;
}
.actor.sheet nav.sheet-navigation.tabs .item:hover {
text-shadow: 0 5px 5px #1e52259a;
}
.system-vermine2047 .sheet.actor form nav.sheet-navigation.sheet-tabs {
height: 54px;
}
.system-vermine2047 .sheet.actor .ability {
padding-right: 0.6rem;
font-size: 0.8rem;
border-bottom: 1px solid rgba(170, 170, 152, 0.664);
box-shadow: 0px 0px 15px rgba(128, 128, 128, 0) inset;
transition: 0.2s;
position: relative;
&:hover {
box-shadow: 0px 0px 15px gray inset;
}
label {
min-width: fit-content;
}
span {
max-width: fit-content;
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;
}
}
div.specialties {
position: absolute;
bottom: 0;
font-size: 0.7rem;
}
.skill-dots {
height: 100%;
align-self: center;
flex: 1.5;
&>div {
max-width: 0.7rem;
height: 0.7rem;
aspect-ratio: 1/1;
border-radius: 50%;
font-weight: 700;
text-align: center;
padding-bottom: 0.2rem;
font-style: oblique;
align-self: flex-start;
&.dice-pool-dot {
background: radial-gradient(circle, rgba(94, 90, 77, 1) 25%, rgba(0, 0, 0, 1) 100%);
max-width: 0.7rem;
aspect-ratio: 1/1;
border-radius: 50%;
}
&.dice-reroll-dot {
background: radial-gradient(circle, rgb(187, 182, 165) 25%, rgba(0, 0, 0, 1) 100%);
}
}
}
}
.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%;
;
}
&.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%;
;
}
}
}
+539
View File
@@ -0,0 +1,539 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
/* Global styles */
.window-app {
font-family: "Roboto", sans-serif;
box-shadow: 0px 0px 30px rgb(69, 78, 44);
}
.rollable:hover,
.rollable:focus {
color: #000;
text-shadow: 0 0 10px red;
cursor: pointer;
}
.grid,
.grid-2col {
display: grid;
grid-column: span 2/span 2;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin: 5px 0;
padding: 0;
}
.grid-3col {
grid-column: span 3/span 3;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4col {
grid-column: span 4/span 4;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-5col {
grid-column: span 5/span 5;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-6col {
grid-column: span 6/span 6;
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid-7col {
grid-column: span 7/span 7;
grid-template-columns: repeat(7, minmax(0, 1fr));
}
.grid-8col {
grid-column: span 8/span 8;
grid-template-columns: repeat(8, minmax(0, 1fr));
}
.grid-9col {
grid-column: span 9/span 9;
grid-template-columns: repeat(9, minmax(0, 1fr));
}
.grid-10col {
grid-column: span 10/span 10;
grid-template-columns: repeat(10, minmax(0, 1fr));
}
.grid-11col {
grid-column: span 11/span 11;
grid-template-columns: repeat(11, minmax(0, 1fr));
}
.grid-12col {
grid-column: span 12/span 12;
grid-template-columns: repeat(12, minmax(0, 1fr));
}
.grid-start-2 {
grid-column-start: 2;
}
.grid-start-3 {
grid-column-start: 3;
}
.grid-start-4 {
grid-column-start: 4;
}
.grid-start-5 {
grid-column-start: 5;
}
.grid-start-6 {
grid-column-start: 6;
}
.grid-start-7 {
grid-column-start: 7;
}
.grid-start-8 {
grid-column-start: 8;
}
.grid-start-9 {
grid-column-start: 9;
}
.grid-start-10 {
grid-column-start: 10;
}
.grid-start-11 {
grid-column-start: 11;
}
.grid-start-12 {
grid-column-start: 12;
}
.grid-span-2 {
grid-column-end: span 2;
}
.grid-span-3 {
grid-column-end: span 3;
}
.grid-span-4 {
grid-column-end: span 4;
}
.grid-span-5 {
grid-column-end: span 5;
}
.grid-span-6 {
grid-column-end: span 6;
}
.grid-span-7 {
grid-column-end: span 7;
}
.grid-span-8 {
grid-column-end: span 8;
}
.grid-span-9 {
grid-column-end: span 9;
}
.grid-span-10 {
grid-column-end: span 10;
}
.grid-span-11 {
grid-column-end: span 11;
}
.grid-span-12 {
grid-column-end: span 12;
}
.flex-group-center,
.flex-group-left,
.flex-group-right {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
}
.flex-group-left {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
text-align: left;
}
.flex-group-right {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
text-align: right;
}
.flex-align-left {
align-items: flex-start;
}
.flex-align-right {
align-items: flex-end;
}
.gap-xs {
gap: 2px;
}
.gap-sm {
gap: 4px;
}
.gap-md {
gap: 8px;
}
.gap-lg {
gap: 16px;
}
.flexshrink {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
}
.flex-between {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.flexlarge {
-webkit-box-flex: 2;
-ms-flex: 2;
flex: 2;
}
.align-left {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
text-align: left;
}
.align-right {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
text-align: right;
}
.align-center {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.system-vermine2047 .item-form {
font-family: "Roboto", sans-serif;
}
.system-vermine2047 .sheet-header {
-webkit-box-flex: 0;
-ms-flex: 0 auto;
flex: 0 auto;
overflow: hidden;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
margin-bottom: 10px;
}
.system-vermine2047 .sheet-header .profile-img {
-webkit-box-flex: 0;
-ms-flex: 0 0 100px;
flex: 0 0 100px;
height: 100px;
margin-right: 10px;
}
.system-vermine2047 .sheet-header .header-fields {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.system-vermine2047 .sheet-header h1.charname {
height: 50px;
padding: 0px;
margin: 5px 0;
border-bottom: 0;
}
.system-vermine2047 .sheet-header h1.charname input {
width: 100%;
height: 100%;
margin: 0;
}
.system-vermine2047 .sheet-tabs {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
}
.system-vermine2047 .sheet-body .tab,
.system-vermine2047 .sheet-body .tab .editor {
height: 100%;
min-width: 100%;
}
.system-vermine2047 .sheet-body .tab .editor {
min-height: 75px;
margin-bottom: 1rem;
min-width: 100%;
.editor-content {
min-width: 100%;
min-height: 3rem;
}
}
.system-vermine2047 editor:hover .editor-edit {
display: block;
}
.system-vermine2047 .tox {
min-height: 25vh;
}
.system-vermine2047 .tox .tox-editor-container {
background: #fff;
}
.system-vermine2047 .tox .tox-edit-area {
padding: 0 8px;
}
.system-vermine2047 .resource-label {
font-weight: bold;
}
.system-vermine2047 .items-header {
height: 28px;
margin: 2px 0;
padding: 0;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: rgba(0, 0, 0, 0.05);
border: 2px groove #eeede0;
font-weight: bold;
}
.system-vermine2047 .items-header>* {
font-size: 14px;
text-align: center;
}
.system-vermine2047 .items-header .item-name {
font-weight: bold;
padding-left: 5px;
text-align: left;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.system-vermine2047 .items-list {
list-style: none;
margin: 0;
padding: 0;
overflow-y: auto;
scrollbar-width: thin;
color: #444;
}
.system-vermine2047 .items-list .item-list {
list-style: none;
margin: 0;
padding: 0;
}
.system-vermine2047 .items-list .item-name {
-webkit-box-flex: 2;
-ms-flex: 2;
flex: 2;
margin: 0;
overflow: hidden;
font-size: 13px;
text-align: left;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.system-vermine2047 .items-list .item-name h3,
.system-vermine2047 .items-list .item-name h4 {
margin: 0;
white-space: nowrap;
overflow-x: hidden;
}
.system-vermine2047 .items-list .item-controls {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.system-vermine2047 .items-list .item-controls a {
font-size: 12px;
text-align: center;
margin: 0 6px;
}
.system-vermine2047 .items-list .item {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 0 2px;
border-bottom: 1px solid #c9c7b8;
}
.system-vermine2047 .items-list .item:last-child {
border-bottom: none;
}
.system-vermine2047 .items-list .item .item-name {
color: #191813;
}
.system-vermine2047 .items-list .item .item-name .item-image {
-webkit-box-flex: 0;
-ms-flex: 0 0 30px;
flex: 0 0 30px;
height: 30px;
background-size: 30px;
border: none;
margin-right: 5px;
}
.system-vermine2047 .items-list .item-prop {
text-align: center;
border-left: 1px solid #c9c7b8;
border-right: 1px solid #c9c7b8;
font-size: 12px;
}
.system-vermine2047 .items-list .items-header {
height: 28px;
margin: 2px 0;
padding: 0;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: rgba(0, 0, 0, 0.05);
border: 2px groove #eeede0;
font-weight: bold;
}
.system-vermine2047 .items-list .items-header>* {
font-size: 12px;
text-align: center;
}
.system-vermine2047 .items-list .items-header .item-name {
padding-left: 5px;
text-align: left;
}
.system-vermine2047 .item-formula {
-webkit-box-flex: 0;
-ms-flex: 0 0 200px;
flex: 0 0 200px;
padding: 0 8px;
}
.system-vermine2047 .effects .item .effect-source,
.system-vermine2047 .effects .item .effect-duration,
.system-vermine2047 .effects .item .effect-controls {
text-align: center;
border-left: 1px solid #c9c7b8;
border-right: 1px solid #c9c7b8;
font-size: 12px;
}
.system-vermine2047 .effects .item .effect-controls {
border: none;
}
.chat-message .message-header {
line-height: 20px;
color: white;
text-shadow: 0px 0px 5px black;
background: #1918135e
}
span.game-mode {
font-family: "DistressBlack",
sans-serif;
position: absolute;
margin-left: auto;
color: transparent;
top: 1rem;
z-index: 900;
width: 55%;
text-align: center;
text-transform: uppercase;
font-weight: 900;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.767) 0%, rgba(0, 0, 0, 0.61) 17%, rgba(0, 0, 0, 0.548) 19%, rgba(222, 255, 221, 0.575) 24%, rgba(255, 255, 255, 0.637) 43%, rgba(0, 0, 0, 0.486) 47%, rgba(254, 255, 254, 0.466) 50%, rgba(0, 0, 0, 0.699) 63%, rgba(134, 160, 137, 0.479) 64%, rgba(213, 248, 210, 0.493) 100%);
background-clip: text;
&#game-mode-1 {
color: rgba(235, 218, 143, 0.8);
}
&#game-mode-2 {
color: rgb(131, 248, 131);
}
&#game-mode-3 {
color: rgba(245, 124, 124, 0.8);
}
}
+2
View File
@@ -0,0 +1,2 @@
@import "./base_work.scss";
@import "./style.scss";