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

344 lines
7.1 KiB
CSS
Raw Normal View History

2020-05-24 20:19:57 +02:00
/* ==================== (A) GOUDY ==================== */
@font-face {
font-family: "GoudyAcc";
src: url('../fonts/goudyacc.ttf');
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: GoudyAcc;
--window-header-title-font-size: 19px;
--window-header-title-font-weight: normal;
--window-header-title-color: #f5f5f5;
--major-button-font-family: GoudyAcc;
--major-button-font-size: 20px;
--major-button-font-weight: normal;
--major-button-color: #dadada;
--tab-header-font-family: GoudyAcc;
--tab-header-font-size: 16px;
--tab-header-font-weight: 700;
--tab-header-color: #403f3e;
--tab-header-color-active: #4a0404;
--actor-input-font-family: GoudyAcc;
--actor-input-font-size: 14px;
--actor-input-font-weight: 500;
--actor-input-color: black;
--actor-label-font-family: GoudyAcc;
--actor-label-font-size: 16px;
--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");*/
/* Global styles */
.window-app {
font-family: "GoudyAcc", sans-serif;
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;
}
.grid,
.grid-2col {
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
border: 1px solid #999;
}
.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 */
.foundryvtt-reve-de-dragon .item-form {
font-family: "Roboto", sans-serif;
}
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;
-ms-flex: 0 0 100px;
2020-05-21 21:48:20 +02:00
flex: 0 0 100px;
height: 100px;
margin-right: 10px;
}
2020-05-24 20:19:57 +02:00
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
.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
.rdddialog {
width: 600px;
height: 400px;
}
.table-resolution-carac {
background-color: yellow;
}
.table-resolution-target {
font-weight: bold;
background-color: lightblue;
}
2020-05-24 20:19:57 +02:00
2020-05-27 23:47:49 +02:00
/* ======================================== */
/* Global UI elements */
select {
font-family: "GoudyAcc", sans-serif;
}
button {
font-family: "GoudyAcc", sans-serif;
}
2020-05-27 23:47:49 +02:00
/* ======================================== */
/* Fatigue CSS */
.table-fatigue {
table-layout: fixed;
}
.table-fatigue td {
table-layout: fixed;
2020-05-28 23:36:09 +02:00
width: 4px;
height: 4px;
}
.table-fatigue .fatigue-used {
background-color: DarkRed;
border: 1px solid #999;
2020-05-27 23:47:49 +02:00
}
.table-fatigue .fatigue-none {
background-color: black;
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:8px;
}
.flex-fatigue {
flex-grow: 2;
}