Merge branch 'master' of gitlab.com:LeRatierBretonnien/foundryvtt-reve-de-dragon

This commit is contained in:
2020-11-20 17:00:02 +01:00
25 changed files with 232 additions and 366 deletions

View File

@ -8,43 +8,39 @@
src: url('../fonts/MedievalSharp.ttf') format("truetype");
}
@font-face {
font-family: "GrenzeGotisch-Light";
src: url('../fonts/GrenzeGotisch-Light.ttf') format("truetype");
}
@font-face {
font-family: "GrenzeGotisch-Regular";
font-family: "GrenzeGotisch";
src: url('../fonts/GrenzeGotisch-Regular.ttf') format("truetype");
}
@font-face {
font-family: "GrenzeGotisch-Bold";
src: url('../fonts/GrenzeGotisch-Bold.ttf') format("truetype");
font-family: "Fondamento";
src: url('../fonts/Fondamento.ttf') format("truetype");
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: GrenzeGotisch-Bold;
--window-header-title-font-family: Gothic;
--window-header-title-font-size: 1.5rem;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
--major-button-font-family: GrenzeGotisch-Regular;
--major-button-font-size: 20px;
--major-button-font-family: Gothic;
--major-button-font-size: 1.25rem;
--major-button-font-weight: normal;
--major-button-color: #dadada;
--tab-header-font-family: GrenzeGotisch-Bold;
--tab-header-font-size: 14px;
--tab-header-font-family: Gothic;
--tab-header-font-size: 1rem;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--actor-input-font-family: GrenzeGotisch-Regular;
--actor-input-font-size: 10px;
--actor-input-font-family: Gothic;
--actor-input-font-size: 1rem;
--actor-input-font-weight: 500;
--actor-input-color: black;
--actor-label-font-family: GrenzeGotisch-Bold;
--actor-label-font-size: 10px;
--actor-label-font-family: Gothic;
--actor-label-font-size: 1rem;
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
@ -59,19 +55,23 @@
}
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
/* Global styles */
/* Global styles & Font */
.window-app {
font-family: "GoudyAcc", sans-serif;
font-family: Gothic;
text-align: justify;
font-size: 14px;
letter-spacing: 1px;
}
.sheet header.sheet-header h1 input{font-family: "GoudyAcc", sans-serif;}
.window-app input {font-family: "GrenzeGotisch-Regular", sans-serif;}
/* Fonts */
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list {font-family: "GoudyAcc"}
.sheet nav.sheet-tabs {font-family: "MedievalSharp";}
.window-app input, .foundryvtt-reve-de-dragon .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #scene-list .scene.nav-item, #navigation #nav-toggle {
font-family: "Gothic";
}
.window-header{
background: rgba(0,0,0,0.75) url("bg_title.jpg") no-repeat left top;
background: rgba(0,0,0,0.75);
}
.window-app.sheet .window-content {
@ -89,6 +89,8 @@
cursor: pointer;
}
table {border: 1px solid #7a7971;}
.grid,
.grid-2col {
display: grid;
@ -192,9 +194,6 @@
justify-content: space-between;
}
/* Styles limited to foundryvtt-reve-de-dragon sheets */
.foundryvtt-reve-de-dragon .item-form {
font-family: "GrenzeGotisch-Regular";
}
.foundryvtt-reve-de-dragon .sheet-header {
-webkit-box-flex: 0;
@ -354,11 +353,6 @@
/* ======================================== */
/* Sheet */
.sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-actions-bar {font-family: "GrenzeGotisch-Regular";}
.sheet header.sheet-header .flex-compteurs {text-align: right;}
.sheet header.sheet-header .resource-content {width: 3rem;}
.window-app.sheet .window-content .sheet-header{
background: #011d33 url("img/bg_header.jpg") no-repeat left top;
color: rgba(255, 255, 255, 1);
@ -366,16 +360,18 @@
.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
color: rgba(255, 255, 255, 0.75);
background: rgba(255, 255, 255, 0.05);
border: 0 none;
margin-bottom: 0.25rem;
}
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
background: #f5f4f1 url("img/bg_left.jpg") no-repeat left top;
background: rgb(245,245,240) url("img/bg_left.jpg") no-repeat left top;
}
section.sheet-body{padding: 0.25rem 0.5rem;}
.sheet nav.sheet-tabs {
font-family: "MedievalSharp";
font-size: 0.75rem;
font-weight: bold;
height: 5rem;
@ -388,7 +384,7 @@ section.sheet-body{padding: 0.25rem 0.5rem;}
border-top: 0 none;
border-bottom: 0 none;
color: rgba(52, 52, 52, 0.95);
background: #f5f4f1 url("img/bg_menu.jpg") no-repeat left top;
background: rgb(245,245,240) url("img/bg_menu.jpg") no-repeat left top;
}
nav.sheet-tabs .item {
@ -416,22 +412,48 @@ section.sheet-body:after, section.sheet-body div:after {
clear: both;
}
.sheet header.sheet-header .flex-compteurs {text-align: right;}
.sheet header.sheet-header .resource-content {width: 2rem;}
.ctn-vie span, .ctn-endu span, .ctn-fatigue span, .ctn-reve span {
display: inline-block;
text-align: left;
width: 2rem;
}
#vie-plus, #vie-moins, #endurance-plus, #endurance-moins, #fatigue-plus, #fatigue-moins, #ptreve-actuel-plus, #ptreve-actuel-moins {
display: inline-block;
width: 1.25rem;
background: rgba(30, 25, 20, 1);
text-align: center;
border: 1px solid rgba(72, 46, 28, 1);
border-radius: 0.25rem;
line-height: 1.25rem;
color: rgba(255, 255, 255, 0.5);
}
.window-app.sheet .window-content .tooltip:hover .tooltiptext {
top: 2rem;
left: 2rem;
margin: 0;
padding: 0.25rem;
}
.window-app.sheet .window-content .carac-value, .window-app.sheet .window-content .competence-xp {
margin: 0.05rem;
flex-basis: 3rem;
text-align: center;
}
/* ======================================== */
/* Global UI elements */
select {
font-family: "GrenzeGotisch-Regular", sans-serif;
}
button {
font-family: "GrenzeGotisch-Regular", sans-serif;
}
/* ======================================== */
.sheet-competence-img {
width: 24px;
height: 24px;
flex-grow: 0;
margin-right: 4px;
margin-right: 0.25rem;
}
.competence-column {
flex-direction: column;
@ -460,21 +482,21 @@ button {
.sante-value,
.competence-value {
flex-grow: 0;
flex-basis: 64px;
margin-right: 4px;
margin-left: 4px;
flex-basis: 2rem;
margin-right: 0.25rem;
margin-left: 0.25rem;
}
.description-value {
flex-grow: 0;
flex-basis: 128px;
margin-right: 4px;
margin-left: 4px;
flex-basis: 4rem;
margin-right: 0.25rem;
margin-left: 0.25rem;
}
.competence-xp {
flex-grow: 0;
flex-basis: 64px;
margin-right: 4px;
margin-left: 4px;
flex-basis: 2rem;
margin-right: 0.25rem;
margin-left: 0.25rem;
}
.blessures-title {
font-weight: bold;
@ -515,7 +537,6 @@ button {
height: 25px;
border: 1px solid #736953a6;
border-left: none;
font-family: CaslonPro;
font-weight: 500;
font-size: 1rem;
color: black;
@ -531,13 +552,14 @@ button {
/* Fatigue CSS */
.table-fatigue {
table-layout: fixed;
padding: 0 0;
padding: 0;
margin: 0;
}
.table-fatigue td {
table-layout: fixed;
width: 2px;
height: 2px;
padding: 0 0;
padding: 0;
}
.table-fatigue .fatigue-used {
background-color: DarkRed;
@ -560,15 +582,14 @@ button {
/* ======================================== */
/* Sidebar CSS */
#sidebar {
font-family: "GrenzeGotisch-Regular", sans-serif;
font-size: 1rem;
background: #f5f4f1 url("img/bg_sid.jpg") no-repeat right bottom;
background: rgb(245,245,240) url("img/bg_sid_dark.jpg") no-repeat right bottom;
background-position: 100%;
color: rgba(0,0,0,0.75);
color: rgba(220,220,220,0.75);
}
#sidebar-tabs > .collapse, #chat-controls .chat-control-icon {
color: #ff6600;
color: rgba(220,220,220,0.75);
text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
}
@ -584,21 +605,27 @@ button {
}
.chat-message {
background: rgba(220,220,210,0.5);
font-size: 1rem;
}
.chat-message.whisper {
background: rgba(220,220,210,0.75);
border: 2px solid #545469;
}
#sidebar-tabs {
flex: 0 0 32px;
box-sizing: border-box;
margin: 0 0 5px;
border-bottom: 1px solid #ff6600;
box-shadow: inset 0 0 2rem rgba(0,0,0,0.25);
flex: 0 0 32px;
box-sizing: border-box;
margin: 0 0 5px;
border-bottom: 1px solid rgba(0,0,0,0);
box-shadow: inset 0 0 2rem rgba(0,0,0,0.5);
}
#sidebar-tabs > .item.active {
border: 0 none;
background: rgba(255,255,255,0.5);
box-shadow: none;
border: 1px solid rgba(114,98,72,1);
background: rgba(30, 25, 20, 0.75);
box-shadow: 0 0 6px inset rgba(114,98,72,1);
}
#sidebar #sidebar-tabs i{
@ -623,6 +650,87 @@ button {
#sidebar #sidebar-tabs i.fa-atlas {background: url("img/ui/icon_sidebar_compendium.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-cogs {background: url("img/ui/icon_sidebar_settings.svg") no-repeat;}
#combat #combat-controls {
box-shadow: inset 0 0 2rem rgba(0,0,0,0.5);
}
/*--------------------------------------------------------------------------*/
/* Control, Tool, hotbar & navigation */
#controls .scene-control, #controls .control-tool {
box-shadow: 0 0 3px #000;
margin: 0 0 8px;
border-radius: 0;
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
#controls .scene-control.active, #controls .control-tool.active, #controls .scene-control:hover, #controls .control-tool:hover {
background: rgba(72, 46, 28, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
box-shadow: 0 0 3px #ff6400;
}
#hotbar #action-bar #macro-list {
border: 1px solid rgba(72, 46, 28, 1);
box-shadow: 2px 2px 5px #000000;
}
#hotbar #action-bar .macro {
border-image: url(img/ui/bg_control.jpg) 21 repeat;
border-image-slice: 6 6 6 6 fill;
border-image-width: 6px 6px 6px 6px;
border-image-outset: 0px 0px 0px 0px;
border-radius: 0px;
}
#hotbar .bar-controls {
background: rgba(30, 25, 20, 1);
border: 1px solid rgba(72, 46, 28, 1);
}
#players {
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
background: rgba(30, 25, 20, 1);
}
#navigation #scene-list .scene.nav-item.active {
background: rgba(72, 46, 28, 1);
}
#navigation #scene-list .scene.nav-item {
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
#navigation #scene-list .scene.view, #navigation #scene-list .scene.context {
background: rgba(72, 46, 28, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
box-shadow: 0 0 3px #ff6400;
}
#navigation #nav-toggle {
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
/*--------------------------------------------------------------------------*/
/* CALENDAR STUFF */
#calendar-time-container{
@ -632,16 +740,16 @@ button {
display: block;
}
#calendar{
min-width: 150px;
grid-row: 1;
grid-column: 1;
width: fit-content;
height: 75px;
margin: 0;
padding: 0;
border: 1px solid #000;
border-radius: 3%;
background: rgba(0, 0, 0, 0.5);
min-width: 150px;
grid-row: 1;
grid-column: 1;
width: fit-content;
height: 75px;
margin: 0;
padding: 0;
border: 1px solid #000;
border-radius: 3%;
background: rgba(0, 0, 0, 0.5);
}
#calendar-hdr{
display: grid;
@ -880,7 +988,7 @@ background: rgba(0, 0, 0, 0.5);
.tooltip .tooltiptext {
visibility: hidden;
width: 360px;
background-color: rgba(0,0,0,0.9);
background-color: rgba(30, 25, 20, 0.9);
text-align: center;
padding: 5px 0;
border-radius: 6px;
@ -894,6 +1002,12 @@ background: rgba(0, 0, 0, 0.5);
/* Fade in tooltip */
opacity: 0;
transition: opacity 0.3s;
border-image: url(img/ui/bg_control.jpg) 21 repeat;
border-image-slice: 6 6 6 6 fill;
border-image-width: 6px 6px 6px 6px;
border-image-outset: 0px 0px 0px 0px;
border-radius: 0px;
}
/* Show the tooltip text when you mouse over the tooltip container */