Update styles and img for make system more visual

Update simple.css,
Add /img,
Add font,
Create svg and background img for sheet and menu
This commit is contained in:
Mandar
2020-11-17 03:00:10 +01:00
parent 87b594953b
commit e77b63af69
47 changed files with 5573 additions and 144 deletions

View File

@ -1,33 +1,49 @@
/* ==================== (A) GOUDY ==================== */
/* ==================== (A) Fonts ==================== */
@font-face {
font-family: "GoudyAcc";
src: url('../fonts/goudyacc.ttf');
src: url('../fonts/goudyacc.ttf') format("truetype");
}
@font-face {
font-family: "MedievalSharp";
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";
src: url('../fonts/GrenzeGotisch-Regular.ttf') format("truetype");
}
@font-face {
font-family: "GrenzeGotisch-Bold";
src: url('../fonts/GrenzeGotisch-Bold.ttf') format("truetype");
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: GoudyAcc;
--window-header-title-font-size: 19px;
--window-header-title-font-family: GrenzeGotisch-Bold;
--window-header-title-font-size: 1.5rem;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
--major-button-font-family: GoudyAcc;
--major-button-font-family: GrenzeGotisch-Regular;
--major-button-font-size: 20px;
--major-button-font-weight: normal;
--major-button-color: #dadada;
--tab-header-font-family: GoudyAcc;
--tab-header-font-family: GrenzeGotisch-Bold;
--tab-header-font-size: 14px;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--actor-input-font-family: GoudyAcc;
--actor-input-font-family: GrenzeGotisch-Regular;
--actor-input-font-size: 12px;
--actor-input-font-weight: 500;
--actor-input-color: black;
--actor-label-font-family: GoudyAcc;
--actor-label-font-family: GrenzeGotisch-Bold;
--actor-label-font-size: 12px;
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
@ -47,6 +63,24 @@
.window-app {
font-family: "GoudyAcc", sans-serif;
text-align: justify;
font-size: 18px;
letter-spacing: 1px;
}
.sheet header.sheet-header h1 input{font-family: "GoudyAcc", sans-serif;}
.window-app input {font-family: "GrenzeGotisch-Regular", sans-serif;}
.window-header{
background: rgba(0,0,0,0.75) url("bg_title.jpg") no-repeat left top;
}
.window-app.sheet .window-content {
margin: 0;
padding: 0;
}
.tabs .item.active, a:hover {
text-shadow: 1px 0px 0px #ff6600;
}
.rollable:hover, .rollable:focus {
@ -157,10 +191,9 @@
-ms-flex-pack: justify;
justify-content: space-between;
}
/* Styles limited to foundryvtt-reve-de-dragon sheets */
.foundryvtt-reve-de-dragon .item-form {
font-family: "Roboto", sans-serif;
font-family: "GrenzeGotisch-Regular";
}
.foundryvtt-reve-de-dragon .sheet-header {
@ -312,13 +345,84 @@
background-color: lightblue;
}
/* ======================================== */
/* Sheet */
.sheet header.sheet-header .flex-group-center.flex-hp, .sheet header.sheet-header .flex-group-center.flex-fatigue {font-family: "GrenzeGotisch-Regular";}
.sheet header.sheet-header .flex-hp {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);
}
.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);
}
.window-app .window-content, .window-app.sheet .window-content .sheet-body{
background: #f5f4f1 url("img/bg_left.jpg") no-repeat left top;
}
.sheet header.sheet-header img {
flex: 0 0 64px;
height: 64px;
margin: 0.5rem;
}
section.sheet-body{padding: 0.25rem 0 0 3rem;}
.sheet nav.sheet-tabs {
font-family: "MedievalSharp";
font-size: 0.75rem;
font-weight: bold;
height: 5rem;
flex: 0 0 5rem;
margin: 0;
padding: 0 0 0 0.25rem;
text-align: center;
text-transform: uppercase;
line-height: 2.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;
}
nav.sheet-tabs .item {
position: relative;
padding: 0 0.25rem;
}
nav.sheet-tabs .item:after {
content: "";
position: absolute;
top: 0;
right: 0;
height: 2rem;
width: 1px;
border-right: 1px dashed rgba(52, 52, 52, 0.25);
}
.sheet .tab[data-tab] {
padding: 0;
}
section.sheet-body:after, section.sheet-body div:after {
content: "";
display: block;
clear: both;
}
/* ======================================== */
/* Global UI elements */
select {
font-family: "GoudyAcc", sans-serif;
font-family: "GrenzeGotisch-Regular", sans-serif;
}
button {
font-family: "GoudyAcc", sans-serif;
font-family: "GrenzeGotisch-Regular", sans-serif;
}
/* ======================================== */
@ -406,7 +510,7 @@ button {
border-left: none;
font-family: CaslonPro;
font-weight: 500;
font-size: 14px;
font-size: 1rem;
color: black;
padding-top: 5px;
margin-right: 0px;
@ -438,7 +542,7 @@ button {
border: 1px solid #999;
}
.table-fatigue .fatigue-malus {
font-size:8px;
font-size: 0.8rem;
}
.flex-fatigue {
flex-grow: 2;
@ -446,132 +550,70 @@ 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-position: 100%;
color: rgba(0,0,0,0.75);
}
#sidebar-tabs > .collapse, #chat-controls .chat-control-icon {
color: #ff6600;
text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
}
.sidebar-tab .directory-list .entity {
border-top: 1px dashed rgba(0,0,0,0.25);
border-bottom: 0 none;
padding: 0.25rem 0;
}
.sidebar-tab .directory-list .entity:hover {
background: rgba(0,0,0,0.05);
cursor: pointer;
}
.chat-message {
font-size: 1rem;
}
#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);
}
#sidebar-tabs > .item.active {
color: #FFF;
border: 1px solid red;
box-shadow: 0 0 6px inset #ff6400;
border: 0 none;
background: rgba(255,255,255,0.5);
box-shadow: none;
}
#sidebar #sidebar-tabs i.fa-comments::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-comments {
content: "";
background-image: url("ui/icon_sidebar_chat.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-fist-raised::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-fist-raised {
content: "";
background-image: url("ui/icon_sidebar_fight.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-users::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-users {
content: "";
background-image: url("ui/icon_sidebar_actor.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-map::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-map {
content: "";
background-image: url("ui/icon_sidebar_scene.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-suitcase::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-suitcase {
content: "";
background-image: url("ui/icon_sidebar_item.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-book-open::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-book-open {
content: "";
background-image: url("ui/icon_sidebar_journal.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-th-list::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-th-list {
content: "";
background-image: url("ui/icon_sidebar_rolltable.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-music::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-music {
content: "";
background-image: url("ui/icon_sidebar_music.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-atlas::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-atlas {
content: "";
background-image: url("ui/icon_sidebar_compendium.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
}
#sidebar #sidebar-tabs i.fa-cogs::before {
content: "";
}
#sidebar #sidebar-tabs i.fa-cogs {
content: "";
background-image: url("ui/icon_sidebar_settings.png") !important;
width: 25px !important;
height: 25px !important;
display: inline-block !important;
background-position:center !important;
background-size:cover !important;
#sidebar #sidebar-tabs i{
width: 25px;
height: 25px;
display: inline-block;
background-position:center;
background-size:cover;
text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
}
#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.fa-cogs:before {content: "";}
#sidebar #sidebar-tabs i.fa-comments {background: url("img/ui/icon_sidebar_chat.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-fist-raised {background: url("img/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-users {background: url("img/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-map {background: url("img/ui/icon_sidebar_scene.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-suitcase {background: url("img/ui/icon_sidebar_item.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-book-open {background: url("img/ui/icon_sidebar_journal.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-th-list {background: url("img/ui/icon_sidebar_rolltable.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-music {background: url("img/ui/icon_sidebar_music.svg") no-repeat;}
#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;}
/*--------------------------------------------------------------------------*/
/* CALENDAR STUFF */
#calendar-time-container{
@ -594,7 +636,7 @@ background: rgba(0, 0, 0, 0.5);
}
#calendar-hdr{
display: grid;
font-size: 16px;
font-size: 1rem;
margin: 3px;
padding: 4px;
text-align: center;