foundryvtt-reve-de-dragon/styles/simple.css

1114 lines
24 KiB
CSS
Raw Normal View History

/* ==================== (A) Fonts ==================== */
2020-05-24 20:19:57 +02:00
@font-face {
font-family: "GoudyAcc";
src: url('../fonts/goudyacc.ttf') format("truetype");
}
@font-face {
font-family: "MedievalSharp";
src: url('../fonts/MedievalSharp.ttf') format("truetype");
}
@font-face {
2020-11-20 16:53:16 +01:00
font-family: "GrenzeGotisch";
src: url('../fonts/GrenzeGotisch-Regular.ttf') format("truetype");
}
@font-face {
2020-11-20 16:53:16 +01:00
font-family: "Fondamento";
src: url('../fonts/Fondamento.ttf') format("truetype");
2020-05-24 20:19:57 +02:00
}
2020-11-21 14:30:00 +01:00
@font-face {
font-family: "CaslonAntique";
src: url('../fonts/CaslonAntique.ttf') format("truetype");
}
2020-05-24 20:19:57 +02:00
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
2020-11-21 14:30:00 +01:00
--window-header-title-font-family: CaslonAntique;
--window-header-title-font-size: 1.5rem;
2020-05-24 20:19:57 +02:00
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
2020-11-21 14:30:00 +01:00
--major-button-font-family: CaslonAntique;
2020-11-20 16:53:16 +01:00
--major-button-font-size: 1.25rem;
2020-05-24 20:19:57 +02:00
--major-button-font-weight: normal;
--major-button-color: #dadada;
2020-11-21 14:30:00 +01:00
--tab-header-font-family: CaslonAntique;
2020-11-21 14:40:52 +01:00
--tab-header-font-size: 1.2rem;
2020-05-24 20:19:57 +02:00
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
2020-11-21 14:30:00 +01:00
--actor-input-font-family: CaslonAntique;
2020-11-21 14:40:52 +01:00
--actor-input-font-size: 1.2rem;
2020-05-24 20:19:57 +02:00
--actor-input-font-weight: 500;
--actor-input-color: black;
2020-11-21 14:30:00 +01:00
--actor-label-font-family: CaslonAntique;
2020-11-21 14:40:52 +01:00
--actor-label-font-size: 1.2rem;
2020-05-24 20:19:57 +02:00
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
--debug-background-color-red: #ff000054;
--debug-background-color-blue: #1d00ff54;
--debug-background-color-green: #54ff0054;
--debug-box-shadow-red: inset 0 0 2px red;
--debug-box-shadow-blue: inset 0 0 2px blue;
--debug-box-shadow-green: inset 0 0 2px green;
}
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
2020-11-20 16:53:16 +01:00
/* Global styles & Font */
2020-05-24 20:19:57 +02:00
.window-app {
2020-11-21 14:30:00 +01:00
font-family: CaslonAntique;
2020-11-07 23:31:18 +01:00
text-align: justify;
font-size: 16px;
letter-spacing: 1px;
}
2020-11-20 16:53:16 +01:00
/* Fonts */
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {font-family: "GoudyAcc"} /* For title, sidebar character and scene */
.sheet nav.sheet-tabs {font-family: "CaslonAntique";} /* For nav and title */
.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 #nav-toggle {
font-family: "CaslonAntique"; /* For sheet parts */
2020-11-20 16:53:16 +01:00
}
.window-header{
2020-11-20 16:53:16 +01:00
background: rgba(0,0,0,0.75);
}
.window-app.sheet .window-content {
margin: 0;
padding: 0;
}
.tabs .item.active, .blessures-list li ul li:first-child:hover, a:hover {
text-shadow: 1px 0px 0px #ff6600;
2020-05-21 21:48:20 +02:00
}
2020-05-24 20:19:57 +02:00
.rollable:hover, .rollable:focus {
color: #000;
text-shadow: 0 0 10px red;
cursor: pointer;
}
2020-11-20 16:53:16 +01:00
table {border: 1px solid #7a7971;}
.grid, .grid-2col {
2020-05-24 20:19:57 +02:00
display: grid;
grid-column: span 2 / span 2;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin: 10px 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 5 / span 5;
grid-template-columns: repeat(5, 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));
}
.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;
2020-05-21 21:48:20 +02:00
padding: 5px;
2020-05-24 20:19:57 +02:00
}
.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;
2020-05-21 21:48:20 +02:00
}
2020-05-24 20:19:57 +02:00
.flex-center {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flex-between {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
/* Styles limited to foundryvtt-reve-de-dragon sheets */
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .sheet-header {
2020-05-24 20:19:57 +02:00
-webkit-box-flex: 0;
-ms-flex: 0 0 210px;
flex: 0 0 210px;
2020-05-21 21:48:20 +02:00
overflow: hidden;
2020-05-24 20:19:57 +02:00
display: -webkit-box;
display: -ms-flexbox;
2020-05-21 21:48:20 +02:00
display: flex;
2020-05-24 20:19:57 +02:00
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
2020-05-21 21:48:20 +02:00
flex-direction: row;
2020-05-24 20:19:57 +02:00
-ms-flex-wrap: wrap;
2020-05-21 21:48:20 +02:00
flex-wrap: wrap;
2020-05-24 20:19:57 +02:00
-webkit-box-pack: start;
-ms-flex-pack: start;
2020-05-21 21:48:20 +02:00
justify-content: flex-start;
margin-bottom: 10px;
}
2020-05-24 20:19:57 +02:00
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .sheet-header .profile-img {
2020-05-24 20:19:57 +02:00
-webkit-box-flex: 0;
2020-09-20 22:12:42 +02:00
-ms-flex: 0 0 128px;
flex: 0 0 128px;
height: 128px;
width: 128px;
2020-05-21 21:48:20 +02:00
margin-right: 10px;
object-fit: cover;
object-position: 50% 0;
2020-05-21 21:48:20 +02:00
}
2020-05-24 20:19:57 +02:00
.button-img {
width: 8%;
height: 8%;
border-width: 0;
}
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .sheet-header .header-fields {
2020-05-24 20:19:57 +02:00
-webkit-box-flex: 1;
-ms-flex: 1;
2020-05-21 21:48:20 +02:00
flex: 1;
}
2020-05-24 20:19:57 +02:00
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .sheet-header h1.charname {
2020-05-21 21:48:20 +02:00
height: 50px;
padding: 0px;
margin: 5px 0;
border-bottom: 0;
}
2020-05-24 20:19:57 +02:00
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .sheet-header h1.charname input {
2020-05-21 21:48:20 +02:00
width: 100%;
height: 100%;
margin: 0;
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .sheet-tabs {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
}
.foundryvtt-reve-de-dragon .sheet-body,
.foundryvtt-reve-de-dragon .sheet-body .tab,
.foundryvtt-reve-de-dragon .sheet-body .tab .editor {
height: 100%;
2020-05-21 21:48:20 +02:00
}
2020-05-24 20:19:57 +02:00
2020-11-03 09:14:14 +01:00
.editor {
2020-11-05 19:01:44 +01:00
border: 2;
height: 300px;
padding: 0 3px;
2020-11-03 09:14:14 +01:00
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .tox .tox-editor-container {
background: #fff;
}
.foundryvtt-reve-de-dragon .tox .tox-edit-area {
padding: 0 8px;
}
.foundryvtt-reve-de-dragon .resource-label {
font-weight: bold;
text-transform: uppercase;
2020-05-21 21:48:20 +02:00
}
2020-05-24 20:19:57 +02:00
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .tabs {
2020-05-21 21:48:20 +02:00
height: 40px;
border-top: 1px solid #AAA;
border-bottom: 1px solid #AAA;
}
2020-05-24 20:19:57 +02:00
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .tabs .item {
2020-05-21 21:48:20 +02:00
line-height: 40px;
font-weight: bold;
}
2020-05-24 20:19:57 +02:00
2020-05-22 19:28:01 +02:00
.foundryvtt-reve-de-dragon .tabs .item.active {
2020-05-21 21:48:20 +02:00
text-decoration: underline;
text-shadow: none;
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .items-list {
2020-05-21 21:48:20 +02:00
list-style: none;
margin: 7px 0;
padding: 0;
overflow-y: auto;
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .items-list .item-header {
font-weight: bold;
}
.foundryvtt-reve-de-dragon .items-list .item {
2020-05-21 21:48:20 +02:00
height: 30px;
line-height: 24px;
padding: 3px 0;
border-bottom: 1px solid #BBB;
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .items-list .item .item-image {
-webkit-box-flex: 0;
-ms-flex: 0 0 24px;
2020-05-21 21:48:20 +02:00
flex: 0 0 24px;
margin-right: 5px;
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .items-list .item img {
display: block;
2020-05-21 21:48:20 +02:00
}
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .items-list .item-name {
2020-05-21 21:48:20 +02:00
margin: 0;
}
2020-05-22 19:28:01 +02:00
2020-05-24 20:19:57 +02:00
.foundryvtt-reve-de-dragon .items-list .item-controls {
-webkit-box-flex: 0;
-ms-flex: 0 0 86px;
flex: 0 0 86px;
text-align: right;
2020-05-22 19:28:01 +02:00
}
2020-05-24 20:19:57 +02:00
2020-11-21 23:24:00 +01:00
.rdddialog .dialog-roll-sort s{
width: 600px;
2020-06-01 23:50:10 +02:00
height: 430px;
2020-11-21 23:24:00 +01:00
z-index: 9999;
display: block;
}
.table-resolution-carac {
background-color: yellow;
}
.table-resolution-target {
font-weight: bold;
background-color: lightblue;
}
2020-05-24 20:19:57 +02:00
/* ======================================== */
/* Sheet */
.window-app.sheet .window-content .sheet-header{
2020-11-21 14:30:00 +01:00
background: #011d33 url("img/bg_header.webp") 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);
2020-11-20 16:53:16 +01:00
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{
2020-11-20 16:53:16 +01:00
background: rgb(245,245,240) url("img/bg_left.jpg") no-repeat left top;
}
section.sheet-body{padding: 0.25rem 0.5rem;}
.sheet header.sheet-header .profile-img {
object-fit: cover;
object-position: 50% 0;
margin: 0.5rem 0 0.5rem 0.5rem;
padding: 0;
}
.sheet nav.sheet-tabs {
2020-11-21 18:16:18 +01:00
font-size: 0.65rem;
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);
2020-11-20 16:53:16 +01:00
background: rgb(245,245,240) 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 {
content: "";
display: block;
clear: both;
}
2020-11-20 16:53:16 +01:00
.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);
}
2020-11-20 16:53:16 +01:00
.window-app.sheet .window-content .tooltip:hover .tooltiptext {
top: 2rem;
left: 2rem;
margin: 0;
padding: 0.25rem;
}
2020-11-20 16:53:16 +01:00
.window-app.sheet .window-content .carac-value, .window-app.sheet .window-content .competence-xp {
margin: 0.05rem;
flex-basis: 3rem;
text-align: center;
}
2020-05-27 23:47:49 +02:00
2020-11-20 16:53:16 +01:00
/* ======================================== */
/* Global UI elements */
2020-06-12 22:46:04 +02:00
/* ======================================== */
h1, h2, h3, h4 {
font-weight: bold;
}
ul, ol {
margin: 0;
padding: 0;
}
ul, li {
list-style-type: none;
}
.sheet li {
margin: 0.125rem;
padding: 0.25rem;
}
.header-fields li {
margin: 0;
padding: 0;
}
.alterne-list > .list-item:hover {
background: rgba(100, 100, 50, 0.25);
}
2020-11-24 18:39:27 +01:00
.alterne-list > .list-item:nth-child(even) {
background: rgba(80, 60, 0, 0.10);
2020-11-24 16:41:15 +01:00
}
2020-11-24 18:39:27 +01:00
.alterne-list > .list-item:nth-child(odd) {
background: rgb(160, 130, 100, 0.05);
2020-11-24 16:41:15 +01:00
}
.blessures-list ul {
display: flex;
}
.blessures-list li {
flex: 1;
flex-basis: auto;
}
.blessures-list li ul li:first-child {
flex: 0;
align-items: center;
justify-content: center;
padding: 0.5rem;
cursor: pointer;
}
2020-11-24 18:39:27 +01:00
.carac-label {
font-weight: bold;
}
.list-item {
margin: 0.125rem;
2020-11-24 16:41:15 +01:00
box-shadow: inset 0px 0px 1px #00000096;
border-radius: 0.25rem;
padding: 0.125rem;
flex: 1 1 5rem;
2020-11-24 16:41:15 +01:00
}
.item-display-show {
display: block;
}
.item-display-hide {
display: none;
}
.conteneur-type {
background: rgb(200, 10, 100, 0.25);
}
.item-quantite {
margin-left: 0.5rem;
}
.list-item-margin1 {
margin-left: 1rem;
}
.list-item-margin2 {
margin-left: 2rem;
}
.list-item-margin3 {
margin-left: 3rem;
}
.list-item-margin4 {
margin-left: 4rem;
}
2020-06-12 22:46:04 +02:00
.sheet-competence-img {
width: 24px;
height: 24px;
flex-grow: 0;
2020-11-20 16:53:16 +01:00
margin-right: 0.25rem;
2020-06-12 22:46:04 +02:00
}
.competence-column {
flex-direction: column;
align-content: flex-start;
justify-content: flex-start;
flex-grow: 0;
flex-basis: 1;
}
2020-06-12 22:46:04 +02:00
.competence-header {
align-content: flex-start;
justify-content: flex-start;
font-weight: bold;
flex-grow: 0;
2020-06-12 22:46:04 +02:00
}
2020-11-25 20:30:48 +01:00
.arme-label,
2020-09-06 14:11:59 +02:00
.competence-label,
.description-label {
2020-06-12 22:46:04 +02:00
flex-grow: 2;
}
2020-09-20 21:14:05 +02:00
.attribut-value,
.carac-value {
flex-grow: 0;
flex-basis: 64px;
margin-right: 4px;
margin-left: 4px;
}
2020-09-20 21:14:05 +02:00
.sante-value,
2020-06-12 22:46:04 +02:00
.competence-value {
flex-grow: 0;
2020-11-20 16:53:16 +01:00
flex-basis: 2rem;
margin-right: 0.25rem;
margin-left: 0.25rem;
2020-06-12 22:46:04 +02:00
}
2020-09-06 14:11:59 +02:00
.description-value {
flex-grow: 0;
2020-11-20 16:53:16 +01:00
flex-basis: 4rem;
margin-right: 0.25rem;
margin-left: 0.25rem;
2020-09-06 14:11:59 +02:00
}
2020-06-12 22:46:04 +02:00
.competence-xp {
flex-grow: 0;
2020-11-20 16:53:16 +01:00
flex-basis: 2rem;
margin-right: 0.25rem;
margin-left: 0.25rem;
2020-06-12 22:46:04 +02:00
}
.blessures-title {
font-weight: bold;
}
.blessure-data {
flex-direction: row;
align-content: flex-start;
justify-content: flex-start;
}
2020-06-12 22:46:04 +02:00
.blessures-soins {
flex-grow: 0;
flex-basis: 32px;
margin-right: 4px;
margin-left: 4px;
}
.blessures-loc {
flex-grow: 0;
flex-basis: 96px;
margin-right: 4px;
margin-left: 4px;
}
2020-07-14 22:26:22 +02:00
.pointsreve-value {
flex-grow: 0;
flex-basis: 64px;
margin-right: 4px;
margin-left: 4px;
}
2020-09-20 21:14:05 +02:00
.input-sante-header,
2020-08-29 22:52:41 +02:00
.stress-style {
flex-grow: 0;
flex-basis: 64px;
margin-right: 4px;
margin-left: 4px;
}
2020-06-12 22:46:04 +02:00
/* ======================================== */
.item-checkbox {
height: 25px;
border: 1px solid #736953a6;
border-left: none;
font-weight: 500;
font-size: 1rem;
2020-06-12 22:46:04 +02:00
color: black;
padding-top: 5px;
margin-right: 0px;
width: 45px;
position: relative;
left: 0px;
text-align: center;
}
2020-05-27 23:47:49 +02:00
/* ======================================== */
/* Fatigue CSS */
.table-fatigue {
table-layout: fixed;
2020-11-20 16:53:16 +01:00
padding: 0;
margin: 0;
2020-05-27 23:47:49 +02:00
}
.table-fatigue td {
table-layout: fixed;
2020-11-17 18:40:02 +01:00
width: 2px;
height: 2px;
2020-11-20 16:53:16 +01:00
padding: 0;
2020-05-28 23:36:09 +02:00
}
.table-fatigue .fatigue-used {
background-color: DarkRed;
border: 1px solid #999;
2020-05-27 23:47:49 +02:00
}
.table-fatigue .fatigue-none {
2020-11-17 19:06:06 +01:00
background-color: Grey;
2020-05-27 23:47:49 +02:00
border: 1px solid #999;
}
.table-fatigue .fatigue-free {
border: 1px solid #999;
}
2020-05-28 23:36:09 +02:00
.table-fatigue .fatigue-malus {
font-size: 0.8rem;
2020-05-28 23:36:09 +02:00
}
.flex-actions-bar {
2020-05-28 23:36:09 +02:00
flex-grow: 2;
}
2020-06-11 00:29:32 +02:00
/* ======================================== */
/* Sidebar CSS */
#sidebar {
font-size: 1rem;
background: rgb(105,85,65) url("img/bg_sid_dark.jpg") no-repeat right bottom;
background-position: 100%;
2020-11-20 16:53:16 +01:00
color: rgba(220,220,220,0.75);
}
#sidebar-tabs > .collapse, #chat-controls .chat-control-icon {
2020-11-20 16:53:16 +01:00
color: rgba(220,220,220,0.75);
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 {
2020-11-20 16:53:16 +01:00
background: rgba(220,220,210,0.5);
font-size: 1rem;
}
2020-11-20 16:53:16 +01:00
.chat-message.whisper {
background: rgba(220,220,210,0.75);
border: 2px solid #545469;
}
#sidebar-tabs {
2020-11-20 16:53:16 +01:00
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);
}
2020-06-11 00:29:32 +02:00
#sidebar-tabs > .item.active {
2020-11-20 16:53:16 +01:00
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{
width: 25px;
height: 25px;
display: inline-block;
background-position:center;
background-size:cover;
text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
2020-06-11 00:29:32 +02:00
}
2020-09-20 16:36:39 +02:00
#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;}
2020-11-20 16:53:16 +01:00
#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;
}
2020-09-20 16:36:39 +02:00
/*--------------------------------------------------------------------------*/
/* CALENDAR STUFF */
#calendar-time-container{
position: absolute;
bottom: 75px;
left: 223px;
display: block;
}
#calendar{
2020-11-20 16:53:16 +01:00
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);
2020-09-20 16:36:39 +02:00
}
#calendar-hdr{
display: grid;
font-size: 1rem;
2020-09-20 16:36:39 +02:00
margin: 3px;
padding: 4px;
text-align: center;
height: 25px;
width: fit-content;
min-width: 200px;
border-bottom: 1px solid #111;
}
#calendar-date{
grid-row: 1;
grid-column: 2;
float: left;
text-align: center;
padding-top: 0px;
padding-bottom: 0px;
margin-bottom: 5px;
color: #CCC;
cursor: pointer;
}
#calendar-date,
#calendar-date-num {
transition: 0.2s;
}
#calendar-date-num {
grid-row: 1;
grid-column: 2;
float: left;
text-align: center;
padding-top: 0px;
padding-bottom: 0px;
margin-bottom: 5px;
color: #CCC;
opacity: 0;
cursor: pointer;
}
#calendar-hdr:hover #calendar-date {
opacity: 0;
}
#calendar-hdr:hover #calendar-date-num{
opacity: 1;
}
#calendar-events{
grid-row: 1;
grid-column: 1;
float: left;
margin-right: 5px;
width: 10%;
text-align: center;
}
#calendar-events:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
#calendar-weather{
grid-row: 1;
grid-column: 3;
float: inline-end;
margin-left: 5px;
width: 10%;
text-align: center;
}
#calendar-weather:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
.calendar-container{
padding-top: 3px;
padding-bottom: 20px;
}
.calendar-btn-container-left{
width: 20%;
display: grid;
float: left;
margin: 2px;
grid-row-gap: 3px;
}
.calendar-btn-container-right{
width: 20%;
display: grid;
float: right;
margin: 2px;
grid-row-gap: 3px;
}
#calendar-btn-sec{
grid-row: 1;
grid-column: 1;
margin: auto;
color: rgba(0, 0, 0, 0.5);
cursor: not-allowed;
}
#calendar-btn-halfMin{
grid-row: 1;
grid-column: 2;
margin: auto;
color: rgba(0, 0, 0, 0.5);
cursor: not-allowed;
}
#calendar-btn-min{
grid-row: 2;
grid-column: 1;
margin-left: 10px;
}
#calendar-btn-fiveMin{
grid-row: 2;
grid-column: 2;
margin-left: 10px;
}
#calendar-btn-night{
grid-row: 1;
grid-column: 1;
height: fit-content;
text-align: center;
vertical-align: center;
}
#calendar-btn-day{
grid-row: 1;
grid-column: 2;
height: fit-content;
text-align: center;
vertical-align: center;
}
#calendar-btn-quick{
grid-row: 2;
grid-column: 1;
height: fit-content;
text-align: center;
vertical-align: center;
}
#calendar-btn-long{
grid-row: 2;
grid-column: 2;
height: fit-content;
text-align: center;
vertical-align: center;
}
#calendar-btn-sec:hover {
border: 0px solid #000;
cursor: not-allowed;
}
#calendar-btn-halfMin:hover {
border: 0px solid #000;
cursor: not-allowed;
}
#calendar-btn-min:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
#calendar-btn-fiveMin:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
#calendar-btn-quick:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
#calendar-btn-long:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
#calendar-btn-day:hover {
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
#calendar-btn-night:hover{
color: #FFF;
border: 0px solid #000;
cursor: pointer;
}
.calendar-weekday-time{
display: grid;
float: left;
width: 55%;
padding-top: 0px;
padding-bottom: 0px;
margin: auto;
color: #CCC;
}
#calendar-weekday{
grid-column: 1;
grid-row: 1;
text-align: center;
margin: auto;
border-bottom: 1px solid #111;
}
.calendar-time{
grid-column: 1;
grid-row: 2;
text-align: center;
margin: auto;
cursor: pointer;
display: inline-flex;
}
.calendar-time-disp{
position: relative;
bottom: 6px;
}
2020-11-18 20:16:59 +01:00
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 360px;
2020-11-20 16:53:16 +01:00
background-color: rgba(30, 25, 20, 0.9);
2020-11-18 20:16:59 +01:00
text-align: center;
padding: 5px 0;
border-radius: 6px;
/* Position the tooltip text */
position: absolute;
z-index: 1;
top: 30px;
left: -30%;
2020-11-18 20:16:59 +01:00
/* Fade in tooltip */
opacity: 0;
transition: opacity 0.3s;
2020-11-20 16:53:16 +01:00
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;
2020-11-18 20:16:59 +01:00
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}