Got most of the previous UI tweaks back in, if those UI elements still exist
This commit is contained in:
+17
-7
@@ -84,10 +84,6 @@ form.program-style {
|
||||
background: rgba(138, 136, 133, 0.3);
|
||||
}
|
||||
|
||||
#pause img {
|
||||
content: url(../assets/img/DG_Pause_Icon.webp);
|
||||
}
|
||||
|
||||
.old-paper-background {
|
||||
background: url("../assets/img/StainedPlainPaper10.webp") !important;
|
||||
}
|
||||
@@ -1184,7 +1180,9 @@ input.item-sheet-short-input {
|
||||
}
|
||||
|
||||
/*
|
||||
:root {
|
||||
Custom UI Styling Elements
|
||||
*/
|
||||
:root :not(.no-theme) {
|
||||
--color-shadow-primary: #374e13;
|
||||
--color-shadow-highlight: #406539;
|
||||
--color-border-highlight: #406539;
|
||||
@@ -1193,9 +1191,12 @@ input.item-sheet-short-input {
|
||||
--color-text-dark-header: #406539;
|
||||
scrollbar-color: var(--color-text-dark-header) #111;
|
||||
}
|
||||
*/
|
||||
|
||||
#interface * {
|
||||
#pause img {
|
||||
content: url(../assets/img/DG_Pause_Icon.webp);
|
||||
}
|
||||
|
||||
#interface:not(.no-theme) * {
|
||||
--color-shadow-primary: #215112 !important;
|
||||
--color-shadow-highlight: #215112 !important;
|
||||
--color-border-highlight: #215112 !important;
|
||||
@@ -1205,6 +1206,7 @@ input.item-sheet-short-input {
|
||||
scrollbar-color: var(--color-text-dark-header) #111 !important;
|
||||
}
|
||||
|
||||
/* The logo is defunct as of v13 */
|
||||
#logo {
|
||||
content: url("../assets/img/Delta_Green_Logo.webp");
|
||||
width: 90px;
|
||||
@@ -1212,3 +1214,11 @@ input.item-sheet-short-input {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
body:not(.no-theme) #interface:not(.theme-light) .ui-control {
|
||||
border: 2px solid #215112;
|
||||
}
|
||||
|
||||
body:not(.no-theme) #interface:not(.theme-light) #action-bar .slot.full:hover {
|
||||
border: 2px solid #215112;
|
||||
}
|
||||
|
||||
+3
-1
@@ -313,5 +313,7 @@
|
||||
"DG.ItemWindow.Ritual.ActivationTime": "Activation Time",
|
||||
"DG.ItemWindow.Ritual.ActivationCosts": "Activation Costs",
|
||||
"DG.ItemWindow.Ritual.StudyTime": "Study Time",
|
||||
"DG.ItemWindow.Ritual.LearnedSanityDamage": "Learn SAN Damage"
|
||||
"DG.ItemWindow.Ritual.LearnedSanityDamage": "Learn SAN Damage",
|
||||
|
||||
"DG.MissionPaused": "Mission Paused"
|
||||
}
|
||||
|
||||
@@ -182,3 +182,13 @@ Hooks.on("createActor", async (actor, options, userId) => {
|
||||
console.log(ex);
|
||||
}
|
||||
});
|
||||
|
||||
Hooks.on("renderGamePause", function (_, html, options) {
|
||||
if (options.cssClass !== "paused") return;
|
||||
|
||||
try {
|
||||
let gamePausedOverrideText = game.i18n.translations.DG.MissionPaused;
|
||||
html.querySelector("figcaption").textContent = gamePausedOverrideText;
|
||||
html.querySelector("img").classList.remove("fa-spin"); // I don't like the logo spinning personally
|
||||
} catch {}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user