436 lines
7.6 KiB
CSS
436 lines
7.6 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap");
|
|
@font-face {
|
|
font-family: "Wood Stamp";
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src: local("Wood Stamp"), url("../fonts/Woodstamp.woff") format("woff");
|
|
}
|
|
|
|
/* Global styles */
|
|
.window-app {
|
|
font-family: "Lora", sans-serif;
|
|
}
|
|
|
|
.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;
|
|
padding: 0;
|
|
}
|
|
|
|
.grid-1col {
|
|
grid-column: span 1 / span 1;
|
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
}
|
|
|
|
.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;
|
|
padding: 5px;
|
|
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;
|
|
}
|
|
|
|
/* ----------------------------------------- */
|
|
/* Flexbox */
|
|
/* ----------------------------------------- */
|
|
.flexrow {
|
|
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;
|
|
}
|
|
|
|
.flexrow > * {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.flexrow .flex1 {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.flexrow .flex2 {
|
|
-webkit-box-flex: 2;
|
|
-ms-flex: 2;
|
|
flex: 2;
|
|
}
|
|
|
|
.flexrow .flex3 {
|
|
-webkit-box-flex: 3;
|
|
-ms-flex: 3;
|
|
flex: 3;
|
|
}
|
|
|
|
.flexrow .flex4 {
|
|
-webkit-box-flex: 4;
|
|
-ms-flex: 4;
|
|
flex: 4;
|
|
}
|
|
|
|
.flexcol {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-ms-flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.flexcol > * {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.flexcol .flex1 {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.flexcol .flex2 {
|
|
-webkit-box-flex: 2;
|
|
-ms-flex: 2;
|
|
flex: 2;
|
|
}
|
|
|
|
.flexcol .flex3 {
|
|
-webkit-box-flex: 3;
|
|
-ms-flex: 3;
|
|
flex: 3;
|
|
}
|
|
|
|
.flexcol .flex4 {
|
|
-webkit-box-flex: 4;
|
|
-ms-flex: 4;
|
|
flex: 4;
|
|
}
|
|
|
|
.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 ds4 sheets */
|
|
.ds4 .window-content {
|
|
overflow-y: hidden;
|
|
padding: 5px;
|
|
}
|
|
|
|
.ds4 .window-content form {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ds4 .window-content .tab {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
-ms-flex-line-pack: start;
|
|
align-content: flex-start;
|
|
}
|
|
|
|
.ds4 .item-form {
|
|
font-family: "Lora", sans-serif;
|
|
}
|
|
|
|
.ds4 header.sheet-header {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 210px;
|
|
flex: 0 0 210px;
|
|
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;
|
|
-webkit-box-align: start;
|
|
-ms-flex-align: start;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.ds4 header.sheet-header .profile-img {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 100px;
|
|
flex: 0 0 100px;
|
|
height: 100px;
|
|
margin: 5px 10px 5px 0;
|
|
}
|
|
|
|
.ds4 header.sheet-header .header-fields {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.ds4 header.sheet-header h1.charname {
|
|
height: 50px;
|
|
padding: 0px;
|
|
margin: 5px 10px 5px 0;
|
|
border-bottom: 0;
|
|
font-family: "Wood Stamp", sans-serif;
|
|
display: block;
|
|
}
|
|
|
|
.ds4 header.sheet-header h1.charname input {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.ds4 header.sheet-header h2.item-type {
|
|
font-family: "Wood Stamp", sans-serif;
|
|
display: block;
|
|
height: 50px;
|
|
padding: 0px;
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 0px;
|
|
flex: 0 0 0;
|
|
color: #777;
|
|
border: none;
|
|
line-height: 50px;
|
|
margin: 5px 0;
|
|
text-align: right;
|
|
}
|
|
|
|
.ds4 .sheet-tabs {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0;
|
|
flex: 0;
|
|
}
|
|
|
|
.ds4 .sheet-body,
|
|
.ds4 .sheet-body .tab {
|
|
height: 100%;
|
|
}
|
|
|
|
.ds4 .basic-properties {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 100%;
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
.ds4 .basic-properties .basic-property .basic-property-label {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ds4 .basic-properties .basic-property .basic-property-select {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.ds4 nav.tabs {
|
|
height: 40px;
|
|
border-top: 2px groove #eeede0;
|
|
border-bottom: 2px groove #eeede0;
|
|
}
|
|
|
|
.ds4 nav.tabs .item {
|
|
line-height: 40px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ds4 nav.tabs .item.active {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.ds4 .items-list {
|
|
list-style: none;
|
|
margin: 7px 0;
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ds4 .items-list .item-header {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ds4 .items-list .item {
|
|
height: 30px;
|
|
line-height: 24px;
|
|
padding: 3px 0;
|
|
border-bottom: 1px solid #BBB;
|
|
}
|
|
|
|
.ds4 .items-list .item .item-image {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 24px;
|
|
flex: 0 0 24px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.ds4 .items-list .item img {
|
|
display: block;
|
|
}
|
|
|
|
.ds4 .items-list .item-name {
|
|
margin: 0;
|
|
}
|
|
|
|
.ds4 .items-list .item-controls {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 86px;
|
|
flex: 0 0 86px;
|
|
text-align: right;
|
|
}
|
|
|
|
.ds4 .side-properties {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 0 150px;
|
|
flex: 0 0 150px;
|
|
margin: 5px 5px 5px 0;
|
|
padding-right: 5px;
|
|
border-right: 2px groove #eeede0;
|
|
}
|
|
|
|
.ds4 .side-properties .side-property {
|
|
margin: 2px 0;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.ds4 .side-properties .side-property label {
|
|
-webkit-box-flex: 2;
|
|
-ms-flex: 2;
|
|
flex: 2;
|
|
line-height: 26px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ds4 .side-properties .side-property input,
|
|
.ds4 .side-properties .side-property select {
|
|
text-align: right;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
width: calc(100% - 2px);
|
|
}
|
|
|
|
.ds4 .sheet-body .tab .editor {
|
|
height: 100%;
|
|
}
|
|
|
|
.ds4 .tox .tox-editor-container {
|
|
background: #fff;
|
|
}
|
|
|
|
.ds4 .tox .tox-edit-area {
|
|
padding: 0 8px;
|
|
}
|