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.
|
> - `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)
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -137,8 +138,8 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {Boolean} allActors
|
* @param {Boolean} allActors
|
||||||
* @param {ActorL5r5e} actor
|
* @param {ActorL5r5e} actor
|
||||||
* @returns {Boolean}
|
* @returns {Boolean}
|
||||||
*/
|
*/
|
||||||
static #updatableCharacter(allActors, actor) {
|
static #updatableCharacter(allActors, actor) {
|
||||||
@@ -153,9 +154,8 @@ export class GmToolbox extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @param {Boolean} allActors
|
||||||
* @param {Boolean} allActors
|
* @param {String} type
|
||||||
* @param {String} type
|
|
||||||
*/
|
*/
|
||||||
static #uiNotification(allActors, type) {
|
static #uiNotification(allActors, type) {
|
||||||
ui.notifications.info(
|
ui.notifications.info(
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -255,7 +254,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Compendium
|
// Compendium
|
||||||
.directory-item {
|
.directory-item {
|
||||||
.ring-filter {
|
.ring-filter {
|
||||||
i.i_earth,
|
i.i_earth,
|
||||||
i.i_fire,
|
i.i_fire,
|
||||||
@@ -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 {
|
||||||
@@ -478,7 +482,7 @@ button {
|
|||||||
.window-title {
|
.window-title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
letter-spacing: 0.25rem;
|
letter-spacing: 0.25rem;
|
||||||
line-height: 2.25rem;
|
line-height: 2.25rem;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user