DataModels + Appv2 migration : OK

This commit is contained in:
2026-02-28 21:00:06 +01:00
parent 8017bb207d
commit 1ffb8b08fc
119 changed files with 2268 additions and 384 deletions

View File

@@ -442,8 +442,14 @@ ul.no-bullets {
background-color: lightgray;
}
.items-list .item-header .item-name {
font-family: "Wolfsbane2Expanded", cursive;
font-size: 1.5em;
font-family: "Wolfsbane2Expanded", cursive !important;
font-size: 1.32em !important;
color: #191813 !important;
}
.items-list .item-header .item-field {
font-family: 'Signika', sans-serif !important;
font-size: 0.85em !important;
color: #4b4a44 !important;
}
.items-list .item {
min-height: 30px;
@@ -451,6 +457,8 @@ ul.no-bullets {
padding: 3px 0 3px 3px;
border-bottom: 1px solid #BBB;
align-items: stretch;
color: #4b4a44;
font-size: 0.9em;
}
.items-list .item .item-image {
flex: 0 0 30px;
@@ -490,6 +498,11 @@ ul.no-bullets {
.items-list .item .item-name,
.items-list .item .item-field {
margin: 0;
color: #333;
font-size: 0.84rem;
font-family: inherit;
display: flex;
align-items: center;
}
.items-list .item .item-controls-1 {
flex: 0 0 18px;
@@ -603,6 +616,144 @@ ul.no-bullets {
color: #fff;
}
/* ----------------------------------------- */
/* Post Item Chat Card */
/* ----------------------------------------- */
.bol-post-item {
color: #191813;
}
.bol-post-item .bpi-header {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 8px;
padding-bottom: 6px;
border-bottom: 2px solid #8b7355;
margin-bottom: 8px;
}
.bol-post-item .bpi-header .bpi-img {
width: 52px;
height: 52px;
border: 1px outset lightgray;
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
object-fit: cover;
flex: 0 0 52px;
}
.bol-post-item .bpi-header .bpi-title-block {
flex: 1;
}
.bol-post-item .bpi-header .bpi-title-block .bpi-name {
margin: 0 0 2px 0;
font-family: "Wolfsbane2Expanded", cursive;
font-size: 1.1em;
color: #4b4a44;
line-height: 1.2;
border: none;
}
.bol-post-item .bpi-header .bpi-title-block .bpi-type {
font-family: "IMFellDWPicaSC-Regular", serif;
font-size: 0.8em;
color: #7a7060;
font-style: italic;
}
.bol-post-item .bpi-stats-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 3px 12px;
margin: 4px 0;
padding: 4px 6px;
background: rgba(139, 115, 85, 0.08);
border: 1px solid rgba(139, 115, 85, 0.25);
border-radius: 3px;
}
.bol-post-item .bpi-stats-row .bpi-stat {
display: flex;
flex-direction: row;
align-items: baseline;
gap: 4px;
}
.bol-post-item .bpi-stats-row .bpi-stat .bpi-sl {
font-family: "IMFellDWPicaSC-Regular", serif;
font-size: 0.72em;
color: #7a7060;
font-style: italic;
}
.bol-post-item .bpi-stats-row .bpi-stat .bpi-sv {
font-weight: bold;
font-size: 0.88em;
color: #191813;
}
.bol-post-item .bpi-tags {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 3px;
margin: 3px 0;
}
.bol-post-item .bpi-tags .bpi-tag {
padding: 1px 7px;
border: 1px solid #8b7355;
border-radius: 10px;
font-size: 0.7em;
color: #4b4a44;
background: rgba(139, 115, 85, 0.12);
font-family: "IMFellDWPicaSC-Regular", serif;
}
.bol-post-item .bpi-tags .bpi-tag-magic {
border-color: #6a4a9c;
color: #5a3a8c;
background: rgba(106, 74, 156, 0.1);
}
.bol-post-item .bpi-tags .bpi-tag-bonus {
border-color: #2d7a2d;
color: #1a5a1a;
background: rgba(45, 122, 45, 0.1);
}
.bol-post-item .bpi-tags .bpi-tag-malus {
border-color: #8b2020;
color: #6a1a1a;
background: rgba(139, 32, 32, 0.1);
}
.bol-post-item .bpi-conditions {
margin: 3px 0;
}
.bol-post-item .bpi-conditions .bpi-cond-label {
font-family: "IMFellDWPicaSC-Regular", serif;
font-size: 0.75em;
font-style: italic;
color: #7a7060;
}
.bol-post-item .bpi-conditions .bpi-condition {
display: inline-block;
margin: 1px 2px;
padding: 1px 6px;
border-radius: 3px;
font-size: 0.8em;
}
.bol-post-item .bpi-conditions .bpi-cond-req {
border: 1px solid #8b2020;
background: rgba(139, 32, 32, 0.08);
color: #6a1a1a;
}
.bol-post-item .bpi-conditions .bpi-cond-opt {
border: 1px solid #6a7a30;
background: rgba(106, 122, 48, 0.08);
color: #4a5a20;
}
.bol-post-item .bpi-description {
margin-top: 7px;
padding-top: 6px;
border-top: 1px dashed #c4a882;
}
.bol-post-item .bpi-description .bpi-desc-content {
font-size: 0.85em;
color: #191813;
line-height: 1.45;
}
.bol-post-item .bpi-description .bpi-desc-content p {
margin: 0 0 4px 0;
}
/* ----------------------------------------- */
/* Chat Messages */
/* ----------------------------------------- */
.message-header h2.damage {
@@ -692,7 +843,7 @@ body.system-bol img#logo {
overflow-y: hidden;
background: transparent;
}
.bol.sheet .window-content form {
.bol.sheet .window-content .bol-actor-form {
border: 10px solid transparent;
border-image: url("/systems/bol/ui/box-border-large.webp") 36 repeat;
border-image-outset: 1;
@@ -700,8 +851,10 @@ body.system-bol img#logo {
margin: 0;
padding: 0;
height: 100%;
position: relative;
width: 100%;
}
.bol.sheet .window-content form .sheet-header {
.bol.sheet .window-content .bol-actor-form .sheet-header {
background-image: url("/systems/bol/ui/banner.webp");
background-repeat: no-repeat;
background-size: 330px 62px;
@@ -718,7 +871,7 @@ body.system-bol img#logo {
align-items: flex-end;
padding-bottom: 10px;
}
.bol.sheet .window-content form .sheet-header .header-field .header-field-group {
.bol.sheet .window-content .bol-actor-form .sheet-header .header-field .header-field-group {
overflow: hidden;
display: flex;
flex-direction: row;
@@ -726,22 +879,72 @@ body.system-bol img#logo {
justify-content: flex-start;
align-items: baseline;
}
.bol.sheet .window-content form .sheet-header .header-field .header-field-group .header-field-label {
margin-right: 5px;
}
.bol.sheet .window-content form .sheet-header .header-field .header-field-group .charname,
.bol.sheet .window-content form .sheet-header .header-field .header-field-group .itemname,
.bol.sheet .window-content form .sheet-header .header-field .header-field-group .header-field-value {
.bol.sheet .window-content .bol-actor-form .sheet-header .header-field .header-field-group .charname,
.bol.sheet .window-content .bol-actor-form .sheet-header .header-field .header-field-group .itemname {
color: #4b4a44;
font-family: 'Contrail One', cursive;
font-size: 1.5rem;
background-color: #EEE;
font-family: "Wolfsbane2Expanded", cursive;
font-size: 1.65rem;
background-color: #2a2a2a30;
border: 1px solid #4b4a44 !important;
border-radius: 0.5rem;
width: 100%;
margin-bottom: 4px;
}
.bol.sheet .window-content form .main .tabs {
.bol.sheet .window-content .bol-actor-form .sheet-header .header-field .header-field-group .header-field-label {
margin-right: 5px;
font-size: 0.86rem;
}
.bol.sheet .window-content .bol-actor-form .sheet-header .header-field .header-field-group .header-field-label.xp-sublabel {
font-size: 0.9rem;
color: #606060;
}
.bol.sheet .window-content .bol-actor-form .sheet-header .header-field .header-field-group .header-field-value {
color: #4b4a44;
font-family: "Wolfsbane2Expanded", cursive;
font-size: 0.9rem;
background-color: #2a2a2a30;
border: 1px solid #4b4a44 !important;
border-radius: 0.5rem;
text-align: center;
}
.bol.sheet .window-content .bol-actor-form .sheet-header .header-buttons {
align-self: flex-end;
padding-bottom: 10px;
}
.bol.sheet .window-content .bol-actor-form .sheet-header .header-buttons .post-item {
flex: 0 0 auto;
height: 32px;
width: 32px;
line-height: 30px;
cursor: pointer;
background: rgba(0, 0, 0, 0.1);
border: 1px solid #999;
border-radius: 3px;
}
.bol.sheet .window-content .bol-actor-form .sheet-header .header-buttons .post-item:hover {
background: rgba(0, 0, 0, 0.2);
}
.bol.sheet .window-content .bol-actor-form .wrap {
flex: 1;
min-height: 0;
align-items: stretch;
}
.bol.sheet .window-content .bol-actor-form .bol-actor-sidebar {
align-self: flex-start;
}
.bol.sheet .window-content .bol-actor-form .main {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
height: 100%;
overflow: hidden;
}
.bol.sheet .window-content .bol-actor-form .main .tabs {
flex: 0 0 30px;
background-color: black;
}
.bol.sheet .window-content form .main .tabs .item {
.bol.sheet .window-content .bol-actor-form .main .tabs .item {
line-height: 30px;
font-weight: bold;
font-family: "CCMeanwhile", cursive;
@@ -749,21 +952,49 @@ body.system-bol img#logo {
padding-top: 4px;
font-size: 0.8em;
}
.bol.sheet .window-content form .main .tabs .item.active {
.bol.sheet .window-content .bol-actor-form .main .tabs .item.active {
text-decoration: underline;
text-shadow: none;
}
.bol.sheet .window-content form .main .sheet-body {
.bol.sheet .window-content .bol-actor-form .main .sheet-body {
flex: 1;
min-height: 0;
overflow: hidden;
}
.bol.sheet .window-content form .main .sheet-body .tab {
height: 95%;
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab {
height: 100%;
border: none;
overflow-y: auto;
display: none;
}
.bol.sheet .window-content form .main .sheet-body .tab.description .editor,
.bol.sheet .window-content form .main .sheet-body .tab.description .editor-content {
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.active {
display: block;
}
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.stats hr {
margin-top: 6px;
margin-bottom: 6px;
}
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description .editor,
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description .editor-content,
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description prose-mirror {
height: 100%;
color: #191813;
}
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description prose-mirror .editor-content,
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description prose-mirror p,
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description prose-mirror div,
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description prose-mirror span {
color: #191813 !important;
}
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description input[type="text"],
.bol.sheet .window-content .bol-actor-form .main .sheet-body .tab.description input[type="number"] {
background-color: #2a2a2a30;
border: 1px solid #4b4a44 !important;
border-radius: 0.5rem;
color: #4b4a44;
text-align: center;
font-size: 0.95rem;
margin-left: 6px;
}
.sheet-profile-img {
cursor: pointer;
@@ -790,13 +1021,14 @@ body.system-bol img#logo {
background-repeat: no-repeat;
background-size: 190px 115px;
}
.bol.sheet.actor .window-content form .sidebar {
.bol.sheet.actor .window-content .bol-actor-form .sidebar {
padding-top: 115px;
min-width: 250px;
width: 250px;
max-width: 250px;
overflow: hidden;
}
.bol.sheet.actor .window-content form .sidebar .profile-img {
.bol.sheet.actor .window-content .bol-actor-form .sidebar .profile-img {
cursor: pointer;
border: none;
background-color: #EEE;
@@ -806,35 +1038,62 @@ body.system-bol img#logo {
max-width: calc(250px - 10px);
margin-right: 10px;
}
.bol.sheet.actor .window-content form .main .sheet-body {
.bol.sheet.actor .window-content .bol-actor-form .sidebar .items-list {
width: calc(250px - 10px);
max-width: calc(250px - 10px);
margin-right: 10px;
}
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body {
overflow: hidden;
}
.bol.sheet.actor .window-content form .main .sheet-body .tab .attribute.vigor {
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .attribute.vigor {
background-image: url("/systems/bol/ui/attributes/vigor.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: 64px 64px;
background-position: center 40%;
background-size: 100px 100px;
}
.bol.sheet.actor .window-content form .main .sheet-body .tab .attribute.agility {
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .attribute.agility {
background-image: url("/systems/bol/ui/attributes/agility.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: 64px 64px;
background-position: center 40%;
background-size: 100px 100px;
}
.bol.sheet.actor .window-content form .main .sheet-body .tab .attribute.mind {
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .attribute.mind {
background-image: url("/systems/bol/ui/attributes/mind.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: 64px 64px;
background-position: center 40%;
background-size: 100px 100px;
}
.bol.sheet.actor .window-content form .main .sheet-body .tab .attribute.appeal {
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .attribute.appeal {
background-image: url("/systems/bol/ui/attributes/appeal.webp");
background-repeat: no-repeat;
background-position: center center;
background-size: 64px 64px;
background-position: center 40%;
background-size: 100px 100px;
}
.bol.sheet.actor .window-content form .main .sheet-body .tab .attribute .stat-value {
margin-top: -10px;
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .attribute .stat-value {
margin-top: -18px;
}
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .attribute .stat-value.rounded {
background: transparent;
border: none;
box-shadow: none;
text-align: center;
line-height: 4rem;
}
.bol.sheet.actor .window-content .bol-actor-form .main .sheet-body .tab .aptitude .stat-value.rounded-border {
background: transparent;
text-align: center;
line-height: 4rem;
}
.bol.sheet.actor .resources-value {
text-align: center;
color: #4b4a44;
}
.bol.sheet.actor .inc-dec-btns-resource {
color: #8b0000;
}
.bol.sheet.actor .inc-dec-btns-resource:hover {
color: #4b4a44;
}
.bol.sheet.actor .bol-footer {
height: 62px;
@@ -855,7 +1114,6 @@ body.system-bol img#logo {
height: 30px;
max-height: 30px;
min-height: 30px;
background-color: black;
}
.bol.sheet.actor .bol-footer .footer-right {
text-align: right;
@@ -911,6 +1169,7 @@ body.system-bol img#logo {
font-family: "Wolfsbane2Expanded", cursive;
font-size: 2rem;
font-variant: small-caps;
color: #4b4a44;
}
.bol.sheet.actor .rounded {
border-radius: 100px;
@@ -1052,27 +1311,212 @@ body.system-bol img#logo {
min-width: 460px;
min-height: 400px;
}
.bol.sheet.item .window-content {
background: transparent !important;
color: #191813 !important;
padding: 10px;
overflow: hidden;
}
.bol.sheet.item .window-content .bol.sheet.item {
border: 10px solid transparent;
border-image: url("/systems/bol/ui/box-border-large.webp") 36 repeat;
border-image-outset: 1;
background: white !important;
color: #191813 !important;
margin: 0;
padding: 0;
height: 100%;
position: relative;
width: 100%;
display: flex;
flex-direction: column;
}
.bol.sheet.item .window-content .bol.sheet.item .wrap {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.bol.sheet.item .window-content .bol.sheet.item .wrap .main {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.bol.sheet.item .window-content .bol.sheet.item .wrap .main .sheet-body {
flex: 1;
min-height: 0;
overflow: hidden;
}
.bol.sheet.item .window-content .bol.sheet.item .wrap .main .sheet-body .tab {
display: none;
}
.bol.sheet.item .window-content .bol.sheet.item .wrap .main .sheet-body .tab.active {
display: block;
height: 100%;
overflow-y: auto;
}
.bol.sheet.item .window-content .bol.sheet.item .wrap .main .sheet-body .tab.properties {
padding: 5px 8px;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-header {
background-image: url("/systems/bol/ui/banner.webp");
background-size: 330px 62px;
background-position: 100% -15px;
background-repeat: no-repeat;
height: 115px;
min-height: 115px;
display: flex;
align-items: flex-end;
padding-bottom: 10px;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-header img.profile-img {
cursor: pointer;
border: none;
background-color: lightgray;
box-shadow: 5px 5px 5px black;
width: 96px;
height: 96px;
min-width: 96px;
min-height: 96px;
max-width: 96px;
max-height: 96px;
margin-right: 10px;
object-fit: cover;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-header .header-buttons {
align-self: flex-end;
padding-bottom: 10px;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-header .header-buttons .post-item {
color: #4b4a44;
background: rgba(0, 0, 0, 0.1);
border: 1px solid #999;
border-radius: 3px;
height: 32px;
width: 32px;
line-height: 30px;
cursor: pointer;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-header .header-buttons .post-item:hover {
color: #191813;
background: rgba(0, 0, 0, 0.2);
}
.bol.sheet.item .window-content .bol.sheet.item .tabs {
height: 44px;
background-color: black;
display: flex;
flex-shrink: 0;
}
.bol.sheet.item .window-content .bol.sheet.item .tabs a.item {
line-height: 44px;
font-weight: bold;
font-family: "CCMeanwhile", cursive;
color: white;
font-size: 0.9em;
}
.bol.sheet.item .window-content .bol.sheet.item .tabs a.item.active {
text-decoration: underline;
text-shadow: none;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active {
color: #191813;
display: block;
overflow: auto;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .editor,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .editor-content,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror p,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror div,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror span,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror h1,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror h2,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror h3,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .prosemirror h4,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .form-group:has(.prosemirror),
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.description.active .form-group:has(.editor) {
color: #191813 !important;
}
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.properties label,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.properties .form-group label,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.properties select,
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.properties input[type="text"],
.bol.sheet.item .window-content .bol.sheet.item .sheet-body .tab.properties input[type="number"] {
color: #191813;
}
.bol.sheet.item h1 input.itemname {
margin-top: 32px;
min-width: 24rem;
margin-top: 0;
min-width: 26.4rem;
font-family: "Wolfsbane2Expanded", cursive;
text-shadow: 3px 3px 5px #333;
}
.bol.sheet.item .window-content .bol.sheet.item .form-group {
display: flex;
flex-direction: row;
align-items: center;
margin: 3px 0;
}
.bol.sheet.item .window-content .bol.sheet.item .form-group label {
flex: 0 0 40%;
color: #191813;
font-weight: bold;
}
.bol.sheet.item .window-content .bol.sheet.item .form-group input[type="checkbox"] {
flex: 0 0 auto;
width: 16px;
height: 16px;
margin: 0;
position: static;
top: auto;
cursor: pointer;
}
.bol.sheet.item .window-content .bol.sheet.item .form-group input[type="text"],
.bol.sheet.item .window-content .bol.sheet.item .form-group input[type="number"],
.bol.sheet.item .window-content .bol.sheet.item .form-group select,
.bol.sheet.item .window-content .bol.sheet.item .form-group .form-fields {
flex: 1;
}
.bol.sheet.item .window-content .bol.sheet.item label.checkbox {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
color: #191813;
}
.bol.sheet.item .window-content .bol.sheet.item label.checkbox > input[type="checkbox"] {
position: static;
top: auto;
margin: 0;
flex: 0 0 auto;
}
.bol.sheet.item .window-content .bol.sheet.item input[type="text"],
.bol.sheet.item .window-content .bol.sheet.item input[type="number"],
.bol.sheet.item .window-content .bol.sheet.item input[type="text"]:hover,
.bol.sheet.item .window-content .bol.sheet.item input[type="number"]:hover,
.bol.sheet.item .window-content .bol.sheet.item input[type="text"]:focus,
.bol.sheet.item .window-content .bol.sheet.item input[type="number"]:focus,
.bol.sheet.item .window-content .bol.sheet.item select {
color: #191813;
background-color: #f0efe8;
border: 1px solid #999;
border-radius: 2px;
padding: 1px 4px;
}
.bol.sheet.item .window-content .bol.sheet.item select option {
background-color: #f0efe8;
color: #191813;
}
.bol.sheet.item .item-properties {
flex: 0 0 150px;
margin: 5px 5px 5px 0;
padding-right: 5px;
border-right: 1px groove #eeede0;
}
.bol.sheet.item .item-properties .form-group {
margin: 0;
}
.bol.sheet.item .item-properties .form-group label {
line-height: 20px;
margin: 5px 0;
padding-bottom: 5px;
border-bottom: 1px groove #eeede0;
}
.bol.sheet.item .item-properties .properties-list {
list-style: none;
margin: 0;
padding: 0;
display: block;
}
.bol.sheet.item .item-properties .properties-list li {
margin: 3px 0;