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,76 +0,0 @@
@import "global/typography";
@import 'global/foundry-overrides';
@import 'global/mixins';
@import "global/flex";
@import "global/forms";
@import "global/item-list";
@import "global/colors";
@import 'global/chat';
@logo-width: 190px;
@logo-height: 115px;
@deco-width: 330px;
@deco-height: 62px;
@attributes-width: 64px;
@attributes-height: 64px;
@footer-height: 30px;
@sidebar-width: 250px;
body.system-bol {
img#logo{
content: url("/systems/bol/ui/logo2.webp");
}
}
.bol {
//&.app {
//border:none;
//background: transparent;
//box-shadow: none;
//}
&.sheet {
@import 'components/common';
&.actor {
@import 'components/actor';
min-width: 820px;
min-height: 700px;
height: 700px;
}
&.item {
@import 'components/item';
//background-color: white;
min-width: 460px;
min-height: 400px;
}
}
&.dialog {
.sheet-header{
h3 {
font-family: @font-tertiary;
font-size: 24px;
color: black;
}
}
}
}
.editor, .editor-content {
height: 100%;
}
.rollable {
//color: @colorOlive;
cursor: pointer;
}
.chat-message .chat-icon {
float:right;
border:1px outset lightgray;
box-shadow: 3px 3px 3px black;
margin: 3px;
//flex : 0 0 64px;
width: 64px;
height: 64px;
}

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;
}
}
}

View File

@@ -1,82 +0,0 @@
.message-header {
h2.damage{
color: @colorDamage;
font-weight: bold;
}
h2.critical{
color: @colorCritical;
font-weight: bold;
}
h2.fumble{
color: @colorFumble;
font-weight: bold;
}
h2.success{
color: @colorSuccess;
font-weight: bold;
}
h2.failure{
color: @colorFailure;
font-weight: bold;
}
h2.roll{
color: @colorRoll;
font-weight: bold;
}
}
.chat-message {
margin: 3px;
padding: 10px;
font-size: 14px;
border-radius : 0;
background-color: white;
background-image: url("/systems/bol/ui/box-border-large.webp");
background-repeat: no-repeat;
background-size: 100% 100%;
.message-header {
.flavor-text {
font-family: @font-special;
font-size: 14px;
h2 {
font-family: @font-special2;
font-size: 20px;
}
}
}
.message-content {
.dice-roll {
.dice-result {
.dice-formula {
border-radius: 0px;
border: 1px inset lightgray;
background-color: #282828;
color: white;
}
.dice-tooltip {
.tooltip-part {
.part-formula {
//display: none;
}
.part-total {
border-radius: 0px;
border: 1px inset lightgray;
background-color: #2a2a2a;
color: white;
}
}
}
.dice-total {
border-radius: 0px;
border: 1px inset lightgray;
background-color: #2a2a2a;
color: white;
}
}
}
}
// color: #191813;
// background: url(../bol/ui/box-border-large.webp) no-repeat;
// border: 2px solid #6f6c66;
// border-radius: 5px;
}

View File

@@ -1,146 +0,0 @@
@c-white: #fff;
@c-black: #000;
//@c-bright: whitesmoke;
@c-bright: #E2F1F1;
@c-lightg: lightgray;
@c-darkg: #23221d;
@c-dark: #3c3c3c;
@c-darkslate: darkslategray;
@c-darkgreen: #003c1e;
@c-lightgreen: mintcream;
@c-darkblue: midnightblue;
@c-blue: #009ee0;
@c-green: #44a12b;
@c-red: #cd071e;
@c-darkred: darkred;
@c-purple: purple;
@c-darkred: darkred;
@c-border:#736953a6;
//@c-darkbrown: rgba(70, 67, 49, 0.93);
@c-darkbrown: #464331c4;
@c-shadow:#00000052;
@c-linkshadow : gray;
@colorDark: #191813;
@colorFaint: #c9c7b8;
@colorBeige: #b5b3a4;
@colorTan: #7a7971;
@colorOlive: #4b4a44;
@colorCrimson: #44191A;
@lightGreen: #609b60;
@borderGroove: 1px groove #eeede0;
@borderGrooveGreen: 2px groove #003700;
//@borderGrooveOriginal: 2px groove #eeede0;
@colorSuccess : darkgreen;
@colorCritical : green;
@colorFailure : darkred;
@colorFumble : red;
@colorDamage : orangered;
@colorRoll : darkslategrey;
@colorGold : #caad27;
/* ----------------------------------------- */
/* Premade colors */
/* ----------------------------------------- */
.light {
//color:whitesmoke;
//color:antiquewhite;
color: @c-lightg;
}
.bg-light {
background: @c-lightg;
}
.darkgray {
color: @c-darkg;
}
.bg-darkgray {
background: @c-darkg;
color: @c-white;
}
.darkbrown {
color: @c-darkbrown;
}
.bg-darkbrown {
background: @c-darkbrown;
color: @c-white;
}
.darkslate {
color: @c-darkslate;
}
.bg-darkslate {
background: @c-darkslate;
color: @c-white;
}
.darkgreen {
color: @c-darkgreen;
}
.bg-darkgreen {
background: @c-darkgreen;
color: @c-white;
}
.darkblue {
color: @c-darkblue;
}
.bg-darkblue {
background: @c-darkblue;
color: @c-white;
}
.blue {
color: @c-blue;
}
.bg-blue {
background: @c-blue;
color: @c-white;
}
.green {
color: @c-green;
}
.bg-green {
background: @c-green;
color: @c-white;
}
.black {
color: @c-black;
}
.bg-black {
background: @c-black;
color: @c-white;
}
.red {
color: @c-red;
}
.bg-red {
background: @c-red;
color: @c-white;
}
.darkred {
color: @c-darkred;
}
.bg-darkred {
background: @c-darkred;
color: @c-white;
}
.purple {
color: @c-purple;
}
.bg-purple {
background: @c-purple;
color: @c-white;
}

