Datamodel + Appv2 migration, WIP

This commit is contained in:
2026-01-12 23:32:51 +01:00
parent 2abd2c881a
commit ed76a49e7d
27 changed files with 1695 additions and 1494 deletions

View File

@@ -1,162 +0,0 @@
.window-content {
form {
background-image: url("/systems/bol/ui/logo.webp");
background-repeat: no-repeat;
background-size: @logo-width @logo-height;
.sidebar {
padding-top: @logo-height;
min-width: @sidebar-width;
width: @sidebar-width;
max-width: @sidebar-width;
.profile-img {
cursor: pointer;
border: none;
background-color: #EEE;
height: auto;
width: calc(@sidebar-width - 10px);
min-width: calc(@sidebar-width - 10px);
max-width: calc(@sidebar-width - 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: @attributes-width @attributes-height;
}
&.agility {
background-image: url("/systems/bol/ui/attributes/agility.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: @attributes-width @attributes-height;
}
&.mind {
background-image: url("/systems/bol/ui/attributes/mind.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: @attributes-width @attributes-height;
}
&.appeal {
background-image: url("/systems/bol/ui/attributes/appeal.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: @attributes-width @attributes-height;
}
.stat-value {
margin-top: -10px;
}
}
}
}
}
}
}
.bol-footer {
height: @deco-height;
max-height: @deco-height;
min-height: @deco-height;
.footer-left {
img {
border: none;
height: @deco-height;
max-height: @deco-height;
min-height: @deco-height;
transform: scaleX(-1);
}
}
.footer-center {
margin-top: 20px;
margin-left: calc(-@deco-width * 2);
margin-right: calc(-@deco-width * 2);
height: @footer-height;
max-height: @footer-height;
min-height: @footer-height;
background-color: black;
}
.footer-right {
text-align: right;
img {
border: none;
height: @deco-height;
max-height: @deco-height;
min-height: @deco-height;
}
}
}
.stat-max {
font-size: 1rem;
font-weight: bold;
color: @colorOlive;
}
.stat-value {
font-size: 1.5rem;
font-weight: bold;
color: @c-darkred;
}
.stat-roll {
font-size: 1.5rem;
color: @colorOlive;
&.malus {
color: @c-darkred;
}
&.bonus {
color: darkgreen;
}
}
.header-field-label,
.stat-label {
font-weight: bold;
font-family: @font-tertiary;
font-size: 2rem;
font-variant: small-caps;
}
.rounded {
border-radius: 100px;
width: 4rem;
height: 4rem;
}
.rounded-border {
border: 3px solid @colorOlive;
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 @colorOlive;
width: 4rem;
height: 4rem;
}

View File

@@ -1,101 +0,0 @@
.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") 108/3 repeat;
border-image-outset: 1;
background: white;
margin:0;
padding:0;
height: 100%;
.sheet-header {
//background-color: red;
background-image: url("/systems/bol/ui/banner.webp");
background-repeat: no-repeat;
background-size: @deco-width @deco-height;
background-position-y: -15px;
background-position-x: right;
height: @logo-height;
min-height: @logo-height;
max-height: @logo-height;
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: @colorOlive;
font-family: @font-secondary;
font-size: 1.5rem;
background-color: #EEE;
}
}
}
}
.main {
/* Sheet Tabs */
.tabs {
flex: 0 0 30px;
background-color: black;
.item {
line-height: 30px;
font-weight: bold;
font-family: @font-handwrite;
color: white;
padding-top: 4px;
font-size: 0.8em;
}
.item.active {
text-decoration: underline;
text-shadow: none;
}
}
.sheet-body {
overflow: hidden;
.tab {
height: 95%;
border:none;
overflow-y: auto;
/* Items List */
&.description {
.editor, .editor-content {
height: 100%;
}
}
}
}
}
}
}

View File

@@ -1,40 +0,0 @@
h1 {
input.itemname {
font-family: @font-charname;
}
}
.item-properties {
flex: 0 0 150px;
margin: 5px 5px 5px 0;
padding-right: 5px;
border-right: @borderGroove;
.form-group {
margin: 0;
label {
line-height: 20px;
}
//input {
// text-align: right;
//}
}
.properties-list {
list-style: none;
margin: 0;
padding: 0;
li {
margin: 3px 0;
padding: 0 2px;
background: rgba(0, 0, 0, 0.05);
border: @borderGroove;
text-align: center;
font-size: 12px;
line-height: 18px;
}
}
}