Fixing v9 css mess, thanks for Perkuns help
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
## 1.5.0 - FoundryVTT v9 Compatibility
|
## 1.5.0 - FoundryVTT v9 Compatibility
|
||||||
- Updated the System to FoundryVTT v9.
|
- Updated the System to FoundryVTT v9.
|
||||||
- Fixed armies in combat tracker.
|
- Fixed armies in combat tracker.
|
||||||
|
- Thanks to Perkuns for his help with the CSS for this v9 release.
|
||||||
|
|
||||||
## 1.4.0 - Armies & French PoW
|
## 1.4.0 - Armies & French PoW
|
||||||
- Added Army (Actor), Cohort (Item) and Fortification (Item) sheets.
|
- Added Army (Actor), Cohort (Item) and Fortification (Item) sheets.
|
||||||
|
|||||||
@@ -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 - 605,
|
left: x - 625,
|
||||||
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
@@ -11,6 +11,8 @@ nav {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
background: $l5r5e-white;
|
background: $l5r5e-white;
|
||||||
color: $l5r5e-black;
|
color: $l5r5e-black;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
--notchSize: 0.5rem;
|
--notchSize: 0.5rem;
|
||||||
clip-path: polygon(
|
clip-path: polygon(
|
||||||
0% var(--notchSize),
|
0% var(--notchSize),
|
||||||
@@ -24,6 +26,7 @@ nav {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
.item {
|
.item {
|
||||||
|
flex: 1;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $l5r5e-label;
|
background-color: $l5r5e-label;
|
||||||
color: $white-light;
|
color: $white-light;
|
||||||
@@ -43,7 +46,6 @@ nav {
|
|||||||
.item.active {
|
.item.active {
|
||||||
background-color: rgba(73, 12, 11, 0.85);
|
background-color: rgba(73, 12, 11, 0.85);
|
||||||
color: rgba(255, 255, 255, 1);
|
color: rgba(255, 255, 255, 1);
|
||||||
background-color: rgba(73, 12, 11, 0.85);
|
|
||||||
clip-path: polygon(
|
clip-path: polygon(
|
||||||
0% var(--notchSize),
|
0% var(--notchSize),
|
||||||
var(--notchSize) 0%,
|
var(--notchSize) 0%,
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ 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% - 1rem);
|
height: calc(100% - 0.8rem);
|
||||||
top: 0.5rem;
|
top: 0.5rem;
|
||||||
min-width: 40px;
|
min-width: 320px;
|
||||||
letter-spacing: 0.1rem;
|
letter-spacing: 0.1rem;
|
||||||
&:before {
|
&:before {
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
@@ -94,6 +94,15 @@ button {
|
|||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&.fa-id-badge {
|
||||||
|
// TODO needs background image
|
||||||
|
background-size: 85%;
|
||||||
|
color: black;
|
||||||
|
padding-left: 2px;
|
||||||
|
&:before {
|
||||||
|
content: "\f2c1";
|
||||||
|
}
|
||||||
|
}
|
||||||
&.fa-music {
|
&.fa-music {
|
||||||
background-image: url("../assets/ui/sidebar/playlist.svg");
|
background-image: url("../assets/ui/sidebar/playlist.svg");
|
||||||
background-size: 80%;
|
background-size: 80%;
|
||||||
@@ -328,9 +337,9 @@ button {
|
|||||||
|
|
||||||
// hotbar
|
// hotbar
|
||||||
#hotbar {
|
#hotbar {
|
||||||
margin: 0;
|
//margin: 0;
|
||||||
#action-bar {
|
#action-bar {
|
||||||
flex: 0 0 100%;
|
//flex: 0 0 100%;
|
||||||
.macro {
|
.macro {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
@@ -406,7 +415,7 @@ 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: 1.15rem;
|
||||||
bottom: 0.65rem;
|
bottom: 0.65rem;
|
||||||
@@ -431,7 +440,7 @@ button {
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
width: 88px;
|
width: 88px;
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
opacity: 0;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
// navigation
|
// navigation
|
||||||
|
|||||||
Reference in New Issue
Block a user