View File

@@ -1,94 +0,0 @@
/* ----------------------------------------- */
/* Flexbox */
/* ----------------------------------------- */
.flexrow {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
> * {
flex: 1;
}
.flex1 { flex: 1; }
.flex2 { flex: 2; }
.flex3 { flex: 3; }
.flex4 { flex: 4; }
.flex5 { flex: 5; }
.flex6 { flex: 6; }
.flex7 { flex: 7; }
.flex8 { flex: 8; }
.flex9 { flex: 9; }
}
.flexcol {
display: flex;
flex-flow: column nowrap;
//flex-direction: column;
//flex-wrap: nowrap;
> * {
flex: 1;
}
.flex1 { flex: 1; }
.flex2 { flex: 2; }
.flex3 { flex: 3; }
.flex4 { flex: 4; }
}
.flex-group-center,
.flex-group-left,
.flex-group-right {
justify-content: center;
align-items: center;
text-align: center;
padding: 5px;
//border: 1px solid #999;
}
.flex-group-left {
justify-content: flex-start;
text-align: left;
}
.flex-group-right {
justify-content: flex-end;
text-align: right;
}
.center {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.left {
text-align: left;
display: flex;
align-items: center;
justify-content: flex-start;
}
.right {
justify-content: flex-end;
text-align: right;
display: flex;
align-items: center;
}
.flex-center {
align-items: center;
justify-content: center;
text-align: center;
}
.flex-between {
justify-content: space-between;
}
.no-wrap {
flex-wrap: nowrap !important;
}

View File

@@ -1,259 +0,0 @@
.bol {
input[readonly="true"] {
border: none;
color: dimgray;
cursor: not-allowed;
width: 100%;
vertical-align: middle;
background: transparent;
}
/*
Copied from dnd5e
*/
input[type="text"],
input[type="number"],
input[type="text"]:hover,
input[type="number"]:hover,
input[type="text"]:focus,
input[type="number"]:focus {
//border: 1px solid #111;
//box-shadow: 0 0 8px #26641c;
border-radius: 0;
border: none;
box-shadow: none;
}
input:disabled,
select:disabled,
textarea:disabled {
//color: $colorOlive;
}
input:disabled:hover,
select:disabled:hover,
textarea:disabled:hover,
input:disabled:focus,
select:disabled:focus,
textarea:disabled:focus {
box-shadow: none !important;
border: 1px solid transparent !important;
outline: none !important;
}
button {
background: rgba(0, 0, 0, 0.1);
//border: $borderGroove;
}
select {
box-shadow: none;
font-size: 14px;
text-align: center;
text-align-last: center;
-moz-text-align-last: center;
width: 100%;
border: none;
border-radius: 0;
}
select[multiple]{
box-shadow: none;
border: none;
font-size: 14px;
&:focus {
option:checked {
background: @c-darkred linear-gradient(0deg, @c-darkred 0%, @c-darkred 100%);
color:white;
}
}
}
option {
font-size: 14px;
.ellipsis();
}
option:hover,
option:focus,
option:active,
option:checked,
option[selected] {
cursor: pointer;
background: @c-darkred linear-gradient(0deg, @c-darkred 0%, @c-darkred 100%);
color:white;
}
//option:not(:checked) {
// color: black;
//} /* or whatever your default style is */
label.checkbox {
flex: auto;
padding: 0;
margin: 0;
height: 22px;
line-height: 22px;
font-size: 11px;
> input[type="checkbox"] {
width: 16px;
height: 16px;
margin: 0 2px 0 0;
position: relative;
top: 4px;
}
&.right > input[type="checkbox"] {
margin: 0 0 0 2px;
}
}
/* Form Groups */
.form-group {
label {
flex: 2;
//color: $colorOlive;
font-weight: bold;
}
.form-fields {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
> * {
flex: 1;
margin: 0 3px 0 0;
&:last-child {
margin-right: 0;
}
.flex1 {
flex: 1;
}
.flex2 {
flex: 2;
}
.flex3 {
flex: 3;
}
.flex4 {
flex: 4;
}
}
label {
flex: 0 0 100%;
margin: 0;
&.checkbox {
flex: auto;
text-align: left;
}
}
.field-value {
text-align: center;
}
}
// Stacked Groups
&.stacked {
label {
flex: 0 0 100%;
margin: 0;
&.checkbox {
flex: auto;
text-align: left;
}
}
}
}
.form-header {
margin: 0.25em 0 0.25em 0;
padding: 2px 5px;
//font-family: @font-special2;
//border-top: @borderGroove;
//border-bottom: @borderGroove;
font-family: @font-tertiary;
color: @colorOlive;
background-color: lightgray;
}
h1.form-header {
font-size: 2.5em;
font-weight: 700;
//color : black;
}
h2.form-header {
font-size: 2em;
font-weight: 500;
//color : black;
//border-top: @borderGroove;
border-bottom: @borderGroove;
}
h3.form-header {
font-size: 1.5em;
font-weight: 500;
//color : black;
//border-top: @borderGroove;
border-bottom: @borderGroove;
}
h4.form-header {
font-size: 1em;
font-weight: 500;
font-family: @font-primary;
color : black;
background-color: transparent;
border-top: none;
border-bottom: @borderGroove;
}
.tag {
display: inline-block;
margin: 0 2px 0 0;
padding: 0 3px;
font-size: 10px;
line-height: 16px;
border: 1px solid #999;
border-radius: 3px;
background: rgba(0, 0, 0, 0.05);
}
/*
Placeholders
*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: lightgray;
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: lightgray;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: lightgray;
}
input::placeholder {
color: lightgray;
}
.property {
margin-top: 2px;
}
.inc-dec-btns {
color:@colorOlive;
}
}

View File

@@ -1,364 +0,0 @@
//.window-app .window-header a.header-button {
// @mixin hoverWidth($class) {
// &.#{$class}:hover {
// max-width: 200px;
// color: #292929f0;
// }
// }
// display: flex;
// flex-flow: row-reverse;
// align-items: center;
// max-width: 34px;
// height: 26px;
// white-space: nowrap;
// line-height: 1;
// overflow: hidden;
// padding: 0 6px;
// margin: 0 0 0 4px;
// color: transparent;
// transition: max-width 1s ease;
// @include hoverWidth("char-gen");
// @include hoverWidth("custom-roll");
// @include hoverWidth("push-roll");
// @include hoverWidth("configure-sheet");
// @include hoverWidth("configure-token");
// @include hoverWidth("item-post");
// @include hoverWidth("share-image");
// @include hoverWidth("entry-text");
// @include hoverWidth("entry-image");
// @include hoverWidth("close");
// > i {
// font-size: var(--font-size--default);
// margin-left: 10px;
// margin-top: 2px;
// color: #292929f0;
// }
//}
/* -------------- */
/* Font Awesome */
/* Overrides */
/* -------------- */
//.fa-suitcase {
// font-family: RPGAwesome;
// font-size: 1.6rem;
// transform: translateY(1px);
// &:before {
// content: "\ea72";
// }
//}
//.fa-comments {
// font-family: RPGAwesome;
// font-size: 1.5rem;
// transform: translateY(1px);
// &:before {
// content: "\ea8f";
// }
//}
//.fa-fist-raised {
// font-family: Swordlings;
// transform: translate(1.3px, -0.6px);
// font-size: 1.5rem;
// &:before {
// content: "x";
// }
//}
/* ------------- */
//h3 {
// &.entity-name {
// & > a {
// color: #111;
// text-shadow: 0px 0px 5px #fff;
// font-weight: bold;
// text-transform: uppercase;
// margin: 2%;
// }
// }
//}
//.window-app {
// .window-content {
// padding: 2px 4px;
// }
// .window-resizable-handle {
// background: none;
// border: none;
// width: 19px;
// height: 19px;
// transform: translate(12px, 12px);
//
// &:hover {
// text-shadow: 0 0 5px #a00;
// }
//
// i.fas {
// transform: translateY(-1.5px) rotate(45deg);
// }
// }
// &.image-popout {
// form.flexcol {
// background: #fff;
// }
// .form-group {
// &.title {
// input {
// font-family: "IM FELL THREE LINE PICA";
// font-size: var(--font-size--extra-large);
// text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
// text-transform: uppercase;
// border: none;
// }
// }
// &.picker {
// opacity: 0.2;
// }
// input,
// button {
// background: #999;
// }
// }
// }
// .window-header {
// border: none;
// }
// &.minimized {
// .window-header {
// border: none;
// margin-top: -10px;
// display: flex;
// align-items: center;
// line-height: 1.5;
// padding: unset;
// .window-title {
// overflow: hidden;
// white-space: pre;
// }
// }
// }
// // Override weirdly big settings input box for numbers
// &#client-settings .settings-list input[data-dtype="Number"] {
// max-width: 3rem;
// text-align: center;
// }
//}
//body,
//button {
// font-family: Poppins, sans-serif;
// font-size: var(--font-size--small);
//}
//img {
// border: none;
// &.profile {
// padding: 5px;
// }
//}
//
//.app,
//#hotbar .macro,
//#hotbar .macro .macro-key,
//#hotbar .bar-controls,
//#controls .scene-control,
//#controls .control-tool,
//#navigation #nav-toggle,
//#navigation #scene-list .scene {
// background: #292929f0;
//}
a.entity-link,
a.inline-roll {
border: none;
background: transparent;
border-bottom: 1px dotted grey;
padding: 0;
}
a {
&.inline-roll {
border: none;
}
&:hover {
text-shadow: 0 0 5px #a00;
}
}
#pause {
background: none;
& > img {
width: 200px;
height: 200px;
top: -50px;
left: calc(50% - 100px);
opacity: 0.7;
-webkit-animation: rotation 10s infinite linear;
animation: rotation 10s infinite linear;
}
h3 {
font-family: @font-special;
font-size: 32px;
text-shadow: 0px 3px 5px rgba(0, 0, 0, 1);
}
}
//#navigation {
// left: 180px;
//}
//#scenes {
// .scene {
// h3 {
// background-color: #cccccc60;
// white-space: pre-wrap;
// line-height: 1;
// display: grid;
// & > a {
// place-self: center;
// }
// }
// }
//}
//#chat-log {
// .message {
// position: relative;
// &:after {
// content: "";
// border: 10px solid transparent;
// border-image: url(../assets/journal-art/small-border.webp) 100/10px repeat;
// position: absolute;
// height: calc(100% - 24px);
// width: calc(100% - 24px);
// margin: -3px 7px 7px -3px;
// pointer-events: none;
// }
// }
//}
//.chat-message {
// font-size: var(--font-size--very-small);
// .message-header {
// padding: 8px 13px;
// border-bottom: rgba(0, 0, 0, 0.2);
// }
// .message-content {
// border: none;
// padding: 0 13px 13px;
// }
//}
//#playlists {
// li {
// &.playlist {
// .sound-control {
// color: #666;
// }
// }
// }
//}
//form {
// & > select[name="folder"] {
// display: none;
// }
// & > .lightbox-image {
// background: rgb(255, 255, 255);
// }
//}
//.window-app.image-popout .form-group.picker:hover,
//.window-app.image-popout .form-group.picker:focus-within {
// opacity: 1;
//}
//li {
// &.directory-item {
// &.entity {
// background: #eee;
// color: #222;
// border-radius: 6px;
// margin: 0 6px;
// }
// }
//}
//
//.sheet .tabs .item {
// white-space: nowrap;
//}
//
//.app.sidebar-popout .folder > .folder-header .create-folder,
//.app.sidebar-popout li.folder > .folder-header .create-entity {
// color: #444;
//}
//
//#player-config {
// .avatar {
// border: 2px dotted #444;
// border-image: url(../assets/journal-art/small-border.webp) 100/10px repeat;
// }
// .directory-item.context {
// border-top: 1px solid black;
// border-bottom: 1px solid #666;
// background: #ccc;
// h3.entity-name > a {
// font-weight: 600;
// }
// }
// h3.entity-name > a {
// font-weight: 400;
// font-size: 1.2rem;
// &:hover {
// text-shadow: 0 0 6px #333;
// }
// }
//}
//
//#sidebar-tabs {
// border-bottom: 1px solid #fff;
// box-shadow: 0 0 6px #fff;
//
// & > .item.active {
// border: 1px solid #fff;
// box-shadow: 0 0 6px inset #fffc;
// }
//}
//
//#navigation #scene-list .scene.view,
//#navigation #scene-list .scene.context {
// border: 1px solid #fff;
// border-bottom: 1px solid #fffc;
// box-shadow: 0 0 10px #fffc;
//}
//
//#controls .scene-control.active,
//#controls .control-tool.active,
//#controls .scene-control:hover,
//#controls .control-tool:hover {
// border: 1px solid #fff;
// border-bottom: 1px solid #fffc;
// box-shadow: 0 0 10px #fffc;
//}
//
//#controls .control-tool.toggle {
// background: #666;
// border: 1px solid #fff;
//
// &:hover,
// &.active {
// background: #700;
// }
//}
// Fixing scrollbars!
::-webkit-scrollbar-thumb {
outline: none;
border-radius: 3px;
background: #999 !important;
border: 1px solid #333 !important;
border-color: #333 !important;
}
::-webkit-scrollbar-track {
box-shadow: 0 0 3px #005d67 inset !important;
border-radius: 3px;
}
* {
scrollbar-width: thin !important;
scrollbar-color: #005d67 #ccc !important;
}

View File

@@ -1,81 +0,0 @@
/* Items List */
.items-list {
list-style: none;
margin: 7px 0;
padding: 0;
overflow-y: auto;
.item-header {
font-family: @font-primary;
font-size: 1em;
//font-weight: 500;
color: @colorOlive;
background-color: lightgray;
.item-name {
font-family: @font-tertiary;
font-size: 1.5em;
}
}
.item {
min-height: 30px;
line-height: 24px;
padding: 3px 0 3px 3px;
border-bottom: 1px solid #BBB;
align-items: stretch;
.item-image {
flex: 0 0 30px;
padding: 0;
margin: 0 5px 0 0;
height:30px;
width:30px;
min-height:30px;
min-width:30px;
img {
padding: 0;
margin: 0;
border: none;
height:30px;
width:30px;
min-height:30px;
min-width:30px;
}
&.roll-weapon,
&.roll-career {
background-color: transparent;
background-image: url("../../../icons/svg/dice-target.svg") !important;
background-size: 30px 30px;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
&:hover {
background-color: gray;
img {
visibility: hidden;
}
}
}
}
.item-name,
.item-field {
margin: 0;
}
.item-controls-1 {
flex: 0 0 18px;
}
.item-controls,
.item-controls-2 {
flex: 0 0 36px;
}
.item-controls-3 {
flex: 0 0 54px;
}
.item-control {
color: @colorOlive;
}
}
}

View File

@@ -1,48 +0,0 @@
.element-invisible {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
clip: rect(0 0 0 0);
overflow: hidden;
}
.hide {
display: none;
}
.ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.nomargin {
margin:0;
padding: 0;
}
.flxrow {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
> * {
flex: 1;
}
.flex1 { flex: 1; }
.flex2 { flex: 2; }
.flex3 { flex: 3; }
.flex4 { flex: 4; }
}
//@mixin modesto {
// font-family: $font-tertiary;
// font-size: 20px;
// font-weight: 700;
//}

View File

@@ -1,40 +0,0 @@
/* ----------------------------------------- */
/* LOCAL FONTS */
/* ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Contrail+One&display=swap');
@import "../node_modules/rpg-awesome/css/rpg-awesome.min.css"; //External Import
@font-face {
font-family: "CCMeanwhile";
src: url('../fonts/ccmeanwhile-regular.ttf');
}
@font-face {
font-family: "Wolfsbane2";
src: url('../fonts/wolfsbane2.ttf');
}
@font-face {
font-family: "Wolfsbane2Condensed";
src: url('../fonts/wolfsbane2cond.ttf');
}
@font-face {
font-family: "Wolfsbane2Expanded";
src: url('../fonts/wolfsbane2expand.ttf');
}
@font-face {
font-family: "IMFellDWPicaSC-Regular";
src: url('../fonts/IMFellDWPicaSC-Regular.ttf');
}
/* ----------------------------------------- */
/* TEXT STYLES */
/* ----------------------------------------- */
@font-primary: 'Signika', sans-serif;
@font-secondary: 'Contrail One', cursive;
@font-tertiary: "Wolfsbane2Expanded", cursive;
@font-special: "IMFellDWPicaSC-Regular", serif;
@font-special2 : "Modesto Condensed", "Palatino Linotype", serif;
@font-header: "Wolfsbane2", cursive;
@font-charname: "Wolfsbane2Expanded", cursive;
@font-handwrite: "CCMeanwhile", cursive;