DataModels + Appv2 migration : OK
This commit is contained in:
@@ -14,12 +14,13 @@
|
||||
background-size: 190px 115px;
|
||||
}
|
||||
|
||||
form {
|
||||
.bol-actor-form {
|
||||
.sidebar {
|
||||
padding-top: 115px;
|
||||
min-width: 250px;
|
||||
width: 250px;
|
||||
max-width: 250px;
|
||||
overflow: hidden;
|
||||
|
||||
.profile-img {
|
||||
cursor: pointer;
|
||||
@@ -31,6 +32,12 @@
|
||||
max-width: calc(250px - 10px);
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.items-list {
|
||||
width: calc(250px - 10px);
|
||||
max-width: calc(250px - 10px);
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
@@ -42,33 +49,50 @@
|
||||
&.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;
|
||||
}
|
||||
|
||||
&.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;
|
||||
}
|
||||
|
||||
&.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;
|
||||
}
|
||||
|
||||
&.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;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
margin-top: -10px;
|
||||
margin-top: -18px;
|
||||
&.rounded {
|
||||
background: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
text-align: center;
|
||||
line-height: 4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.aptitude {
|
||||
.stat-value {
|
||||
&.rounded-border {
|
||||
background: transparent;
|
||||
text-align: center;
|
||||
line-height: 4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -77,6 +101,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
.resources-value {
|
||||
text-align: center;
|
||||
color: #4b4a44;
|
||||
}
|
||||
|
||||
.inc-dec-btns-resource {
|
||||
color: #8b0000;
|
||||
&:hover { color: #4b4a44; }
|
||||
}
|
||||
|
||||
.bol-footer {
|
||||
height: 62px;
|
||||
max-height: 62px;
|
||||
@@ -97,7 +131,6 @@
|
||||
height: 30px;
|
||||
max-height: 30px;
|
||||
min-height: 30px;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.footer-right {
|
||||
@@ -166,6 +199,7 @@
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
font-size: 2rem;
|
||||
font-variant: small-caps;
|
||||
color: #4b4a44;
|
||||
}
|
||||
|
||||
.rounded {
|
||||
|
||||
@@ -21,7 +21,7 @@ body.system-bol img#logo {
|
||||
overflow-y: hidden;
|
||||
background: transparent;
|
||||
|
||||
form {
|
||||
.bol-actor-form {
|
||||
border: 10px solid transparent;
|
||||
border-image: url("/systems/bol/ui/box-border-large.webp") 36 repeat;
|
||||
border-image-outset: 1;
|
||||
@@ -29,6 +29,8 @@ body.system-bol img#logo {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
.sheet-header {
|
||||
background-image: url("/systems/bol/ui/banner.webp");
|
||||
@@ -56,23 +58,79 @@ body.system-bol img#logo {
|
||||
justify-content: flex-start;
|
||||
align-items: baseline;
|
||||
|
||||
.header-field-label {
|
||||
margin-right: 5px;
|
||||
.charname,
|
||||
.itemname {
|
||||
color: #4b4a44;
|
||||
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;
|
||||
}
|
||||
|
||||
.header-field-label {
|
||||
margin-right: 5px;
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.header-field-label.xp-sublabel {
|
||||
font-size: 0.9rem;
|
||||
color: #606060;
|
||||
}
|
||||
|
||||
.charname,
|
||||
.itemname,
|
||||
.header-field-value {
|
||||
color: #4b4a44;
|
||||
font-family: 'Contrail One', cursive;
|
||||
font-size: 1.5rem;
|
||||
background-color: #EEE;
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
font-size: 0.9rem;
|
||||
background-color: #2a2a2a30;
|
||||
border: 1px solid #4b4a44 !important;
|
||||
border-radius: 0.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-buttons {
|
||||
align-self: flex-end;
|
||||
padding-bottom: 10px;
|
||||
|
||||
.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;
|
||||
|
||||
&:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wrap {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.bol-actor-sidebar {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
.tabs {
|
||||
flex: 0 0 30px;
|
||||
background-color: black;
|
||||
@@ -93,17 +151,49 @@ body.system-bol img#logo {
|
||||
}
|
||||
|
||||
.sheet-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
|
||||
.tab {
|
||||
height: 95%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
overflow-y: auto;
|
||||
display: none;
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.stats {
|
||||
hr {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
&.description {
|
||||
.editor,
|
||||
.editor-content {
|
||||
.editor-content,
|
||||
prose-mirror {
|
||||
height: 100%;
|
||||
color: #191813;
|
||||
}
|
||||
prose-mirror .editor-content,
|
||||
prose-mirror p,
|
||||
prose-mirror div,
|
||||
prose-mirror span {
|
||||
color: #191813 !important;
|
||||
}
|
||||
input[type="text"],
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,30 +6,248 @@
|
||||
min-width: 460px;
|
||||
min-height: 400px;
|
||||
|
||||
.window-content {
|
||||
background: transparent !important;
|
||||
color: #191813 !important;
|
||||
padding: 10px;
|
||||
overflow: hidden;
|
||||
|
||||
// Inner div — mirrors the AppV1 <form> with box-border-large decoration
|
||||
.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;
|
||||
|
||||
.wrap {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.sheet-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
|
||||
.tab {
|
||||
display: none;
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
&.properties {
|
||||
padding: 5px 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.header-buttons {
|
||||
align-self: flex-end;
|
||||
padding-bottom: 10px;
|
||||
|
||||
.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;
|
||||
|
||||
&:hover {
|
||||
color: #191813;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.window-content .bol.sheet.item .tabs {
|
||||
height: 44px;
|
||||
background-color: black;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
|
||||
a.item {
|
||||
line-height: 44px;
|
||||
font-weight: bold;
|
||||
font-family: "CCMeanwhile", cursive;
|
||||
color: white;
|
||||
font-size: 0.9em;
|
||||
|
||||
&.active {
|
||||
text-decoration: underline;
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.window-content .bol.sheet.item .sheet-body {
|
||||
.tab.description.active {
|
||||
color: #191813;
|
||||
display: block;
|
||||
overflow: auto;
|
||||
|
||||
.editor,
|
||||
.editor-content,
|
||||
.prosemirror,
|
||||
.prosemirror p,
|
||||
.prosemirror div,
|
||||
.prosemirror span,
|
||||
.prosemirror h1,
|
||||
.prosemirror h2,
|
||||
.prosemirror h3,
|
||||
.prosemirror h4,
|
||||
.form-group:has(.prosemirror),
|
||||
.form-group:has(.editor) {
|
||||
color: #191813 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tab.properties {
|
||||
label,
|
||||
.form-group label,
|
||||
select,
|
||||
input[type="text"],
|
||||
input[type="number"] {
|
||||
color: #191813;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
// Normalize inputs and selects in item sheets
|
||||
.window-content .bol.sheet.item {
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 3px 0;
|
||||
|
||||
label {
|
||||
flex: 0 0 40%;
|
||||
color: #191813;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
flex: 0 0 auto;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
position: static;
|
||||
top: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
select,
|
||||
.form-fields {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
label.checkbox {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: #191813;
|
||||
|
||||
> input[type="checkbox"] {
|
||||
position: static;
|
||||
top: auto;
|
||||
margin: 0;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
input[type="text"]:hover,
|
||||
input[type="number"]:hover,
|
||||
input[type="text"]:focus,
|
||||
input[type="number"]:focus,
|
||||
select {
|
||||
color: #191813;
|
||||
background-color: #f0efe8;
|
||||
border: 1px solid #999;
|
||||
border-radius: 2px;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
select option {
|
||||
background-color: #f0efe8;
|
||||
color: #191813;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
margin: 5px 0;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px groove #eeede0;
|
||||
|
||||
.properties-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
|
||||
li {
|
||||
margin: 3px 0;
|
||||
|
||||
@@ -1,3 +1,165 @@
|
||||
/* ----------------------------------------- */
|
||||
/* Post Item Chat Card */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.bol-post-item {
|
||||
color: #191813;
|
||||
|
||||
.bpi-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
padding-bottom: 6px;
|
||||
border-bottom: 2px solid #8b7355;
|
||||
margin-bottom: 8px;
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.bpi-title-block {
|
||||
flex: 1;
|
||||
|
||||
.bpi-name {
|
||||
margin: 0 0 2px 0;
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
font-size: 1.1em;
|
||||
color: #4b4a44;
|
||||
line-height: 1.2;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.bpi-type {
|
||||
font-family: "IMFellDWPicaSC-Regular", serif;
|
||||
font-size: 0.8em;
|
||||
color: #7a7060;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
.bpi-stat {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: baseline;
|
||||
gap: 4px;
|
||||
|
||||
.bpi-sl {
|
||||
font-family: "IMFellDWPicaSC-Regular", serif;
|
||||
font-size: 0.72em;
|
||||
color: #7a7060;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.bpi-sv {
|
||||
font-weight: bold;
|
||||
font-size: 0.88em;
|
||||
color: #191813;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bpi-tags {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 3px;
|
||||
margin: 3px 0;
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.bpi-tag-magic {
|
||||
border-color: #6a4a9c;
|
||||
color: #5a3a8c;
|
||||
background: rgba(106, 74, 156, 0.1);
|
||||
}
|
||||
|
||||
.bpi-tag-bonus {
|
||||
border-color: #2d7a2d;
|
||||
color: #1a5a1a;
|
||||
background: rgba(45, 122, 45, 0.1);
|
||||
}
|
||||
|
||||
.bpi-tag-malus {
|
||||
border-color: #8b2020;
|
||||
color: #6a1a1a;
|
||||
background: rgba(139, 32, 32, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
.bpi-conditions {
|
||||
margin: 3px 0;
|
||||
|
||||
.bpi-cond-label {
|
||||
font-family: "IMFellDWPicaSC-Regular", serif;
|
||||
font-size: 0.75em;
|
||||
font-style: italic;
|
||||
color: #7a7060;
|
||||
}
|
||||
|
||||
.bpi-condition {
|
||||
display: inline-block;
|
||||
margin: 1px 2px;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.bpi-cond-req {
|
||||
border: 1px solid #8b2020;
|
||||
background: rgba(139, 32, 32, 0.08);
|
||||
color: #6a1a1a;
|
||||
}
|
||||
|
||||
.bpi-cond-opt {
|
||||
border: 1px solid #6a7a30;
|
||||
background: rgba(106, 122, 48, 0.08);
|
||||
color: #4a5a20;
|
||||
}
|
||||
}
|
||||
|
||||
.bpi-description {
|
||||
margin-top: 7px;
|
||||
padding-top: 6px;
|
||||
border-top: 1px dashed #c4a882;
|
||||
|
||||
.bpi-desc-content {
|
||||
font-size: 0.85em;
|
||||
color: #191813;
|
||||
line-height: 1.45;
|
||||
|
||||
p {
|
||||
margin: 0 0 4px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Chat Messages */
|
||||
/* ----------------------------------------- */
|
||||
|
||||
@@ -15,8 +15,15 @@
|
||||
background-color: lightgray;
|
||||
|
||||
.item-name {
|
||||
font-family: "Wolfsbane2Expanded", cursive;
|
||||
font-size: 1.5em;
|
||||
font-family: "Wolfsbane2Expanded", cursive !important;
|
||||
font-size: 1.32em !important;
|
||||
color: #191813 !important;
|
||||
}
|
||||
|
||||
.item-field {
|
||||
font-family: 'Signika', sans-serif !important;
|
||||
font-size: 0.85em !important;
|
||||
color: #4b4a44 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +33,8 @@
|
||||
padding: 3px 0 3px 3px;
|
||||
border-bottom: 1px solid #BBB;
|
||||
align-items: stretch;
|
||||
color: #4b4a44;
|
||||
font-size: 0.9em;
|
||||
|
||||
.item-image {
|
||||
flex: 0 0 30px;
|
||||
@@ -68,6 +77,11 @@
|
||||
.item-name,
|
||||
.item-field {
|
||||
margin: 0;
|
||||
color: #333;
|
||||
font-size: 0.84rem;
|
||||
font-family: inherit;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.item-controls-1 {
|
||||
|
||||
Reference in New Issue
Block a user