Datamodel + Appv2 migration, WIP
This commit is contained in:
328
styles/components/actor.less
Normal file
328
styles/components/actor.less
Normal file
@@ -0,0 +1,328 @@
|
||||
/* ----------------------------------------- */
|
||||
/* Actor Sheet Styles */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.bol.sheet.actor {
|
||||
min-width: 820px;
|
||||
min-height: 700px;
|
||||
height: 700px;
|
||||
|
||||
.window-content {
|
||||
.bol-actor-form {
|
||||
background-image: url("/systems/bol/ui/logo.webp");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 190px 115px;
|
||||
}
|
||||
|
||||
form {
|
||||
.sidebar {
|
||||
padding-top: 115px;
|
||||
min-width: 250px;
|
||||
width: 250px;
|
||||
max-width: 250px;
|
||||
|
||||
.profile-img {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
background-color: #EEE;
|
||||
height: auto;
|
||||
width: calc(250px - 10px);
|
||||
min-width: calc(250px - 10px);
|
||||
max-width: calc(250px - 10px);
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
.sheet-body {
|
||||
overflow: hidden;
|
||||
|
||||
.tab {
|
||||
.attribute {
|
||||
&.vigor {
|
||||
background-image: url("/systems/bol/ui/attributes/vigor.webp");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 64px 64px;
|
||||
}
|
||||
|
||||
&.agility {
|
||||
background-image: url("/systems/bol/ui/attributes/agility.webp");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 64px 64px;
|
||||
}
|
||||
|
||||
&.mind {
|
||||
background-image: url("/systems/bol/ui/attributes/mind.webp");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 64px 64px;
|
||||
}
|
||||
|
||||
&.appeal {
|
||||
background-image: url("/systems/bol/ui/attributes/appeal.webp");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: 64px 64px;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
margin-top: -10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bol-footer {
|
||||
height: 62px;
|
||||
max-height: 62px;
|
||||
min-height: 62px;
|
||||
|
||||
.footer-left img {
|
||||
border: none;
|
||||
height: 62px;
|
||||
max-height: 62px;
|
||||
min-height: 62px;
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
.footer-center {
|
||||
margin-top: 20px;
|
||||
margin-left: calc(-330px * 2);
|
||||
margin-right: calc(-330px * 2);
|
||||
height: 30px;
|
||||
max-height: 30px;
|
||||
min-height: 30px;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.footer-right {
|
||||
text-align: right;
|
||||
|
||||
img {
|
||||
border: none;
|
||||
height: 62px;
|
||||
max-height: 62px;
|
||||
min-height: 62px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.stat-max {
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
color: #4b4a44;
|
||||
}
|
||||
|
||||
.bonus-text {
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: darkred;
|
||||
}
|
||||
|
||||
.resource-bonus {
|
||||
font-weight: bold;
|
||||
color: darkred;
|
||||
}
|
||||
|
||||
.resources-value {
|
||||
background-color: #2a2a2a30;
|
||||
border-color: #003c1e;
|
||||
margin-top: 4px;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.resources-novalue {
|
||||
background-color: #2a2a2a00;
|
||||
border-color: #003c1e;
|
||||
margin-top: 4px;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.stat-roll {
|
||||
font-size: 1.5rem;
|
||||
color: #4b4a44;
|
||||
|
||||
&.malus {
|
||||
color: darkred;
|
||||
}
|
||||
|
||||
&.bonus {
|
||||
color: darkgreen;
|
||||
}
|
||||
}
|
||||
|
||||
.header-field-label,
|
||||
.stat-label {
|
||||
font-weight: bold;
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
font-size: 2rem;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.rounded {
|
||||
border-radius: 100px;
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
.rounded-border {
|
||||
border: 3px solid #4b4a44;
|
||||
box-shadow: 5px 5px 5px gray;
|
||||
border-radius: 100px;
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
.half-rounded {
|
||||
border-radius: 100px 100px 0px 0px;
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
}
|
||||
|
||||
.half-rounded-border {
|
||||
border-radius: 100px 100px 0px 0px;
|
||||
border: 3px solid #4b4a44;
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* HUD and Chat Extensions */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.rollable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.chat-message .chat-icon {
|
||||
float: right;
|
||||
border: 1px outset lightgray;
|
||||
box-shadow: 3px 3px 3px black;
|
||||
margin: 3px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.dialog-button {
|
||||
max-height: 2rem;
|
||||
}
|
||||
|
||||
.xp-next {
|
||||
color: darkgrey;
|
||||
font-size: 1.0rem;
|
||||
border: 1px solid #4b4a44;
|
||||
box-shadow: 1px 1px 1px gray;
|
||||
border-radius: 100px;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
}
|
||||
|
||||
.tooltip-container {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
.tooltiptext {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
background-color: #f2f3a2a0;
|
||||
padding: 4px;
|
||||
width: 4rem;
|
||||
border-radius: 25%;
|
||||
border-width: 1px;
|
||||
transform: translate(-40%, -60%);
|
||||
}
|
||||
|
||||
&:hover .tooltiptext {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.tokenhudext {
|
||||
display: flex;
|
||||
flex: 0 !important;
|
||||
font-family: CaslonPro;
|
||||
font-weight: 600;
|
||||
|
||||
&.left {
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: 2.75rem;
|
||||
right: 16rem;
|
||||
}
|
||||
|
||||
&.right {
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: -4rem;
|
||||
max-width: 250px;
|
||||
left: 4rem;
|
||||
}
|
||||
|
||||
&.right2 {
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: -4rem;
|
||||
left: 11rem;
|
||||
}
|
||||
}
|
||||
|
||||
.control-icon.tokenhudicon {
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
min-width: 6rem;
|
||||
flex-basis: auto;
|
||||
padding: 0.20rem;
|
||||
line-height: 1.1rem;
|
||||
margin: 0.20rem;
|
||||
|
||||
&.right {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
#token-hud .status-effects.active {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.bol-hud-menu label {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
.bol-margin-tb-2 {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.character-summary-container {
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.character-summary-rollable {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.activated-green {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.compendium-sidebar .directory-item.compendium.locked .compendium-banner {
|
||||
opacity: 0.5;
|
||||
}
|
||||
127
styles/components/common.less
Normal file
127
styles/components/common.less
Normal file
@@ -0,0 +1,127 @@
|
||||
/* ----------------------------------------- */
|
||||
/* Common Sheet Styles */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
body.system-bol img#logo {
|
||||
content: url("/systems/bol/ui/logo2.webp");
|
||||
}
|
||||
|
||||
.journal-page-content {
|
||||
/* Reserved for future use */
|
||||
}
|
||||
|
||||
.bol.sheet {
|
||||
.window-header {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.window-content {
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
overflow-y: hidden;
|
||||
background: transparent;
|
||||
|
||||
form {
|
||||
border: 10px solid transparent;
|
||||
border-image: url("/systems/bol/ui/box-border-large.webp") 36 repeat;
|
||||
border-image-outset: 1;
|
||||
background: white;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
|
||||
.sheet-header {
|
||||
background-image: url("/systems/bol/ui/banner.webp");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 330px 62px;
|
||||
background-position-y: -15px;
|
||||
background-position-x: right;
|
||||
height: 115px;
|
||||
min-height: 115px;
|
||||
max-height: 115px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-end;
|
||||
padding-bottom: 10px;
|
||||
|
||||
.header-field {
|
||||
.header-field-group {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
align-items: baseline;
|
||||
|
||||
.header-field-label {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.charname,
|
||||
.itemname,
|
||||
.header-field-value {
|
||||
color: #4b4a44;
|
||||
font-family: 'Contrail One', cursive;
|
||||
font-size: 1.5rem;
|
||||
background-color: #EEE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
.tabs {
|
||||
flex: 0 0 30px;
|
||||
background-color: black;
|
||||
|
||||
.item {
|
||||
line-height: 30px;
|
||||
font-weight: bold;
|
||||
font-family: "CCMeanwhile", cursive;
|
||||
color: white;
|
||||
padding-top: 4px;
|
||||
font-size: 0.8em;
|
||||
|
||||
&.active {
|
||||
text-decoration: underline;
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sheet-body {
|
||||
overflow: hidden;
|
||||
|
||||
.tab {
|
||||
height: 95%;
|
||||
border: none;
|
||||
overflow-y: auto;
|
||||
|
||||
&.description {
|
||||
.editor,
|
||||
.editor-content {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sheet-profile-img {
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
background-color: #EEE;
|
||||
height: auto;
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
min-width: 96px;
|
||||
min-height: 96px;
|
||||
max-width: 96px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
56
styles/components/item.less
Normal file
56
styles/components/item.less
Normal file
@@ -0,0 +1,56 @@
|
||||
/* ----------------------------------------- */
|
||||
/* Item Sheet Styles */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.bol.sheet.item {
|
||||
min-width: 460px;
|
||||
min-height: 400px;
|
||||
|
||||
h1 input.itemname {
|
||||
margin-top: 32px;
|
||||
min-width: 24rem;
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
}
|
||||
|
||||
.item-properties {
|
||||
flex: 0 0 150px;
|
||||
margin: 5px 5px 5px 0;
|
||||
padding-right: 5px;
|
||||
border-right: 1px groove #eeede0;
|
||||
|
||||
.form-group {
|
||||
margin: 0;
|
||||
|
||||
label {
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.properties-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
margin: 3px 0;
|
||||
padding: 0 2px;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border: 1px groove #eeede0;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bol.dialog .sheet-header h3 {
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
font-size: 24px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.editor,
|
||||
.editor-content {
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user