Fix drag n drop

This commit is contained in:
Vlyan
2021-07-01 16:38:09 +02:00
parent 91b631b2f1
commit de449ab58e
4 changed files with 6 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ export class CharacterSheetL5r5e extends BaseSheetL5r5e {
const data = JSON.parse(json); const data = JSON.parse(json);
if (data.type !== "JournalEntry") { if (data.type !== "JournalEntry") {
return; return super._onDrop(event);
} }
const journal = await this._getJournal(data.id, data.pack); const journal = await this._getJournal(data.id, data.pack);

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@
$white: rgba(255, 255, 255, 1); $white: rgba(255, 255, 255, 1);
$white-light: rgba(255, 255, 255, 0.65); $white-light: rgba(255, 255, 255, 0.65);
$black: rgba(0, 0, 0, 1); $black: rgba(0, 0, 0, 1);
$black-light: rgba(0, 0, 0, 0.75); $black-light: rgb(0, 0, 0);
$dark-red: rgba(25, 0, 0, 0.75); $dark-red: rgba(25, 0, 0, 0.75);
$red: rgba(255, 0, 0, 1); $red: rgba(255, 0, 0, 1);
$red-light: rgba(255, 0, 0, 0.75); $red-light: rgba(255, 0, 0, 0.75);

View File

@@ -668,9 +668,8 @@ button {
height: auto; height: auto;
max-height: 1000px; max-height: 1000px;
overflow-y: hidden; overflow-y: hidden;
//background: #fffae6 url("../assets/imgs/bg-l5r.webp") no-repeat; background: #3e3a30 url("../assets/imgs/bg-l5r.webp") no-repeat;
background-color: #3e3a30; color: $black-light;
color: $white;
font-size: 0.8rem; font-size: 0.8rem;
text-align: left; text-align: left;
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.15);
@@ -680,7 +679,7 @@ button {
position: absolute; position: absolute;
z-index: 9999; z-index: 9999;
* { * {
color: $white; color: $black-light;
} }
} }
} }