fixed some css
This commit is contained in:
@@ -6,9 +6,11 @@ Date format : day/month/year
|
||||
> - `foundry-version`: Stick to the major version of FoundryVTT.
|
||||
> - `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 !__
|
||||
- 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).
|
||||
|
||||
## 1.12.3 - 13/03/2025 - Fixes and Compendiums Filters (Thx to Litasa)
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
const HandlebarsApplicationMixin = foundry.applications.api.HandlebarsApplicationMixin;
|
||||
const ApplicationV2 = foundry.applications.api.ApplicationV2;
|
||||
|
||||
export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||
/** @override ApplicationV2 */
|
||||
static get DEFAULT_OPTIONS() { return {
|
||||
id: "l5r5e-gm-toolbox",
|
||||
window: {
|
||||
contentClasses: ["l5r5e", "gm-toolbox"],
|
||||
contentClasses: ["l5r5e", "gm-toolbox", "faded-ui"],
|
||||
title: "l5r5e.gm.toolbox.title",
|
||||
minimizable: true,
|
||||
},
|
||||
@@ -79,10 +80,10 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||
* @override ApplicationV2
|
||||
*/
|
||||
_onFirstRender(context, options) {
|
||||
const x = $(window).width();
|
||||
//const x = $(window).width();
|
||||
const y = $(window).height();
|
||||
options.position.top = y - 100;
|
||||
options.position.left = x - 630;
|
||||
options.position.top = y - 220;
|
||||
options.position.left = 220; //x - 630;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -137,8 +138,8 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Boolean} allActors
|
||||
* @param {ActorL5r5e} actor
|
||||
* @param {Boolean} allActors
|
||||
* @param {ActorL5r5e} actor
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
static #updatableCharacter(allActors, actor) {
|
||||
@@ -153,9 +154,8 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Boolean} allActors
|
||||
* @param {String} type
|
||||
* @param {Boolean} allActors
|
||||
* @param {String} type
|
||||
*/
|
||||
static #uiNotification(allActors, type) {
|
||||
ui.notifications.info(
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -12,10 +12,10 @@
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
border-radius: 0.15rem;
|
||||
padding: 0 0.225rem 0 0.15rem;
|
||||
font-size: 0.75em;
|
||||
padding: 0 0.15rem;
|
||||
font-size: 0.65em;
|
||||
line-height: 1rem;
|
||||
width: 1em;
|
||||
//width: 1em;
|
||||
text-align: center;
|
||||
color: white;
|
||||
background: transparent;
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
padding: 0 0.15rem;
|
||||
font-size: 0.65rem;
|
||||
line-height: 1rem;
|
||||
width: 0.65rem;
|
||||
width: 1rem;
|
||||
text-align: center;
|
||||
color: white;
|
||||
background: gray;
|
||||
|
||||
@@ -256,7 +256,6 @@ sup {
|
||||
}
|
||||
&-icon {
|
||||
font-weight: 900;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
|
||||
@@ -217,7 +217,6 @@ button {
|
||||
|
||||
&-icon {
|
||||
font-weight: 900;
|
||||
font-family: "Font Awesome 5 Free";
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: inline-block;
|
||||
@@ -255,7 +254,7 @@ button {
|
||||
}
|
||||
|
||||
// Compendium
|
||||
.directory-item {
|
||||
.directory-item {
|
||||
.ring-filter {
|
||||
i.i_earth,
|
||||
i.i_fire,
|
||||
@@ -421,7 +420,7 @@ button {
|
||||
min-width: 240px;
|
||||
|
||||
.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"] {
|
||||
display: none;
|
||||
}
|
||||
@@ -433,10 +432,15 @@ button {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
thead tr > th {
|
||||
background: rgba(186, 187, 177, 0.9);
|
||||
background: rgb(0 0 0 / 90%);
|
||||
color: #cfcfcfc7;
|
||||
position: sticky;
|
||||
z-index: 2;
|
||||
top: 0;
|
||||
|
||||
i.i_void:before {
|
||||
color: rgba(207,207,207,.8);
|
||||
}
|
||||
}
|
||||
th,
|
||||
td {
|
||||
@@ -478,7 +482,7 @@ button {
|
||||
.window-title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
letter-spacing: 0.25rem;
|
||||
line-height: 2.25rem;
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<form class="l5r5e gm-toolbox" autocomplete="off">
|
||||
<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>
|
||||
</li>
|
||||
<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>
|
||||
<strong class="difficulty" data-action="change_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty'}}">{{difficulty}}</strong>
|
||||
<i class="faded-ui fa fa-eye{{#if difficultyHidden}}-slash{{/if}}"></i>
|
||||
<strong class="faded-ui difficulty" data-action="change_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty'}}">{{difficulty}}</strong>
|
||||
</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>
|
||||
</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>
|
||||
</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>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user