fixed some css

This commit is contained in:
Vlyan
2025-08-20 17:37:01 +02:00
parent 0d71accfd5
commit 30e8da25a2
8 changed files with 32 additions and 27 deletions

View File

@@ -6,9 +6,11 @@ Date format : day/month/year
> - `foundry-version`: Stick to the major version of FoundryVTT. > - `foundry-version`: Stick to the major version of FoundryVTT.
> - `system-version`: System functionalities and Fixes. > - `system-version`: System functionalities and Fixes.
## 1.13.0 - ??/??/2025 - Foundry v13 Compatibility ## 1.13.0 - ??/??/2025 - Foundry v13 Compatibility (Thx to Litasa)
__! Be certain to carefully back up any critical user data before installing this update !__ __! Be certain to carefully back up any critical user data before installing this update !__
- Updated the System to FoundryVTT v13. - Updated the System to FoundryVTT v13.
- Added English compendium for `Children of the Five Winds`.
- Added French translation for `Writ of the Wild`.
- Fix Compendium Typo : "Beseech Hida's MIght" -> "Beseech Hida's Might" (!59). - Fix Compendium Typo : "Beseech Hida's MIght" -> "Beseech Hida's Might" (!59).
## 1.12.3 - 13/03/2025 - Fixes and Compendiums Filters (Thx to Litasa) ## 1.12.3 - 13/03/2025 - Fixes and Compendiums Filters (Thx to Litasa)

View File

@@ -1,11 +1,12 @@
const HandlebarsApplicationMixin = foundry.applications.api.HandlebarsApplicationMixin; const HandlebarsApplicationMixin = foundry.applications.api.HandlebarsApplicationMixin;
const ApplicationV2 = foundry.applications.api.ApplicationV2; const ApplicationV2 = foundry.applications.api.ApplicationV2;
export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) { export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
/** @override ApplicationV2 */ /** @override ApplicationV2 */
static get DEFAULT_OPTIONS() { return { static get DEFAULT_OPTIONS() { return {
id: "l5r5e-gm-toolbox", id: "l5r5e-gm-toolbox",
window: { window: {
contentClasses: ["l5r5e", "gm-toolbox"], contentClasses: ["l5r5e", "gm-toolbox", "faded-ui"],
title: "l5r5e.gm.toolbox.title", title: "l5r5e.gm.toolbox.title",
minimizable: true, minimizable: true,
}, },
@@ -79,10 +80,10 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
* @override ApplicationV2 * @override ApplicationV2
*/ */
_onFirstRender(context, options) { _onFirstRender(context, options) {
const x = $(window).width(); //const x = $(window).width();
const y = $(window).height(); const y = $(window).height();
options.position.top = y - 100; options.position.top = y - 220;
options.position.left = x - 630; options.position.left = 220; //x - 630;
} }
/** /**
@@ -153,7 +154,6 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
} }
/** /**
*
* @param {Boolean} allActors * @param {Boolean} allActors
* @param {String} type * @param {String} type
*/ */

File diff suppressed because one or more lines are too long

View File

@@ -12,10 +12,10 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 0.15rem; border-radius: 0.15rem;
padding: 0 0.225rem 0 0.15rem; padding: 0 0.15rem;
font-size: 0.75em; font-size: 0.65em;
line-height: 1rem; line-height: 1rem;
width: 1em; //width: 1em;
text-align: center; text-align: center;
color: white; color: white;
background: transparent; background: transparent;

View File

@@ -276,7 +276,7 @@
padding: 0 0.15rem; padding: 0 0.15rem;
font-size: 0.65rem; font-size: 0.65rem;
line-height: 1rem; line-height: 1rem;
width: 0.65rem; width: 1rem;
text-align: center; text-align: center;
color: white; color: white;
background: gray; background: gray;

View File

@@ -256,7 +256,6 @@ sup {
} }
&-icon { &-icon {
font-weight: 900; font-weight: 900;
font-family: "Font Awesome 5 Free";
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
display: inline-block; display: inline-block;

View File

@@ -217,7 +217,6 @@ button {
&-icon { &-icon {
font-weight: 900; font-weight: 900;
font-family: "Font Awesome 5 Free";
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
display: inline-block; display: inline-block;
@@ -421,7 +420,7 @@ button {
min-width: 240px; min-width: 240px;
.window-content { .window-content {
background: rgb(255, 250, 230) url("../assets/imgs/bg-l5r.webp") no-repeat; //background: rgb(255, 250, 230) url("../assets/imgs/bg-l5r.webp") no-repeat;
[data-application-part="hidden_tabs"] { [data-application-part="hidden_tabs"] {
display: none; display: none;
} }
@@ -433,10 +432,15 @@ button {
padding: 0 0.5rem; padding: 0 0.5rem;
} }
thead tr > th { thead tr > th {
background: rgba(186, 187, 177, 0.9); background: rgb(0 0 0 / 90%);
color: #cfcfcfc7;
position: sticky; position: sticky;
z-index: 2; z-index: 2;
top: 0; top: 0;
i.i_void:before {
color: rgba(207,207,207,.8);
}
} }
th, th,
td { td {

View File

@@ -1,19 +1,19 @@
<form class="l5r5e gm-toolbox" autocomplete="off"> <form class="l5r5e gm-toolbox" autocomplete="off">
<ul class="gm-tools-container"> <ul class="gm-tools-container">
<li class="gm_monitor" data-action="open_gm_monitor" title="{{localize 'l5r5e.gm.monitor.title'}}"> <li class="faded-ui gm_monitor" data-action="open_gm_monitor" title="{{localize 'l5r5e.gm.monitor.title'}}">
<i class="fas fa-table"></i> <i class="fas fa-table"></i>
</li> </li>
<li class="difficulty_hidden" data-action="toggle_hide_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty_hidden'}}"> <li class="difficulty_hidden" data-action="toggle_hide_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty_hidden'}}">
<i class="fa fa-eye{{#if difficultyHidden}}-slash{{/if}}"></i> <i class="faded-ui fa fa-eye{{#if difficultyHidden}}-slash{{/if}}"></i>
<strong class="difficulty" data-action="change_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty'}}">{{difficulty}}</strong> <strong class="faded-ui difficulty" data-action="change_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty'}}">{{difficulty}}</strong>
</li> </li>
<li class="gm_actor_updates reset_void" data-action="reset_void" title="{{localize 'l5r5e.gm.toolbox.reset_void'}}"> <li class="faded-ui gm_actor_updates reset_void" data-action="reset_void" title="{{localize 'l5r5e.gm.toolbox.reset_void'}}">
<i class="fas fa-podcast"></i> <i class="fas fa-podcast"></i>
</li> </li>
<li class="gm_actor_updates sleep" data-action="sleep" title="{{localize 'l5r5e.gm.toolbox.sleep'}}"> <li class="faded-ui gm_actor_updates sleep" data-action="sleep" title="{{localize 'l5r5e.gm.toolbox.sleep'}}">
<i class="fa fa-bed"></i> <i class="fa fa-bed"></i>
</li> </li>
<li class="gm_actor_updates scene_end" data-action="scene_end" title="{{localize 'l5r5e.gm.toolbox.scene_end'}}"> <li class="faded-ui gm_actor_updates scene_end" data-action="scene_end" title="{{localize 'l5r5e.gm.toolbox.scene_end'}}">
<i class="fas fa-star-half-alt"></i> <i class="fas fa-star-half-alt"></i>
</li> </li>
</ul> </ul>