Fixing css for v9

This commit is contained in:
Vlyan
2022-01-07 12:26:17 +01:00
parent 71e2985c70
commit 2c2ebc1caa
3 changed files with 35 additions and 33 deletions

View File

@@ -20,7 +20,7 @@ export class GmToolbox extends FormApplication {
classes: ["l5r5e", "gm-toolbox"], classes: ["l5r5e", "gm-toolbox"],
template: CONFIG.l5r5e.paths.templates + "gm/gm-toolbox.html", template: CONFIG.l5r5e.paths.templates + "gm/gm-toolbox.html",
title: game.i18n.localize("l5r5e.gm_toolbox.title"), title: game.i18n.localize("l5r5e.gm_toolbox.title"),
left: x - 625, left: x - 627,
top: y - 98, top: y - 98,
closeOnSubmit: false, closeOnSubmit: false,
submitOnClose: false, submitOnClose: false,

File diff suppressed because one or more lines are too long

View File

@@ -18,22 +18,24 @@ button {
border: 1px solid rgb(195, 165, 130); border: 1px solid rgb(195, 165, 130);
border-radius: 0; border-radius: 0;
overflow: initial; overflow: initial;
height: calc(100% - 0.8rem); height: calc(100% - 1.1rem);
top: 0.5rem; top: 0.2rem;
min-width: 320px; width: 320px;
min-width: 40px;
letter-spacing: 0.1rem; letter-spacing: 0.1rem;
// TODO second border position: relative;
//&:before { margin-right: 0.5rem;
// z-index: -1; &:before {
// content: ""; z-index: -1;
// position: relative; content: "";
// height: calc(100% + 0.6rem); position: absolute;
// width: 100%; height: calc(100% + 0.6rem);
// border: 1px solid rgb(195, 165, 130); width: 100%;
// border-radius: 0; border: 1px solid rgb(195, 165, 130);
// top: -0.35rem; border-radius: 0;
// left: 0.25rem; top: -0.35rem;
//} left: 0.25rem;
}
#sidebar-tabs { #sidebar-tabs {
flex: 0 0 2rem; flex: 0 0 2rem;
box-sizing: border-box; box-sizing: border-box;
@@ -415,24 +417,24 @@ button {
border-image: url("../assets/ui/macro-button.webp") 15 repeat; border-image: url("../assets/ui/macro-button.webp") 15 repeat;
border-image-width: 0.5rem; border-image-width: 0.5rem;
border-image-outset: 0px; border-image-outset: 0px;
//margin: 0; margin: 0;
padding: 0; padding: 0;
left: 1.15rem; left: 0.2rem;
bottom: 0.65rem; bottom: 0.65rem;
box-shadow: inset 0 0 0.5rem $black-light; box-shadow: inset 0 0 0.5rem $black-light;
// TODO logo l5r players position: relative;
//&:before { &:before {
// z-index: -1; z-index: -1;
// position: relative; position: absolute;
// content: ""; content: "";
// background: transparent url("../assets/ui/players-border.webp") no-repeat 0 0; background: transparent url("../assets/ui/players-border.webp") no-repeat 0 0;
// background-size: 100%; background-size: 100%;
// display: block; display: block;
// top: -12px; top: -12px;
// right: 10%; right: 10%;
// left: 10%; left: 10%;
// bottom: 0; bottom: 0;
//} }
} }
// logo // logo
@@ -441,7 +443,7 @@ button {
height: 80px; height: 80px;
width: 88px; width: 88px;
margin-left: 0.5rem; margin-left: 0.5rem;
opacity: 0.9; opacity: 0.8;
} }
// navigation // navigation