diff --git a/system/assets/ui/hotkeybox.webp b/system/assets/cursors/drag.webp similarity index 89% rename from system/assets/ui/hotkeybox.webp rename to system/assets/cursors/drag.webp index 2977872..c7061b1 100644 Binary files a/system/assets/ui/hotkeybox.webp and b/system/assets/cursors/drag.webp differ diff --git a/system/assets/cursors/normal.svg b/system/assets/cursors/normal.svg new file mode 100644 index 0000000..32c0c0f --- /dev/null +++ b/system/assets/cursors/normal.svg @@ -0,0 +1,30 @@ + + + diff --git a/system/assets/cursors/normal.webp b/system/assets/cursors/normal.webp new file mode 100644 index 0000000..9aa3f70 Binary files /dev/null and b/system/assets/cursors/normal.webp differ diff --git a/system/assets/cursors/pointer.webp b/system/assets/cursors/pointer.webp new file mode 100644 index 0000000..b9f3ae5 Binary files /dev/null and b/system/assets/cursors/pointer.webp differ diff --git a/system/assets/ui/background.webp b/system/assets/imgs/background.webp similarity index 100% rename from system/assets/ui/background.webp rename to system/assets/imgs/background.webp diff --git a/system/assets/imgs/chat-texture.webp b/system/assets/imgs/chat-texture.webp new file mode 100644 index 0000000..bfc4494 Binary files /dev/null and b/system/assets/imgs/chat-texture.webp differ diff --git a/system/assets/ui/Chat-box.webp b/system/assets/ui/Chat-box.webp deleted file mode 100644 index 1773286..0000000 Binary files a/system/assets/ui/Chat-box.webp and /dev/null differ diff --git a/system/assets/ui/bgSidebar.png b/system/assets/ui/bgSidebar.png deleted file mode 100644 index 41498bb..0000000 Binary files a/system/assets/ui/bgSidebar.png and /dev/null differ diff --git a/system/assets/ui/bgSidebar.webp b/system/assets/ui/bgSidebar.webp new file mode 100644 index 0000000..7dac1e4 Binary files /dev/null and b/system/assets/ui/bgSidebar.webp differ diff --git a/system/assets/ui/chat-controls-border.webp b/system/assets/ui/chat-controls-border.webp deleted file mode 100644 index 5020493..0000000 Binary files a/system/assets/ui/chat-controls-border.webp and /dev/null differ diff --git a/system/assets/ui/chat-texture.webp b/system/assets/ui/chat-texture.webp index e10aaa0..a2c6d04 100644 Binary files a/system/assets/ui/chat-texture.webp and b/system/assets/ui/chat-texture.webp differ diff --git a/system/assets/ui/macro-button.webp b/system/assets/ui/macro-button.webp index 6a48c07..65a07e4 100644 Binary files a/system/assets/ui/macro-button.webp and b/system/assets/ui/macro-button.webp differ diff --git a/system/assets/ui/nav_button.webp b/system/assets/ui/nav_button.webp deleted file mode 100644 index cfdcab0..0000000 Binary files a/system/assets/ui/nav_button.webp and /dev/null differ diff --git a/system/fonts/ArchitectsDaughter.ttf b/system/fonts/ArchitectsDaughter.ttf deleted file mode 100644 index 421f247..0000000 Binary files a/system/fonts/ArchitectsDaughter.ttf and /dev/null differ diff --git a/system/fonts/BrushtipTexe.OTF b/system/fonts/BrushtipTexe.OTF deleted file mode 100644 index 1b861bc..0000000 Binary files a/system/fonts/BrushtipTexe.OTF and /dev/null differ diff --git a/system/fonts/BrushtipTexe.ttf b/system/fonts/BrushtipTexe.ttf new file mode 100644 index 0000000..ff16c06 Binary files /dev/null and b/system/fonts/BrushtipTexe.ttf differ diff --git a/system/fonts/ManoNegra.ttf b/system/fonts/ManoNegra.ttf new file mode 100644 index 0000000..da2c187 Binary files /dev/null and b/system/fonts/ManoNegra.ttf differ diff --git a/system/l5r-ui/css/l5rui.css b/system/l5r-ui/css/l5rui.css index 863c29f..74b1542 100644 --- a/system/l5r-ui/css/l5rui.css +++ b/system/l5r-ui/css/l5rui.css @@ -1,40 +1,6 @@ -/*************************************************************/ -/*=================== Image Background ======================*/ -/*************************************************************/ -body { - background: url(../ui/frames/background.webp) no-repeat center; - background-size: cover; - } - /*************************************************************/ /*======================= SIDEBAR ===========================*/ /*************************************************************/ - - -.collapse::before{ - content: ""; -} - -#sidebar.collapsed { - width: 75px !important; - height: 410px !important; - padding-left: 5px; - border: 15px solid transparent; - border-image-source: url(../ui/frames/Chat-box.webp); - border-image-slice: 35 fill; - background-position: center !important; - background-size: 100% 100%!important; - background-repeat: no-repeat; -} - -#sidebar-tabs{ - text-align: center; -} - -#sidebar #sidebar-tabs > .item { - line-height: 0px; -} - #sidebar #sidebar-tabs i.fa-comments { content: ""; background-image: url("../ui/sidebar/sidebar_button-chat.webp") !important; @@ -44,23 +10,18 @@ body { background-position:center !important; background-size:cover !important; } - -#sidebar-tabs { - height: 64px; -} -#sidebar-tabs > .item { - line-height: 0px; - height: 32px; -} -#sidebar-tabs > .item.active { - color: #FFF; - border: 1px solid red; - - box-shadow: 0 0 6px inset #ff6400; -} #sidebar #sidebar-tabs i.fa-comments::before { content: ""; } +#sidebar #sidebar-tabs i.fa-comments { + content: ""; + background-image: url("../ui/sidebar/sidebar_button-chat.webp") !important; + width: 100% !important; + height: 100% !important; + display: inline-block !important; + background-position:center !important; + background-size:cover !important; +} #sidebar #sidebar-tabs i.fa-fist-raised { content: ""; @@ -188,57 +149,6 @@ body { content: ""; } -/*************************************************************/ -/*======================= CHAT TAB ==========================*/ -/*************************************************************/ - -#chat-message{ - background-image: url(../ui/frames/chat-texture.webp) !important; -} - -.polyglot-lang-select{ - color: darkgoldenrod !important; -} -.polyglot-lang-select select { - font-family: CaslonPro; - font-weight: 500; - font-size: 14px; - text-align: left; - position: relative; - height: 24px; - top: 10px; - padding-top: 0px; - background: url(../ui/frames/chat-texture.webp) repeat !important; - background-position-x: 0%; - background-position-y: 0%; - background-position: initial; - box-shadow: inset 0 0 10px #000000; - border-image: url(../ui/frames/chat-controls-border.webp) 4 repeat; - border-image-width: 4px; - color: #520000; - margin-top: -10px; -} - -#sidebar .sidebar-tab #chat-controls div.roll-type-select select { - font-family: CaslonPro; - font-weight: 500; - font-size: 14px; - text-align: left; - position: relative; - height: 24px; - top: 7px; - padding-top: 3px; - background: url(../ui/frames/chat-texture.webp) repeat; - background-position-x: 0%; - background-position-y: 0%; - background-position: initial; - box-shadow: inset 0 0 10px #000000; - border-image: url(../ui/frames/chat-controls-border.webp) 4 repeat; - border-image-width: 4px; - border-image-outset: 3px 2px 2px 2px; - color: #520000; -} - /*************************************************************/ /*====================== COMBAT TAB =========================*/ /*************************************************************/ @@ -250,37 +160,6 @@ body { background-repeat: no-repeat; } -/*************************************************************/ -/*================= SIDEBAR FOLDER & WIDGETS ================*/ -/*************************************************************/ -.sidebar-tab .directory-header .header-search { - align-items: baseline; -} - -.sidebar-tab .directory-header button { - background-image: url(../ui/buttons/button-green.webp); - text-align: center; - background-position: center !important; - background-size: 100% 100% !important; - background-repeat: no-repeat; - min-height: 32px; - border: 0px solid #b5b3a4; - color : white; - text-shadow: 2px 2px black ; -} - -.sidebar-tab .directory-footer button{ - background-image: url(../ui/buttons/button-green.webp); - text-align: center; - background-position: center !important; - background-size: 100% 100% !important; - background-repeat: no-repeat; - min-height: 32px; - border: 0px solid #b5b3a4; - color : white; - text-shadow: 2px 2px black ; -} - /*************************************************************/ /*=============== SIDEBAR FOLDERs AS BUTTONS ================*/ /*************************************************************/ @@ -313,28 +192,7 @@ body { /*************************************************************/ /*================== COMPENDIUM HEADERS =====================*/ /*************************************************************/ -#compendium h3 { - text-align: left; - position: relative; - height: 55px; - top: 7px; - padding-top: 20px; - padding-left: 30px; - background: url(../ui/buttons/button-red.webp) no-repeat; - background-position-x: 0%; - background-size: 100% 55px; - background-position-y: 0%; - background-position: initial; - box-shadow: inset 0 0 10px #000000; - border-image: url(../ui/frames/chat-controls-border.webp) 4 repeat; - border-image-width: 4px; - border-image-outset: 3px 2px 2px 2px; - color: #eeede0; - text-shadow: 2px 2px 4px #000000; -} -#compendium ol.compendium-list { - padding-left: 25px;; -} + /* #endregion */ #settings button { @@ -369,14 +227,14 @@ body { } #chat-log .message.whisper .message-header .message-metadata::before{ - color: #585858; + color: rgba(88, 88, 88, 0.25); content: " (Private Roll) "; float: left; } #chat-log .message.blind .message-header .message-metadata::before{ - color: #585858; + color: rgba(88, 88, 88, 0.25); content: " (Blind Roll) " !important; float: left; } diff --git a/system/l5r-ui/scripts/help/l5rui-help.js b/system/l5r-ui/scripts/help/l5rui-help.js index ce2a99a..bf6f766 100644 --- a/system/l5r-ui/scripts/help/l5rui-help.js +++ b/system/l5r-ui/scripts/help/l5rui-help.js @@ -1,49 +1,47 @@ //fonctions et class déportées -import { openES } from './openES.js'; -import { openDTR } from './openDTR.js'; -import { openFR } from './openFR.js'; -import { openEN } from './openEN.js'; +import { openES } from "./openES.js"; +import { openDTR } from "./openDTR.js"; +import { openFR } from "./openFR.js"; +import { openEN } from "./openEN.js"; -Hooks.once("ready", async function() { +Hooks.once("ready", async function () { //----------le menu liens externes let liensExt = new Dialog({ title: "Besoin d'aide ?", content: "
Que voulez vous faire :
", buttons: { - one: { icon: '', label: "Accéder au site de Edge-Studio", - callback: () => openES() + callback: () => openES(), }, two: { icon: '', label: "Acheter un PDF du jeu ?", - callback: () => openDTR() + callback: () => openDTR(), }, three: { icon: '', label: "Rejoindre le Discord Francophone", - callback: () => openFR() + callback: () => openFR(), }, four: { icon: '', label: "Discord Officiel FoundryVTT", - callback: () => openEN() - } - - } + callback: () => openEN(), + }, + }, }); - //------------message et logo dans console + //------------message et logo dans console //----logo image var logo = document.getElementById("logo"); - logo.setAttribute("src", "systems/l5r5e/l5r-ui/ui/logo/l5r-logo.webp"); + logo.setAttribute("src", "systems/l5r5e/assets/l5r-logo.webp"); //--------------ouvrir le menu lien sur click logo logo.setAttribute("title", "Aide en Ligne"); - logo.addEventListener("click", function() { + logo.addEventListener("click", function () { liensExt.render(true); }); -}); \ No newline at end of file +}); diff --git a/system/l5r-ui/ui/cursors/default.svg b/system/l5r-ui/ui/cursors/default.svg deleted file mode 100644 index 5b2dcd7..0000000 --- a/system/l5r-ui/ui/cursors/default.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/dnd-move.svg b/system/l5r-ui/ui/cursors/dnd-move.svg deleted file mode 100644 index 2259ca3..0000000 --- a/system/l5r-ui/ui/cursors/dnd-move.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/dnd-no-drop.svg b/system/l5r-ui/ui/cursors/dnd-no-drop.svg deleted file mode 100644 index e9ed0b9..0000000 --- a/system/l5r-ui/ui/cursors/dnd-no-drop.svg +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/fleur.svg b/system/l5r-ui/ui/cursors/fleur.svg deleted file mode 100644 index e4440b4..0000000 --- a/system/l5r-ui/ui/cursors/fleur.svg +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/help.svg b/system/l5r-ui/ui/cursors/help.svg deleted file mode 100644 index d4c6c6a..0000000 --- a/system/l5r-ui/ui/cursors/help.svg +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/normal.svg b/system/l5r-ui/ui/cursors/normal.svg new file mode 100644 index 0000000..32c0c0f --- /dev/null +++ b/system/l5r-ui/ui/cursors/normal.svg @@ -0,0 +1,30 @@ + + + diff --git a/system/l5r-ui/ui/cursors/normal.webp b/system/l5r-ui/ui/cursors/normal.webp index 934e5f9..9aa3f70 100644 Binary files a/system/l5r-ui/ui/cursors/normal.webp and b/system/l5r-ui/ui/cursors/normal.webp differ diff --git a/system/l5r-ui/ui/cursors/not-allowed.svg b/system/l5r-ui/ui/cursors/not-allowed.svg deleted file mode 100644 index cd899f1..0000000 --- a/system/l5r-ui/ui/cursors/not-allowed.svg +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/openhand.svg b/system/l5r-ui/ui/cursors/openhand.svg deleted file mode 100644 index 153e765..0000000 --- a/system/l5r-ui/ui/cursors/openhand.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/system/l5r-ui/ui/cursors/pointer.svg b/system/l5r-ui/ui/cursors/pointer.svg deleted file mode 100644 index b91d4cc..0000000 --- a/system/l5r-ui/ui/cursors/pointer.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/system/l5r-ui/ui/frames/chat-texture.webp b/system/l5r-ui/ui/frames/chat-texture.webp deleted file mode 100644 index 49809fc..0000000 Binary files a/system/l5r-ui/ui/frames/chat-texture.webp and /dev/null differ diff --git a/system/lang/en-en.json b/system/lang/en-en.json index 84316f4..a818030 100644 --- a/system/lang/en-en.json +++ b/system/lang/en-en.json @@ -1,28 +1,43 @@ { - "I18N.LANGUAGE": "English", - "I18N.MAINTAINERS": ["Team L5R"], + "i18n.language": "English", + "i18n.maintainers": ["Team L5R"], - "HEXA.COLOR": "Enter a hexadecimal color (such as #FFFFFF).", - "IC.BG.COLOR": "IC Background Color", - "IC.TEXT.COLOR": "IC Text Color", - "EMOTE.BG.COLOR": "Emote Background Color", - "EMOTE.TEXT.COLOR": "Emote Text Color", - "ROLL.BG.COLOR": "Roll Background Color", - "ROLL.TEXT.COLOR": "Roll Text Color", - "OTHER.BG.COLOR": "Other Background Color", - "OTHER.TEXT.COLOR": "Other Text Color", - "DEF.CHAT.PREF": "Default Chat Prefix", - "SPE.CHAT.PREF": "If specified, this string will be prefixed to all chat messages that are not already commands (such as /emote.)", + "settings.simplemacroshorthandn": "Shortened Macro Syntax", + "settings.simplemacroshorthandl": "Enable a shortened macro syntax which allows referencing attributes directly, for example @str instead of @attributes.str.value. Disable this setting if you need the ability to reference the full attribute model, for example @attributes.str.label.", + "settings.simpleinitformulan": "Initiative Formula", + "settings.simpleinitformulal": "Enter an initiative formula, such as d20+@dex", - "SETTINGS.SimpleMacroShorthandN": "Shortened Macro Syntax", - "SETTINGS.SimpleMacroShorthandL": "Enable a shortened macro syntax which allows referencing attributes directly, for example @str instead of @attributes.str.value. Disable this setting if you need the ability to reference the full attribute model, for example @attributes.str.label.", - "SETTINGS.SimpleInitFormulaN": "Initiative Formula", - "SETTINGS.SimpleInitFormulaL": "Enter an initiative formula, such as d20+@dex", + "simple.notifyinitformulaupdated": "Initiative formula was updated to:", + "simple.notifyinitformulainvalid": "Initiative formula was invalid:", - "SIMPLE.NotifyInitFormulaUpdated": "Initiative formula was updated to:", - "SIMPLE.NotifyInitFormulaInvalid": "Initiative formula was invalid:", + "hexa.color": "Enter a hexadecimal color (such as #FFFFFF).", + "ic.bg.color": "IC Background Color", + "ic.text.color": "IC Text Color", + "emote.bg.color": "Emote Background Color", + "emote.text.color": "Emote Text Color", + "roll.bg.color": "Roll Background Color", + "roll.text.color": "Roll Text Color", + "other.bg.color": "Other Background Color", + "other.text.color": "Other Text Color", + "def.chat.pref": "Default Chat Prefix", + "spe.chat.pref": "If specified, this string will be prefixed to all chat messages that are not already commands (such as /emote.)", "l5r5e": { + "logo": { + "title": "Need help?", + "content": "Follow the guide :", + "edge": "Go to the Edge-Studio website", + "drive": "Buy a PDF of the game...", + "discrod": "FoundryVTT Official Discord", + "src": "systems/l5r5e/assets/l5r-logo.webp", + "alt": "Online Help", + "edge-info": "your browser will open the EDGE STUDIO website", + "edge-link": "https://edge-studio.net/", + "drive-info": "your browser will open the DriveThruRpg site of Edge Studio", + "drive-link": "https://www.drivethrurpg.com/browse/pub/17946/EDGE-Studio", + "discrod-info": "Your browser will open on the official Foundry discord", + "discrod-link": "https://discordapp.com/invite/DDBZUDf" + }, "rings": { "title": "Rings", "earth": "Earth", diff --git a/system/lang/es-es.json b/system/lang/es-es.json index 7c0c17c..43d830c 100644 --- a/system/lang/es-es.json +++ b/system/lang/es-es.json @@ -1,28 +1,43 @@ { - "I18N.LANGUAGE": "Español", - "I18N.MAINTAINERS": ["Team L5R"], + "i18n.language": "Español", + "i18n.maintainers": ["Team L5R"], - "HEXA.COLOR": "Introduzca un color hexadecimal (como #FFFFFF)", - "IC.BG.COLOR": "Color de fondo en el gato", - "IC.TEXT.COLOR": "Color del texto en el chat", - "EMOTE.BG.COLOR": "Color de fondo de los Emotes", - "EMOTE.TEXT.COLOR": "Color del texto de los Emotes", - "ROLL.BG.COLOR": "Color de fondo de la tirada", - "ROLL.TEXT.COLOR": "Color del texto de la tirada", - "OTHER.BG.COLOR": "Otro color de fondo", - "OTHER.TEXT.COLOR": "Otro color de texto", - "DEF.CHAT.PREF": "Prefijo del chat por defecto", - "SPE.CHAT.PREF": "Si está configurado, la cadena será prefijada para todos los mensajes de chat que no sean ya comandos (como /emote.)", + "settings.simplemacroshorthandn": "Macro sintaxis acortada", + "settings.simplemacroshorthandl": "Habilitar una sintaxis de macro abreviada que permita referenciar directamente los atributos, por ejemplo @str en lugar de @attributes.str.value. Deshabilitar esta configuración si se necesita la capacidad de referenciar el modelo de atributos completo, por ejemplo @attributes.str.label", + "settings.simpleinitformulan": "Fórmula de iniciativa", + "settings.simpleinitformulal": "Introduzca una fórmula de iniciativa, como d20+@dex", - "SETTINGS.SimpleMacroShorthandN": "Macro sintaxis acortada", - "SETTINGS.SimpleMacroShorthandL": "Habilitar una sintaxis de macro abreviada que permita referenciar directamente los atributos, por ejemplo @str en lugar de @attributes.str.value. Deshabilitar esta configuración si se necesita la capacidad de referenciar el modelo de atributos completo, por ejemplo @attributes.str.label", - "SETTINGS.SimpleInitFormulaN": "Fórmula de iniciativa", - "SETTINGS.SimpleInitFormulaL": "Introduzca una fórmula de iniciativa, como d20+@dex", + "simple.notifyinitformulaupdated": "La fórmula de la iniciativa fue actualizada a:", + "simple.notifyinitformulainvalid": "La fórmula de la iniciativa fue inválida:", - "SIMPLE.NotifyInitFormulaUpdated": "La fórmula de la iniciativa fue actualizada a:", - "SIMPLE.NotifyInitFormulaInvalid": "La fórmula de la iniciativa fue inválida:", + "hexa.color": "Introduzca un color hexadecimal (como #FFFFFF)", + "ic.bg.color": "Color de fondo en el gato", + "ic.text.color": "Color del texto en el chat", + "emote.bg.color": "Color de fondo de los Emotes", + "emote.text.color": "Color del texto de los Emotes", + "roll.bg.color": "Color de fondo de la tirada", + "roll.text.color": "Color del texto de la tirada", + "other.bg.color": "Otro color de fondo", + "other.text.color": "Otro color de texto", + "def.chat.pref": "Prefijo del chat por defecto", + "spe.chat.pref": "Si está configurado, la cadena será prefijada para todos los mensajes de chat que no sean ya comandos (como /emote.)", "l5r5e": { + "logo": { + "título": "¿Necesitas ayuda?", + "contenido": "Sigue la guía :", + "Edge": "Ir a la página web de Edge-Studio", + "conducir": "¿Comprar un PDF del juego?", + "Discordia": "Discordia oficial de FoundryVTT", + "src": "systems/l5r5e/assets/l5r-logo.webp", + "alt": "Ayuda en línea", + "edge-info": "tu navegador abrirá la página web de EDGE STUDIO", + "edge-link": "https://edge-studio.net/", + "drive-info": "tu navegador abrirá el sitio DriveThruRpg de Edge Studio", + "drive-link": "https://www.drivethrurpg.com/browse/pub/17946/EDGE-Studio", + "discrod-info": "Su navegador se abrirá a la discordia oficial de la Fundición", + "discrod-link": "https://discordapp.com/invite/DDBZUDf" + }, "rings": { "title": "Anillos", "earth": "Tierra", diff --git a/system/lang/fr-fr.json b/system/lang/fr-fr.json index 691c1cf..af33a75 100644 --- a/system/lang/fr-fr.json +++ b/system/lang/fr-fr.json @@ -1,28 +1,43 @@ { - "I18N.LANGUAGE": "Français", - "I18N.MAINTAINERS": ["Team L5R"], + "i18n.language": "Français", + "i18n.maintainers": ["Team L5R"], - "HEXA.COLOR": "Entrer une couleur hexadécimale (telle que #FFFFFF).", - "IC.BG.COLOR": "Couleur de fond dans le chat", - "IC.TEXT.COLOR": "Couleur du texte dans le chat", - "EMOTE.BG.COLOR": "Couleur de fond des Emotes", - "EMOTE.TEXT.COLOR": "Couleur du texte des Emotes", - "ROLL.BG.COLOR": "Couleur de fond du jet de dé", - "ROLL.TEXT.COLOR": "Couleur du texte du jet de dé", - "OTHER.BG.COLOR": "Autre couleur de fond", - "OTHER.TEXT.COLOR": "Autre couleur de texte", - "DEF.CHAT.PREF": "Préfixe de Chat par défaut", - "SPE.CHAT.PREF": "Si renseignée, la chaîne sera préfixée pour tous les messages de chat qui ne sont pas déjà des commandes (comme /emote.)", + "settings.simplemacroshorthandn": "Macro syntaxe abrégée", + "settings.simplemacroshorthandl": "Activer une syntaxe de macro raccourcie qui permet de référencer directement les attributs, par exemple @str au lieu de @attributes.str.value. Désactivez ce paramètre si vous avez besoin de pouvoir référencer le modèle d'attribut complet, par exemple @attributes.str.label", + "settings.simpleinitformulan": "Formule d'initiative", + "settings.simpleinitformulal": "Entrez une formule d'initiative, telle que d20+@dex", - "SETTINGS.SimpleMacroShorthandN": "Macro syntaxe abrégée", - "SETTINGS.SimpleMacroShorthandL": "Activer une syntaxe de macro raccourcie qui permet de référencer directement les attributs, par exemple @str au lieu de @attributes.str.value. Désactivez ce paramètre si vous avez besoin de pouvoir référencer le modèle d'attribut complet, par exemple @attributes.str.label", - "SETTINGS.SimpleInitFormulaN": "Formule d'initiative", - "SETTINGS.SimpleInitFormulaL": "Entrez une formule d'initiative, telle que d20+@dex", + "simple.notifyinitformulaupdated": "La formule de l'initiative a été mise à jour pour :", + "simple.notifyinitformulainvalid": "La formule d'initiative suivante n'est pas valable :", - "SIMPLE.NotifyInitFormulaUpdated": "La formule de l'initiative a été mise à jour pour :", - "SIMPLE.NotifyInitFormulaInvalid": "La formule d'initiative suivante n'est pas valable :", + "hexa.color": "Entrer une couleur hexadécimale (telle que #FFFFFF).", + "ic.bg.color": "Couleur de fond dans le chat", + "ic.text.color": "Couleur du texte dans le chat", + "emote.bg.color": "Couleur de fond des Emotes", + "emote.text.color": "Couleur du texte des Emotes", + "roll.bg.color": "Couleur de fond du jet de dé", + "roll.text.color": "Couleur du texte du jet de dé", + "other.bg.color": "Autre couleur de fond", + "other.text.color": "Autre couleur de texte", + "def.chat.pref": "Préfixe de Chat par défaut", + "spe.chat.pref": "Si renseignée, la chaîne sera préfixée pour tous les messages de chat qui ne sont pas déjà des commandes (comme /emote.)", "l5r5e": { + "logo": { + "title": "Besoin d'aide ?", + "content": "Suivez le guide :", + "edge": "Accéder au site de Edge Studio.", + "drive": "Acheter un PDF du jeu ?", + "discrod": "rejoignez le Discord Francophone", + "src": "systems/l5r5e/assets/l5r-logo.webp", + "alt": "Aide en Ligne", + "edge-info": "Votre navigateur va ouvrir le site de Edge Studio.", + "edge-link": "https://edge-studio.net/", + "drive-info": "Votre navigateur va ouvrir le site DriveThruRpg de Edge Studio.", + "drive-link": "https://www.drivethrurpg.com/browse/pub/17946/EDGE-Studio", + "discrod-info": "Votre navigateur va ouvrir le discord francophone de foundry.", + "discrod-link": "https://discord.gg/pPSDNJk" + }, "rings": { "title": "Anneaux", "earth": "Terre", diff --git a/system/scripts/main-l5r5e.js b/system/scripts/main-l5r5e.js index 31ba6d3..56ccebf 100644 --- a/system/scripts/main-l5r5e.js +++ b/system/scripts/main-l5r5e.js @@ -174,4 +174,56 @@ Hooks.once("diceSoNiceReady", (dice3d) => { ); }); +// Logo & Menu options + +Hooks.once("ready", async function () { + // -- Function Open Edge-Studio Website + function openEdge() { + ui.notifications.info(game.i18n.localize("l5r5e.logo.edge-info")); + var windowObjectReference = window.open(game.i18n.localize("l5r5e.logo.edge-link"), "_blank"); + } + // -- Open Function Edge's DriveThruRpg + function openDrive() { + ui.notifications.info(game.i18n.localize("l5r5e.logo.drive-info")); + var windowObjectReference = window.open(game.i18n.localize("l5r5e.logo.drive-link"), "_blank"); + } + // -- Open Function Discord Link + function openDiscord() { + ui.notifications.info(game.i18n.localize("l5r5e.logo.discrod-info")); + var windowObjectReference = window.open(game.i18n.localize("l5r5e.logo.discrod-link"), "_blank"); + } + + //-- Logo Menu Link + let liensExt = new Dialog({ + title: game.i18n.localize("l5r5e.logo.title"), + content: "" + game.i18n.localize("l5r5e.logo.content") + "
", + buttons: { + one: { + icon: '', + label: game.i18n.localize("l5r5e.logo.edge"), + callback: () => openEdge(), + }, + two: { + icon: '', + label: game.i18n.localize("l5r5e.logo.drive"), + callback: () => openDrive(), + }, + three: { + icon: '', + label: game.i18n.localize("l5r5e.logo.discrod"), + callback: () => openDiscord(), + }, + }, + }); + //-- Logo + var logo = document.getElementById("logo"); + logo.setAttribute("src", game.i18n.localize("l5r5e.logo.src")); + + //-- Open menu on Logo click + logo.setAttribute("title", game.i18n.localize("l5r5e.logo.alt")); + logo.addEventListener("click", function () { + liensExt.render(true); + }); +}); + // Add any additional hooks if necessary diff --git a/system/scripts/ui/chatColor-l5r5e.js b/system/scripts/ui/chatColor-l5r5e.js new file mode 100644 index 0000000..437cd82 --- /dev/null +++ b/system/scripts/ui/chatColor-l5r5e.js @@ -0,0 +1,139 @@ +Hooks.on("init", () => { + // Register module settings. + game.settings.register("l5r5e", "icBgColor", { + name: game.i18n.localize("ic.bg.color"), + hint: game.i18n.localize("hexa.color"), + default: "#D3E5F5", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "icTextColor", { + name: game.i18n.localize("ic.text.color"), + hint: game.i18n.localize("hexa.color"), + default: "rgba(0,0,0,0.75)", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "emoteBgColor", { + name: game.i18n.localize("emote.bg.color"), + hint: game.i18n.localize("hexa.color"), + default: "#D1F5D1", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "emoteTextColor", { + name: game.i18n.localize("emote.text.color"), + hint: game.i18n.localize("hexa.color"), + default: "rgba(0,0,0,0.75)", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "rollBgColor", { + name: game.i18n.localize("roll.bg.color"), + hint: game.i18n.localize("hexa.color"), + default: "#E6BB81", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "rollTextColor", { + name: game.i18n.localize("roll.text.color"), + hint: game.i18n.localize("hexa.color"), + default: "rgba(0,0,0,0.75)", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "otherBgColor", { + name: game.i18n.localize("other.bg.color"), + hint: game.i18n.localize("hexa.color"), + default: "#DBD9CD", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "otherTextColor", { + name: game.i18n.localize("other.text.color"), + hint: game.i18n.localize("hexa.color"), + default: "rgba(0,0,0,0.75)", + type: String, + scope: "client", + config: true, + }); + game.settings.register("l5r5e", "defaultChatPrefix", { + name: game.i18n.localize("def.chat.pref"), + hint: game.i18n.localize("spe.chat.pref"), + default: "", + type: String, + scope: "client", + config: true, + }); +}); + +Hooks.on("renderChatLog", (log, html) => { + // Prepend inline CSS to the chatlog to style the chat messages. + const icBgColor = game.settings.get("l5r5e", "icBgColor"); + const icTextColor = game.settings.get("l5r5e", "icTextColor"); + const emoteBgColor = game.settings.get("l5r5e", "emoteBgColor"); + const emoteTextColor = game.settings.get("l5r5e", "emoteTextColor"); + const rollBgColor = game.settings.get("l5r5e", "rollBgColor"); + const rollTextColor = game.settings.get("l5r5e", "rollTextColor"); + const otherBgColor = game.settings.get("l5r5e", "otherBgColor"); + const otherTextColor = game.settings.get("l5r5e", "otherTextColor"); + $( + "" + ).prependTo(html); +}); + +Hooks.on("chatMessage", (chatLog, message, chatData) => { + if (game.settings.get("l5r5e", "defaultChatPrefix")) { + const prefix = game.settings.get("l5r5e", "defaultChatPrefix"); + + // Check if the message begins with any command. + let [command, match] = chatLog.constructor.parse(message); + + if (command === "none") { + // If there is no command, insert the prefix and reprocess. + chatLog.processMessage(prefix + " " + message); + return false; + } + + // Otherwise do nothing. + return true; + } +}); + +Hooks.on("renderChatMessage", (message, html, data) => { + // Add extra CSS classes to rolls so we can style them. + if (message.isRoll) { + html.addClass("chatColorsRoll"); + } +}); diff --git a/system/styles/conf/l5r5e.scss b/system/styles/conf/l5r5e.scss index 835e46e..4be5c17 100644 --- a/system/styles/conf/l5r5e.scss +++ b/system/styles/conf/l5r5e.scss @@ -2,6 +2,8 @@ @import "../scss/colors"; @import "../scss/global"; @import "../scss/fonts"; +@import "../scss/cursors"; +@import "../scss/dices"; @import "../scss/ui"; .l5r5e { diff --git a/system/styles/l5r5e.css b/system/styles/l5r5e.css index 6504d6e..926dc1e 100644 --- a/system/styles/l5r5e.css +++ b/system/styles/l5r5e.css @@ -1 +1 @@ -.window-app .window-content{z-index:1;position:relative;background:url("../assets/imgs/bgL5R.webp") no-repeat;background-size:cover}.window-app .window-resizable-handle{z-index:2;background:rgba(0,0,0,0.75)}*{transition-property:background, color, border-color, text-shadow, box-shadow;transition-duration:0.5s;transition-timing-function:ease}input[type="text"]:focus,input[type="number"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="time"]:focus{box-shadow:0 0 6px rgba(255,0,0,0.75)}.tabs .item.active{text-shadow:0 0 10px rgba(255,0,0,0.75)}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{box-shadow:0 0 10px rgba(255,0,0,0.75)}ul,li{list-style-type:none;margin:0;padding:0}input[type="text"],input[type="number"],input[type="password"],input[type="date"],input[type="time"]{background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);padding:0.25rem;color:#764f40}@font-face{font-family:"LogotypeL5r";src:url("../fonts/LogotypeL5r.ttf") format("truetype")}@font-face{font-family:"BrushtipTexe";src:url("../fonts/BrushtipTexe.otf") format("opentype")}@font-face{font-family:"PatrickHand";src:url("../fonts/PatrickHand.ttf") format("truetype")}body{font:16px "PatrickHand",sans-serif;letter-spacing:0.05rem}h1,h4{font-family:"BrushtipTexe",sans-serif}h1{font-size:2rem}h4{font-size:1.25rem}i.strife,i.success,i.explosive,i.opportunity,i.d6,i.d12,i.i_earth,i.i_water,i.i_fire,i.i_air,i.i_void{font-family:LogotypeL5r;line-height:1rem;font-style:normal;font-weight:normal;vertical-align:middle}i.strife:before{content:"f"}i.success:before{content:"s"}i.explosive:before{content:"e"}i.opportunity:before{content:"o"}i.d6:before{content:"r"}i.d12:before{content:"k"}i.i_earth:before{content:"g"}i.i_water:before{content:"w"}i.i_fire:before{content:"i"}i.i_air:before{content:"a"}i.i_void:before{content:"v"}#sidebar{background-position:top;background-size:100%;background-repeat:no-repeat;background:url("../assets/ui/bgSidebar.png") no-repeat;top:0;height:100%;padding:0.5rem}#sidebar #sidebar-tabs{flex:0 0 1rem;box-sizing:border-box;margin:0 0 0.25rem;border-bottom:1px solid rgba(255,255,255,0.25);box-shadow:none}#sidebar #sidebar-tabs>.item{line-height:27px;border-radius:100%;margin:0;flex:0 0 27px;height:27px}#sidebar #sidebar-tabs>.item .active{border:1px solid rgba(255,100,0,0.75);box-shadow:0 0 6px rgba(255,100,0,0.75)}#sidebar .message-sender{color:#963c41}#sidebar .chat-control-icon{cursor:url(../l5r-ui/ui/cursors/pointer.webp),pointer}#hotbar{margin:0}#hotbar #action-bar{flex:0 0 100%}#hotbar #action-bar .macro{-o-border-image:url("../assets/ui/macro-button.webp");border-image:url("../assets/ui/macro-button.webp");border-image-slice:8 fill;border-image-width:0.25rem;border-image-outset:0;border-radius:0}#hotbar #action-bar .macro .macro-key{background:transparent}#hotbar #action-bar #macro-list{background:rgba(0,0,0,0.75);margin:0;padding:0.05rem;border:none;border-radius:0;background-origin:padding-box;-o-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-outset:0px;box-shadow:0.25rem 0.25rem 0.5rem rgba(0,0,0,0.75)}#hotbar .bar-controls{background:rgba(0,0,0,0.75);background-origin:padding-box;-o-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-outset:0px;box-shadow:0 0 0.25rem rgba(0,0,0,0.75);border-radius:0;margin:0 0.5rem}#hotbar .bar-controls a.page-control,#hotbar .bar-controls span.page-number{font-size:1rem;line-height:0.95rem}#players{background:rgba(0,0,0,0.75);background-origin:padding-box;-o-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-outset:0px;margin:0;padding:0;left:1.15rem;bottom:0.65rem;box-shadow:inset 0 0 0.5rem rgba(0,0,0,0.75)}#players:before{z-index:-1;position:absolute;content:"";background:transparent url("../assets/ui/players-border.webp") no-repeat 0 0;background-size:100%;display:block;top:-12px;right:10%;left:10%;bottom:0}#logo{height:80px;margin-left:0.5rem;opacity:0.5}#logo:hover{opacity:0.75}#navigation{left:120px}#navigation #nav-toggle,#navigation #scene-list .scene.nav-item{cursor:default;color:rgba(255,255,255,0.65);background:linear-gradient(#285064, #0a141e, #285064);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#navigation #scene-list .scene.nav-item.active{background:linear-gradient(#41140f, #230a05, #41140f)}#navigation #scene-list .scene.view,#navigation #scene-list .scene.context{cursor:default;color:#fff;background:linear-gradient(#41140f, #230a05, #41140f);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 20px red}#controls{top:100px}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{background:linear-gradient(#41140f, #230a05, #41140f);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 10px rgba(255,0,0,0.75)}#controls .scene-control,#controls .control-tool{background:linear-gradient(#285064, #0a141e, #285064);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}.l5r5e .chat-dice>img{border:1px solid transparent;background-repeat:no-repeat;background-position:center;background-size:100%;height:44px;width:44px;outline:none;margin:0;flex:0 0 20px;display:inline-block}.l5r5e .dice-picker-dialog *{transition:none}.l5r5e .dice-picker-dialog input[type="text"]:focus,.l5r5e .dice-picker-dialog input[type="text"]:hover{box-shadow:none !important;border:none !important;text-shadow:none !important}.l5r5e .dice-picker-dialog img{border:0}.l5r5e .dice-picker-dialog table .profil{width:200px}.l5r5e .dice-picker-dialog table .rings{width:240px}.l5r5e .dice-picker-dialog table .skill{width:200px}.l5r5e .dice-picker-dialog .ring-selection{filter:contrast(10%)}.l5r5e .dice-picker-dialog .ring-selection.ring-selected{filter:drop-shadow(1px 1px 0 #151515)}.l5r5e .dice-picker-dialog .quantity{font-size:xx-large}.l5r5e .dice-picker-dialog .center{text-align:center}.l5r5e .dice-picker-dialog .third{float:left;width:33.333333333%}.l5r5e .dice-picker-dialog #ring_value{width:20px;position:relative;left:+34px;top:-14px;color:#f0f0e0;background:none;border:none;font-size:large}.l5r5e .dice-picker-dialog #skill_value{width:20px;position:relative;left:+34px;top:-13px;color:#0f0f0e;background:none;border:none;font-size:large}.l5r5e.sheet{min-width:600px}.l5r5e.sheet .sheet-header h1{flex:auto;margin:0 0.5rem 0.25rem}.l5r5e.sheet .sheet-header h1 input{flex:0 0 100%;height:4rem;margin:0.5rem 0 0;width:100%;color:#963c41;background:transparent;border:0 none;border-radius:0;border-bottom:1px dotted rgba(0,0,0,0.5)}.l5r5e.sheet .sheet-header h1:before{content:"";position:absolute;background:url("../assets/imgs/brushL5r.webp") no-repeat 0 0;background-size:contain;height:225px;width:100%;z-index:-1;left:-0.25rem}.l5r5e.sheet .sheet-header img{flex:0 0 150px;height:150px;margin-right:0;-o-object-fit:contain;object-fit:contain;background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .header-fields h2{font-family:"BrushtipTexe",sans-serif;float:right;width:50%;padding:0 0.25rem;margin:0;text-align:right;color:rgba(0,0,0,0.5);border-bottom:rgba(255,255,255,0.65);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet .sheet-header .header-fields h2:before{content:"";position:absolute;height:1px;width:100%}.l5r5e.sheet .sheet-header .identity-wrapper{display:flex;flex-wrap:wrap;flex:0 0 calc(100% - 150px - 0.25rem)}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content{flex:0 0 100%;display:flex;flex-wrap:wrap;margin:0.5rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li{flex:33%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(1),.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(2){flex:50%;margin:0 0 0.5rem}.l5r5e.sheet .sheet-header .rings{float:left;width:calc(50% - 0.25rem);padding:0.25rem}.l5r5e.sheet .sheet-header .social-content{flex:0 0 100%;display:flex;padding:0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper{float:right;width:calc(50% - 0.25rem);padding:0.5rem 0 0.5rem 1rem;display:flex;flex-wrap:wrap;flex-direction:column;background:rgba(186,187,177,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label{float:left;width:50%}.l5r5e.sheet .sheet-header .attributes-wrapper li p{display:none;position:absolute}.l5r5e.sheet .sheet-header .attributes-wrapper li:hover p{display:block}.l5r5e.sheet .sheet-header .identity-wrapper label,.l5r5e.sheet .sheet-header .social-content label,.l5r5e.sheet .sheet-header .attributes-wrapper label{display:flex;color:#5a6e5a;text-transform:uppercase;font-size:0.75rem;line-height:2rem}.l5r5e.sheet .sheet-header .identity-wrapper label input,.l5r5e.sheet .sheet-header .social-content label input,.l5r5e.sheet .sheet-header .attributes-wrapper label input{flex:1;margin:0 1rem 0 0.5rem}.l5r5e.sheet article{background:rgba(255,255,255,0.5);padding:0.5rem}.l5r5e nav.sheet-tabs{background:rgba(186,187,177,0.5);color:rgba(0,0,0,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e nav .item:hover{background-color:rgba(0,0,0,0.75);color:#fff;text-shadow:black 1px 2px 0}.l5r5e nav .item.active{height:2.5rem;line-height:2rem;background-color:rgba(73,12,11,0.85);color:#fff;background-color:rgba(73,12,11,0.85);-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%)}.l5r5e nav .item.active:hover{background-color:rgba(73,12,11,0.85);cursor:default}.l5r5e .rings{display:flex;flex-wrap:wrap;color:rgba(255,255,255,0.65)}.l5r5e .rings #earth,.l5r5e .rings #air,.l5r5e .rings #water,.l5r5e .rings #fire,.l5r5e .rings #void{position:relative;flex:1 1 50%;text-align:center}.l5r5e .rings #earth i.i_earth,.l5r5e .rings #earth i.i_water,.l5r5e .rings #earth i.i_fire,.l5r5e .rings #earth i.i_air,.l5r5e .rings #earth i.i_void,.l5r5e .rings #air i.i_earth,.l5r5e .rings #air i.i_water,.l5r5e .rings #air i.i_fire,.l5r5e .rings #air i.i_air,.l5r5e .rings #air i.i_void,.l5r5e .rings #water i.i_earth,.l5r5e .rings #water i.i_water,.l5r5e .rings #water i.i_fire,.l5r5e .rings #water i.i_air,.l5r5e .rings #water i.i_void,.l5r5e .rings #fire i.i_earth,.l5r5e .rings #fire i.i_water,.l5r5e .rings #fire i.i_fire,.l5r5e .rings #fire i.i_air,.l5r5e .rings #fire i.i_void,.l5r5e .rings #void i.i_earth,.l5r5e .rings #void i.i_water,.l5r5e .rings #void i.i_fire,.l5r5e .rings #void i.i_air,.l5r5e .rings #void i.i_void{font-size:5rem;line-height:4.75rem}.l5r5e .rings #earth label,.l5r5e .rings #air label,.l5r5e .rings #water label,.l5r5e .rings #fire label,.l5r5e .rings #void label{position:relative;width:5rem;line-height:0;float:right}.l5r5e .rings #earth input,.l5r5e .rings #air input,.l5r5e .rings #water input,.l5r5e .rings #fire input,.l5r5e .rings #void input{position:absolute;height:2rem;width:2rem;border-radius:100%;top:0;left:0;border:2px solid rgba(186,187,177,0.5);color:rgba(255,255,255,0.65)}.l5r5e .rings #earth input:hover,.l5r5e .rings #air input:hover,.l5r5e .rings #water input:hover,.l5r5e .rings #fire input:hover,.l5r5e .rings #void input:hover{border:2px solid rgba(255,0,0,0.75);text-shadow:0 0 6px rgba(255,0,0,0.75);box-shadow:0 0 6px inset rgba(255,0,0,0.75)}.l5r5e .rings #earth{float:right;color:#699678}.l5r5e .rings #earth input{top:auto;right:0;bottom:-1rem;left:auto;background:#699678}.l5r5e .rings #earth label strong{position:absolute;bottom:0.75rem;left:-1.75rem}.l5r5e .rings #air{color:#917896}.l5r5e .rings #air input{top:auto;right:auto;bottom:-1rem;left:0;background:#917896}.l5r5e .rings #air label{float:left}.l5r5e .rings #air label strong{position:absolute;bottom:0.75rem;right:-1rem}.l5r5e .rings #water{float:right;color:#5f919b;padding-right:2rem}.l5r5e .rings #water input{top:17%;right:-1.25rem;bottom:auto;left:auto;background:#5f919b}.l5r5e .rings #water label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #fire{color:#9b7350;padding-left:2rem}.l5r5e .rings #fire input{top:17%;right:auto;bottom:auto;left:-1.25rem;background:#9b7350}.l5r5e .rings #fire label{float:left}.l5r5e .rings #fire label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #void{top:-2rem;margin:0 calc(50% - 2.5rem);color:#4b4641}.l5r5e .rings #void input{top:-1rem;right:auto;bottom:auto;left:30%;background:#4b4641}.l5r5e .rings #void label strong{position:absolute;bottom:-0.75rem;left:1.75rem}.l5r5e .testing{width:14.28571%}.l5r5e .testing{width:28.57143%}.l5r5e .testing{width:14.28571%}.l5r5e .testing{width:28.57143%} +body{background:url("../assets/imgs/background.webp") no-repeat center;background-size:cover}.window-app .window-content{z-index:1;position:relative;background:url("../assets/imgs/bgL5R.webp") no-repeat;background-size:cover}.window-app .window-resizable-handle{z-index:2;background:rgba(0,0,0,0.75)}*{transition-property:background, color, border-color, text-shadow, box-shadow;transition-duration:0.5s;transition-timing-function:ease}input[type="text"]:focus,input[type="number"]:focus,input[type="password"]:focus,input[type="date"]:focus,input[type="time"]:focus{box-shadow:0 0 6px rgba(255,0,0,0.75)}.tabs .item.active{text-shadow:0 0 10px rgba(255,0,0,0.75)}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{box-shadow:0 0 10px rgba(255,0,0,0.75)}ul,li{list-style-type:none;margin:0;padding:0}input[type="text"],input[type="number"],input[type="password"],input[type="date"],input[type="time"]{background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);padding:0.25rem;color:#764f40}.earth{color:#699678}.air{color:#917896}.water{color:#5f919b}.fire{color:#9b7350}.void{color:#4b4641}@font-face{font-family:"LogotypeL5r";src:url("../fonts/LogotypeL5r.ttf") format("truetype")}@font-face{font-family:"BrushtipTexe";src:url("../fonts/BrushtipTexe.ttf") format("truetype")}@font-face{font-family:"PatrickHand";src:url("../fonts/PatrickHand.ttf") format("truetype")}@font-face{font-family:"ManoNegra";src:url("../fonts/ManoNegra.ttf") format("truetype")}body{font:16px "PatrickHand",sans-serif;letter-spacing:0.05rem}h1,h4{font-family:"BrushtipTexe",sans-serif}h1{font-size:2rem}h4{font-size:1.25rem}i.strife,i.success,i.explosive,i.opportunity,i.d6,i.d12,i.i_earth,i.i_water,i.i_fire,i.i_air,i.i_void{font-family:LogotypeL5r;line-height:1rem;font-style:normal;font-weight:normal;vertical-align:middle}i.strife:before{content:"f"}i.success:before{content:"s"}i.explosive:before{content:"e"}i.opportunity:before{content:"o"}i.d6:before{content:"r"}i.d12:before{content:"k"}i.i_earth:before{content:"g"}i.i_water:before{content:"w"}i.i_fire:before{content:"i"}i.i_air:before{content:"a"}i.i_void:before{content:"v"}body,#navigation #scene-list .scene.view,#navigation #scene-list .scene.context,#navigation #nav-toggle,#navigation #scene-list .scene.nav-item,#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover,#client-settings .window-content form .form-group>label,#client-settings .window-content form .form-group select,#client-settings .form-group input,.app.window-app .form-group label,#sidebar .sidebar-tab #chat-controls div.roll-type-select select,#sidebar .sidebar-tab #chat-controls div.roll-type-select i.fas{cursor:url("../assets/cursors/normal.webp"),default !important}a,#hotbar .macro,#playlists-popout .global-volume::-webkit-slider-thumb,#sidebar #playlists .global-volume::-webkit-slider-thumb,#playlists-popout li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb,#sidebar #playlists li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb,#sidebar #settings button,.app.window-app.sheet.wfrp4e.actor.character-sheet .tab.main.active .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app.sheet.wfrp4e.actor.npc-sheet .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app.sheet.wfrp4e.actor.creature-sheet .main-row .movement.row-section .move-value .auto-calc-toggle,.app.window-app .form-group input[type="range"]::-webkit-slider-thumb,.token-sheet .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb,#drawing-config .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb,.metacurrency-value,.overcast-button,.chargen-button,#controls .scene-control,#controls .control-tool,#effects-config .flex2::-webkit-slider-thumb,#client-settings section.content .submenu>button,#client-settings .window-content button label,form .form-group .form-fields button,.sidebar-tab .action-buttons button,.dialog .dialog-buttons button,form button{cursor:url("../assets/cursors/pointer.webp"),pointer !important}.draggable{cursor:url("../assets/cursors/drag.webp"),move !important}.chat-dice>img{border:1px solid transparent;background-repeat:no-repeat;background-position:center;background-size:100%;height:44px;width:44px;outline:none;margin:0;flex:0 0 20px;display:inline-block}.dice-picker-dialog *{transition:none}.dice-picker-dialog input[type="text"]:focus,.dice-picker-dialog input[type="text"]:hover{box-shadow:none !important;border:none !important;text-shadow:none !important}.dice-picker-dialog img{border:0}.dice-picker-dialog table .profil{width:200px}.dice-picker-dialog table .rings{width:240px}.dice-picker-dialog table .skill{width:200px}.dice-picker-dialog .ring-selection{filter:contrast(10%)}.dice-picker-dialog .ring-selection.ring-selected{filter:drop-shadow(1px 1px 0 #151515)}.dice-picker-dialog .quantity{font-size:xx-large}.dice-picker-dialog .center{text-align:center}.dice-picker-dialog .third{float:left;width:33.333333333%}.dice-picker-dialog #ring_value{width:20px;position:relative;left:+34px;top:-14px;color:#f0f0e0;background:none;border:none;font-size:large}.dice-picker-dialog #skill_value{width:20px;position:relative;left:+34px;top:-13px;color:#0f0f0e;background:none;border:none;font-size:large}button{font-size:0.75rem}#sidebar{padding:0.5rem 0.25rem 0.5rem 0.5rem;background-position:top;background-size:100%;background:url(../assets/ui/bgSidebar.webp) no-repeat;border:1px solid #c3a582;border-radius:0;overflow:initial;height:calc(100% - 1rem);top:0.5rem;min-width:40px}#sidebar:before{z-index:-1;content:"";position:absolute;height:calc(100% + 0.6rem);width:100%;border:1px solid #c3a582;border-radius:0;top:-0.35rem;left:0.25rem}#sidebar #sidebar-tabs{flex:0 0 2rem;box-sizing:border-box;margin:0 0 0.25rem;border-bottom:1px solid rgba(195,165,130,0.5);box-shadow:none}#sidebar #sidebar-tabs>.item{line-height:1.6rem;border-radius:100%;margin:0;flex:0 0 1.6rem;height:1.6rem}#sidebar #sidebar-tabs>.item.active,#sidebar #sidebar-tabs>.item:hover{border:1px solid rgba(255,100,0,0.75);box-shadow:0 0 6px rgba(255,100,0,0.75)}#sidebar #sidebar-tabs .collapse{position:relative;flex:0 0 1.5rem;line-height:1.5rem;color:#c3a582;text-align:center}#sidebar .sidebar-tab .action-buttons button{cursor:default;color:rgba(255,255,255,0.65);background:linear-gradient(#286432, #0a3c0f, #286432);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#sidebar .sidebar-tab .action-buttons button:hover{background:linear-gradient(#0a3c0f, #286432, #0a3c0f)}#sidebar .message-sender{color:#963c41}#hotbar{margin:0}#hotbar #action-bar{flex:0 0 100%}#hotbar #action-bar .macro{-o-border-image:url("../assets/ui/macro-button.webp");border-image:url("../assets/ui/macro-button.webp");border-image-slice:8 fill;border-image-width:0.25rem;border-image-outset:0;border-radius:0}#hotbar #action-bar .macro .macro-key{background:rgba(0,0,0,0.5)}#hotbar #action-bar #macro-list{background:rgba(0,0,0,0.75);margin:0;padding:0.05rem;border-radius:0;background-position:center;background-size:100%;background:url(../assets/ui/bgSidebar.webp) no-repeat;background-origin:padding-box;border:0 none;box-shadow:0.25rem 0.25rem 0.5rem rgba(0,0,0,0.75)}#hotbar .bar-controls{background-position:center;background-size:100%;background:url(../assets/ui/bgSidebar.webp) no-repeat;background-origin:padding-box;-o-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-outset:0px;box-shadow:0 0 0.25rem rgba(0,0,0,0.75);border-radius:0;margin:0 0.5rem}#hotbar .bar-controls a.page-control,#hotbar .bar-controls span.page-number{font-size:1rem;line-height:0.95rem}#players{border-radius:0;background-position:center;background-size:100%;background:url(../assets/ui/bgSidebar.webp) no-repeat;background-origin:padding-box;border:1px solid #c3a582;background-origin:padding-box;-o-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-outset:0px;margin:0;padding:0;left:1.15rem;bottom:0.65rem;box-shadow:inset 0 0 0.5rem rgba(0,0,0,0.75)}#players:before{z-index:-1;position:absolute;content:"";background:transparent url("../assets/ui/players-border.webp") no-repeat 0 0;background-size:100%;display:block;top:-12px;right:10%;left:10%;bottom:0}#logo{height:80px;margin-left:0.5rem;opacity:0.5}#logo:hover{opacity:0.75}#navigation{left:120px}#navigation #nav-toggle,#navigation #scene-list .scene.nav-item{cursor:default;color:rgba(255,255,255,0.65);background:linear-gradient(#285064, #0a141e, #285064);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#navigation #nav-toggle:hover,#navigation #scene-list .scene.nav-item:hover{background:linear-gradient(#0a141e, #285064, #0a141e)}#navigation #scene-list .scene.nav-item.active{background:linear-gradient(#41140f, #230a05, #41140f)}#navigation #scene-list .scene.nav-item.active:hover{background:linear-gradient(#230a05, #41140f, #230a05)}#navigation #scene-list .scene.view,#navigation #scene-list .scene.context{cursor:default;color:#fff;background:linear-gradient(#41140f, #230a05, #41140f);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 20px red}#navigation #scene-list .scene.view:hover,#navigation #scene-list .scene.context:hover{background:linear-gradient(#230a05, #41140f, #230a05)}#controls{top:100px}#controls .scene-control.active,#controls .control-tool.active,#controls .scene-control:hover,#controls .control-tool:hover{background:linear-gradient(#41140f, #230a05, #41140f);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px;box-shadow:0 0 10px rgba(255,0,0,0.75)}#controls .scene-control.active:hover,#controls .control-tool.active:hover,#controls .scene-control:hover:hover,#controls .control-tool:hover:hover{background:linear-gradient(#230a05, #41140f, #230a05)}#controls .scene-control,#controls .control-tool{background:linear-gradient(#285064, #0a141e, #285064);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#controls .scene-control:hover,#controls .control-tool:hover{background:linear-gradient(#0a141e, #285064, #0a141e)}.chat-message{background-image:url("../assets/ui/chat-texture.webp")}.chat-message .message-header{line-height:2rem;border-bottom:1px solid rgba(0,0,0,0.1);margin-bottom:0.25rem}#chat-log .message.whisper{font-style:italic}#chat-log .message.whisper .message-header .message-metadata::before{color:rgba(88,88,88,0.25);content:" (Private Roll) ";float:left}#chat-log .message.blind .message-header .message-metadata::before{color:rgba(88,88,88,0.25);content:" (Blind Roll) " !important;float:left}#playlists .playlist .playlist-header h4{font:0.75rem "PatrickHand",sans-serif;text-transform:uppercase;text-align:right}#settings button{cursor:default;color:rgba(255,255,255,0.65);background:linear-gradient(#285064, #0a141e, #285064);background-origin:padding-box;-o-border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image:url("../assets/ui/macro-button.webp") 10 repeat;border-image-width:0.25rem;border-image-outset:0px}#settings button:hover{background:linear-gradient(#0a141e, #285064, #0a141e)}#combat #combat-round .encounters h3{font-size:0.75rem}.dialog .dialog-buttons button{line-height:1rem}.l5r5e .chat-dice>img{border:1px solid transparent;background-repeat:no-repeat;background-position:center;background-size:100%;height:44px;width:44px;outline:none;margin:0;flex:0 0 20px;display:inline-block}.l5r5e .dice-picker-dialog *{transition:none}.l5r5e .dice-picker-dialog input[type="text"]:focus,.l5r5e .dice-picker-dialog input[type="text"]:hover{box-shadow:none !important;border:none !important;text-shadow:none !important}.l5r5e .dice-picker-dialog img{border:0}.l5r5e .dice-picker-dialog table .profil{width:200px}.l5r5e .dice-picker-dialog table .rings{width:240px}.l5r5e .dice-picker-dialog table .skill{width:200px}.l5r5e .dice-picker-dialog .ring-selection{filter:contrast(10%)}.l5r5e .dice-picker-dialog .ring-selection.ring-selected{filter:drop-shadow(1px 1px 0 #151515)}.l5r5e .dice-picker-dialog .quantity{font-size:xx-large}.l5r5e .dice-picker-dialog .center{text-align:center}.l5r5e .dice-picker-dialog .third{float:left;width:33.333333333%}.l5r5e .dice-picker-dialog #ring_value{width:20px;position:relative;left:+34px;top:-14px;color:#f0f0e0;background:none;border:none;font-size:large}.l5r5e .dice-picker-dialog #skill_value{width:20px;position:relative;left:+34px;top:-13px;color:#0f0f0e;background:none;border:none;font-size:large}.l5r5e.sheet{min-width:600px}.l5r5e.sheet .sheet-header h1{flex:auto;margin:0 0.5rem 0.25rem}.l5r5e.sheet .sheet-header h1 input{flex:0 0 100%;height:4rem;margin:0.5rem 0 0;width:100%;color:#963c41;background:transparent;border:0 none;border-radius:0;border-bottom:1px dotted rgba(0,0,0,0.5)}.l5r5e.sheet .sheet-header h1:before{content:"";position:absolute;background:url("../assets/imgs/brushL5r.webp") no-repeat 0 0;background-size:contain;height:225px;width:100%;z-index:-1;left:-0.25rem}.l5r5e.sheet .sheet-header img{flex:0 0 150px;height:150px;margin-right:0;-o-object-fit:contain;object-fit:contain;background:rgba(255,255,255,0.5);border:1px solid rgba(186,187,177,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .header-fields h2{font-family:"BrushtipTexe",sans-serif;float:right;width:50%;padding:0 0.25rem;margin:0;text-align:right;color:rgba(0,0,0,0.5);border-bottom:rgba(255,255,255,0.65);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet .sheet-header .header-fields h2:before{content:"";position:absolute;height:1px;width:100%}.l5r5e.sheet .sheet-header .identity-wrapper{display:flex;flex-wrap:wrap;flex:0 0 calc(100% - 150px - 0.25rem)}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content{flex:0 0 100%;display:flex;flex-wrap:wrap;margin:0.5rem}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li{flex:33%}.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(1),.l5r5e.sheet .sheet-header .identity-wrapper .identity-content li:nth-child(2){flex:50%;margin:0 0 0.5rem}.l5r5e.sheet .sheet-header .rings{float:left;width:calc(50% - 0.25rem);padding:0.25rem}.l5r5e.sheet .sheet-header .social-content{flex:0 0 100%;display:flex;padding:0.25rem}.l5r5e.sheet .sheet-header .attributes-wrapper{float:right;width:calc(50% - 0.25rem);padding:0.5rem 0 0.5rem 1rem;display:flex;flex-wrap:wrap;flex-direction:column;background:rgba(186,187,177,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet .sheet-header .attributes-wrapper .endurance-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .composure-content label,.l5r5e.sheet .sheet-header .attributes-wrapper .void-content label{float:left;width:50%}.l5r5e.sheet .sheet-header .attributes-wrapper li{position:relative}.l5r5e.sheet .sheet-header .attributes-wrapper li p{display:none;z-index:2;position:absolute;bottom:-100%;background:rgba(0,0,0,0.5);color:#fff;padding:0.25rem;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% 0, 0 0%, 100% 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));clip-path:polygon(0% 0, 0 0%, 100% 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)))}.l5r5e.sheet .sheet-header .attributes-wrapper li:hover p{display:block}.l5r5e.sheet .sheet-header .identity-wrapper label,.l5r5e.sheet .sheet-header .social-content label,.l5r5e.sheet .sheet-header .attributes-wrapper label{display:flex;color:#5a6e5a;text-transform:uppercase;font-size:0.75rem;line-height:2rem}.l5r5e.sheet .sheet-header .identity-wrapper label input,.l5r5e.sheet .sheet-header .social-content label input,.l5r5e.sheet .sheet-header .attributes-wrapper label input{flex:1;margin:0 1rem 0 0.5rem}.l5r5e.sheet article{background:rgba(255,255,255,0.5);padding:0.5rem;flex-wrap:wrap}.l5r5e.sheet article.tab[data-tab].active{display:flex}.l5r5e.sheet article .skills-wrapper,.l5r5e.sheet article .feats-wrapper{flex:50%}.l5r5e.sheet article .skills-wrapper>li,.l5r5e.sheet article .feats-wrapper>li{display:flex;flex-wrap:wrap;font-size:0.75rem;margin:0 0 1rem;border:1px solid rgba(186,187,177,0.5);--notchSize: 0.75rem;-webkit-clip-path:polygon(0 var(--notchSize), var(--notchSize) 0, 100% 0, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), 100% 100%, 0 100%, 0 100%);clip-path:polygon(0 var(--notchSize), var(--notchSize) 0, 100% 0, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), 100% 100%, 0 100%, 0 100%)}.l5r5e.sheet article .skills-wrapper>li h4,.l5r5e.sheet article .feats-wrapper>li h4{flex:100%;margin:0;padding:0.5rem 0.5rem 0;text-align:center;background:rgba(186,187,177,0.5);color:#5a6e5a;--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100%) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e.sheet article .skills-wrapper>li ul,.l5r5e.sheet article .feats-wrapper>li ul{flex:50%;padding:0.25rem 0.5rem 0.25rem 0}.l5r5e.sheet article .skills-wrapper>li ul li,.l5r5e.sheet article .feats-wrapper>li ul li{text-align:left;line-height:1.5rem;margin:0.25rem 0}.l5r5e.sheet article .skills-wrapper>li ul li.skill,.l5r5e.sheet article .feats-wrapper>li ul li.skill{text-align:right}.l5r5e.sheet article .skills-wrapper>li ul li.skill strong,.l5r5e.sheet article .feats-wrapper>li ul li.skill strong{color:rgba(0,0,0,0.5)}.l5r5e.sheet article .skills-wrapper>li ul li.skill[data-skill="melee"] strong,.l5r5e.sheet article .skills-wrapper>li ul li.skill[data-skill="ranged"] strong,.l5r5e.sheet article .skills-wrapper>li ul li.skill[data-skill="unarmed"] strong,.l5r5e.sheet article .feats-wrapper>li ul li.skill[data-skill="melee"] strong,.l5r5e.sheet article .feats-wrapper>li ul li.skill[data-skill="ranged"] strong,.l5r5e.sheet article .feats-wrapper>li ul li.skill[data-skill="unarmed"] strong{float:left;line-height:0.75rem;width:calc(100% - 1.75rem)}.l5r5e.sheet article .skills-wrapper>li ul.skill-category-ring-actions,.l5r5e.sheet article .feats-wrapper>li ul.skill-category-ring-actions{padding:0.25rem 0 0.25rem 0.5rem;border-left:1px solid rgba(186,187,177,0.5)}.l5r5e.sheet article .skills-wrapper>li input,.l5r5e.sheet article .feats-wrapper>li input{width:1.5rem;height:1.5rem;text-align:center}.l5r5e.sheet article .skills-wrapper>li:last-child,.l5r5e.sheet article .feats-wrapper>li:last-child{margin:0}.l5r5e nav.sheet-tabs{font-family:"ManoNegra",sans-serif;border:0 none;margin-bottom:0;background:rgba(255,255,255,0.5);color:rgba(0,0,0,0.5);--notchSize: 0.5rem;-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%));clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100%) 100%, var(--notchSize) 100%, 0% calc(100%))}.l5r5e nav .item:hover{background-color:#5a6e5a;color:rgba(255,255,255,0.65);text-shadow:none}.l5r5e nav .item.active{height:2.5rem;line-height:2rem;background-color:rgba(73,12,11,0.85);color:#fff;background-color:rgba(73,12,11,0.85);-webkit-clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%);clip-path:polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% 100%, 0 100%, 0% 0%, 0% 100%)}.l5r5e nav .item.active:hover{background-color:rgba(73,12,11,0.85);cursor:default}.l5r5e .rings{display:flex;flex-wrap:wrap;color:rgba(255,255,255,0.65)}.l5r5e .rings #earth,.l5r5e .rings #air,.l5r5e .rings #water,.l5r5e .rings #fire,.l5r5e .rings #void{position:relative;flex:1 1 50%;text-align:center}.l5r5e .rings #earth i.i_earth,.l5r5e .rings #earth i.i_water,.l5r5e .rings #earth i.i_fire,.l5r5e .rings #earth i.i_air,.l5r5e .rings #earth i.i_void,.l5r5e .rings #air i.i_earth,.l5r5e .rings #air i.i_water,.l5r5e .rings #air i.i_fire,.l5r5e .rings #air i.i_air,.l5r5e .rings #air i.i_void,.l5r5e .rings #water i.i_earth,.l5r5e .rings #water i.i_water,.l5r5e .rings #water i.i_fire,.l5r5e .rings #water i.i_air,.l5r5e .rings #water i.i_void,.l5r5e .rings #fire i.i_earth,.l5r5e .rings #fire i.i_water,.l5r5e .rings #fire i.i_fire,.l5r5e .rings #fire i.i_air,.l5r5e .rings #fire i.i_void,.l5r5e .rings #void i.i_earth,.l5r5e .rings #void i.i_water,.l5r5e .rings #void i.i_fire,.l5r5e .rings #void i.i_air,.l5r5e .rings #void i.i_void{font-size:5rem;line-height:4.75rem}.l5r5e .rings #earth label,.l5r5e .rings #air label,.l5r5e .rings #water label,.l5r5e .rings #fire label,.l5r5e .rings #void label{position:relative;width:5rem;line-height:0;float:right}.l5r5e .rings #earth input,.l5r5e .rings #air input,.l5r5e .rings #water input,.l5r5e .rings #fire input,.l5r5e .rings #void input{position:absolute;height:2rem;width:2rem;border-radius:100%;top:0;left:0;border:2px solid rgba(186,187,177,0.5);color:rgba(255,255,255,0.65)}.l5r5e .rings #earth input:hover,.l5r5e .rings #air input:hover,.l5r5e .rings #water input:hover,.l5r5e .rings #fire input:hover,.l5r5e .rings #void input:hover{border:2px solid rgba(255,0,0,0.75);text-shadow:0 0 6px rgba(255,0,0,0.75);box-shadow:0 0 6px inset rgba(255,0,0,0.75)}.l5r5e .rings #earth{float:right;color:#699678}.l5r5e .rings #earth input{top:auto;right:0;bottom:-1rem;left:auto;background:#699678}.l5r5e .rings #earth label strong{position:absolute;bottom:0.75rem;left:-1.75rem}.l5r5e .rings #air{color:#917896}.l5r5e .rings #air input{top:auto;right:auto;bottom:-1rem;left:0;background:#917896}.l5r5e .rings #air label{float:left}.l5r5e .rings #air label strong{position:absolute;bottom:0.75rem;right:-1rem}.l5r5e .rings #water{float:right;color:#5f919b;padding-right:2rem}.l5r5e .rings #water input{top:17%;right:-1.25rem;bottom:auto;left:auto;background:#5f919b}.l5r5e .rings #water label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #fire{color:#9b7350;padding-left:2rem}.l5r5e .rings #fire input{top:17%;right:auto;bottom:auto;left:-1.25rem;background:#9b7350}.l5r5e .rings #fire label{float:left}.l5r5e .rings #fire label strong{position:absolute;bottom:-0.75rem;right:2rem}.l5r5e .rings #void{top:-2rem;margin:0 calc(50% - 2.5rem);color:#4b4641}.l5r5e .rings #void input{top:-1rem;right:auto;bottom:auto;left:30%;background:#4b4641}.l5r5e .rings #void label strong{position:absolute;bottom:-0.75rem;left:1.75rem}.l5r5e .testing{width:14.28571%}.l5r5e .testing{width:28.57143%}.l5r5e .testing{width:14.28571%}.l5r5e .testing{width:28.57143%} diff --git a/system/styles/scss/cursors.scss b/system/styles/scss/cursors.scss new file mode 100644 index 0000000..eff7db7 --- /dev/null +++ b/system/styles/scss/cursors.scss @@ -0,0 +1,54 @@ +body, +#navigation #scene-list .scene.view, +#navigation #scene-list .scene.context, +#navigation #nav-toggle, +#navigation #scene-list .scene.nav-item, +#controls .scene-control.active, +#controls .control-tool.active, +#controls .scene-control:hover, +#controls .control-tool:hover, +#client-settings .window-content form .form-group > label, +#client-settings .window-content form .form-group select, +#client-settings .form-group input, +.app.window-app .form-group label, +#sidebar .sidebar-tab #chat-controls div.roll-type-select select, +#sidebar .sidebar-tab #chat-controls div.roll-type-select i.fas { + cursor: url("../assets/cursors/normal.webp"), default !important; +} + +a, +#hotbar .macro, +#playlists-popout .global-volume::-webkit-slider-thumb, +#sidebar #playlists .global-volume::-webkit-slider-thumb, +#playlists-popout li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb, +#sidebar #playlists li.playlist:not(:first-of-type) li.sound .sound-volume::-webkit-slider-thumb, +#sidebar #settings button, +.app.window-app.sheet.wfrp4e.actor.character-sheet + .tab.main.active + .main-row + .movement.row-section + .move-value + .auto-calc-toggle, +.app.window-app.sheet.wfrp4e.actor.npc-sheet .main-row .movement.row-section .move-value .auto-calc-toggle, +.app.window-app.sheet.wfrp4e.actor.creature-sheet .main-row .movement.row-section .move-value .auto-calc-toggle, +.app.window-app .form-group input[type="range"]::-webkit-slider-thumb, +.token-sheet .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb, +#drawing-config .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb, +.metacurrency-value, +.overcast-button, +.chargen-button, +#controls .scene-control, +#controls .control-tool, +#effects-config .flex2::-webkit-slider-thumb, +#client-settings section.content .submenu > button, +#client-settings .window-content button label, +form .form-group .form-fields button, +.sidebar-tab .action-buttons button, +.dialog .dialog-buttons button, +form button { + cursor: url("../assets/cursors/pointer.webp"), pointer !important; +} + +.draggable { + cursor: url("../assets/cursors/drag.webp"), move !important; +} diff --git a/system/styles/scss/fonts.scss b/system/styles/scss/fonts.scss index 6e84b50..1c5e990 100644 --- a/system/styles/scss/fonts.scss +++ b/system/styles/scss/fonts.scss @@ -9,17 +9,24 @@ // Font BrushtipTexe @font-face { font-family: "BrushtipTexe"; - src: url("../fonts/BrushtipTexe.otf") format("opentype"); + src: url("../fonts/BrushtipTexe.ttf") format("truetype"); } -// Font ArchitectsDaughter +// Font PatrickHand @font-face { font-family: "PatrickHand"; src: url("../fonts/PatrickHand.ttf") format("truetype"); } +// Font ManoNegra +@font-face { + font-family: "ManoNegra"; + src: url("../fonts/ManoNegra.ttf") format("truetype"); +} + $font-primary: "PatrickHand", sans-serif; $font-secondary: "BrushtipTexe", sans-serif; +$font-tertiary: "ManoNegra", sans-serif; $font-dice: "LogotypeL5r", sans-serif; body { diff --git a/system/styles/scss/global.scss b/system/styles/scss/global.scss index e2c66c4..1322656 100644 --- a/system/styles/scss/global.scss +++ b/system/styles/scss/global.scss @@ -1,5 +1,10 @@ /** Global **/ +body { + background: url("../assets/imgs/background.webp") no-repeat center; + background-size: cover; +} + /* Windows */ .window-app { .window-content { @@ -56,3 +61,20 @@ input[type="time"] { padding: 0.25rem; color: $l5r5e-bold; } + +// Elements Colors +.earth { + color: $l5r5e-earth; +} +.air { + color: $l5r5e-air; +} +.water { + color: $l5r5e-water; +} +.fire { + color: $l5r5e-fire; +} +.void { + color: $l5r5e-void; +} diff --git a/system/styles/scss/nav.scss b/system/styles/scss/nav.scss index 5126a51..348f85b 100644 --- a/system/styles/scss/nav.scss +++ b/system/styles/scss/nav.scss @@ -2,7 +2,10 @@ nav { &.sheet-tabs { - background: $l5r5e-title; + font-family: $font-tertiary; + border: 0 none; + margin-bottom: 0; + background: $l5r5e-white; color: $l5r5e-black; --notchSize: 0.5rem; clip-path: polygon( @@ -18,9 +21,9 @@ nav { } .item { &:hover { - background-color: rgba(0, 0, 0, 0.75); - color: rgba(255, 255, 255, 1); - text-shadow: black 1px 2px 0; + background-color: $l5r5e-label; + color: $white; + text-shadow: none; } } .item.active { diff --git a/system/styles/scss/rings.scss b/system/styles/scss/rings.scss index fdac18a..7688e69 100644 --- a/system/styles/scss/rings.scss +++ b/system/styles/scss/rings.scss @@ -46,6 +46,7 @@ } } } + // Earth #earth { float: right; diff --git a/system/styles/scss/sheets.scss b/system/styles/scss/sheets.scss index 9a270c7..1e15f90 100644 --- a/system/styles/scss/sheets.scss +++ b/system/styles/scss/sheets.scss @@ -132,9 +132,26 @@ } } li { + position: relative; p { display: none; + z-index: 2; position: absolute; + bottom: -100%; + background: rgba(0, 0, 0, 0.5); + color: #fff; + padding: 0.25rem; + --notchSize: 0.5rem; + clip-path: polygon( + 0% 0, + 0 0%, + 100% 0%, + 100% var(--notchSize), + 100% calc(100% - var(--notchSize)), + calc(100% - var(--notchSize)) 100%, + var(--notchSize) 100%, + 0% calc(100% - var(--notchSize)) + ); } &:hover { p { @@ -160,5 +177,88 @@ article { background: $l5r5e-white; padding: 0.5rem; + flex-wrap: wrap; + &.tab[data-tab] { + &.active { + display: flex; + } + } + .skills-wrapper, + .feats-wrapper { + flex: 50%; + > li { + display: flex; + flex-wrap: wrap; + font-size: 0.75rem; + margin: 0 0 1rem; + border: 1px solid $l5r5e-title; + --notchSize: 0.75rem; + clip-path: polygon( + 0 var(--notchSize), + var(--notchSize) 0, + 100% 0, + 100% var(--notchSize), + 100% calc(100% - var(--notchSize)), + 100% 100%, + 0 100%, + 0 100% + ); + h4 { + flex: 100%; + margin: 0; + padding: 0.5rem 0.5rem 0; + text-align: center; + background: $l5r5e-title; + color: $l5r5e-label; + --notchSize: 0.5rem; + clip-path: polygon( + 0% var(--notchSize), + var(--notchSize) 0%, + calc(100%) 0%, + 100% var(--notchSize), + 100% calc(100% - var(--notchSize)), + calc(100% - var(--notchSize)) 100%, + var(--notchSize) 100%, + 0% calc(100%) + ); + } + ul { + flex: 50%; + padding: 0.25rem 0.5rem 0.25rem 0; + li { + text-align: left; + line-height: 1.5rem; + margin: 0.25rem 0; + &.skill { + text-align: right; + strong { + color: $l5r5e-black; + } + &[data-skill="melee"], + &[data-skill="ranged"], + &[data-skill="unarmed"] { + strong { + float: left; + line-height: 0.75rem; + width: calc(100% - 1.75rem); + } + } + } + } + &.skill-category-ring-actions { + padding: 0.25rem 0 0.25rem 0.5rem; + border-left: 1px solid $l5r5e-title; + } + } + input { + width: 1.5rem; + height: 1.5rem; + text-align: center; + } + &:last-child { + margin: 0; + } + } + } } } diff --git a/system/styles/scss/ui.scss b/system/styles/scss/ui.scss index dc169d6..46962ef 100644 --- a/system/styles/scss/ui.scss +++ b/system/styles/scss/ui.scss @@ -1,38 +1,83 @@ /* SCSS */ +button { + font-size: 0.75rem; +} + // sidebar #sidebar { + padding: 0.5rem 0.25rem 0.5rem 0.5rem; background-position: top; background-size: 100%; - background-repeat: no-repeat; - background: url("../assets/ui/bgSidebar.png") no-repeat; - top: 0; - height: 100%; - padding: 0.5rem; + background: url(../assets/ui/bgSidebar.webp) no-repeat; + border: 1px solid rgb(195, 165, 130); + border-radius: 0; + overflow: initial; + height: calc(100% - 1rem); + top: 0.5rem; + min-width: 40px; + &:before { + z-index: -1; + content: ""; + position: absolute; + height: calc(100% + 0.6rem); + width: 100%; + border: 1px solid rgb(195, 165, 130); + border-radius: 0; + top: -0.35rem; + left: 0.25rem; + } #sidebar-tabs { - flex: 0 0 1rem; + flex: 0 0 2rem; box-sizing: border-box; margin: 0 0 0.25rem; - border-bottom: 1px solid rgba(255, 255, 255, 0.25); + border-bottom: 1px solid rgba(195, 165, 130, 0.5); box-shadow: none; > .item { - line-height: 27px; + line-height: 1.6rem; border-radius: 100%; margin: 0; - flex: 0 0 27px; - height: 27px; - .active { + flex: 0 0 1.6rem; + height: 1.6rem; + &.active, + &:hover { border: 1px solid $orange; box-shadow: 0 0 6px $orange; } } + .collapse { + position: relative; + flex: 0 0 1.5rem; + line-height: 1.5rem; + color: rgb(195, 165, 130); + text-align: center; + } + } + .sidebar-tab { + .action-buttons button { + cursor: default; + color: $white; + background: linear-gradient( + $l5r5e-linear-gradient-green, + $l5r5e-linear-gradient-green-dark, + $l5r5e-linear-gradient-green + ); + background-origin: padding-box; + border-image: url("../assets/ui/macro-button.webp") 10 repeat; + border-image-width: 0.25rem; + border-image-outset: 0px; + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-green-dark, + $l5r5e-linear-gradient-green, + $l5r5e-linear-gradient-green-dark + ); + } + } } .message-sender { color: $l5r5e-red; } - .chat-control-icon { - cursor: url(../l5r-ui/ui/cursors/pointer.webp), pointer; - } } // hotbar @@ -47,24 +92,26 @@ border-image-outset: 0; border-radius: 0; .macro-key { - background: transparent; + background: $l5r5e-black; } } #macro-list { background: $black; margin: 0; padding: 0.05rem; - border: none; border-radius: 0; + background-position: center; + background-size: 100%; + background: url(../assets/ui/bgSidebar.webp) no-repeat; background-origin: padding-box; - border-image: url("../assets/ui/macro-button.webp") 15 repeat; - border-image-width: 0.5rem; - border-image-outset: 0px; + border: 0 none; box-shadow: 0.25rem 0.25rem 0.5rem $black; } } .bar-controls { - background: $black; + background-position: center; + background-size: 100%; + background: url(../assets/ui/bgSidebar.webp) no-repeat; background-origin: padding-box; border-image: url("../assets/ui/macro-button.webp") 15 repeat; border-image-width: 0.5rem; @@ -82,7 +129,12 @@ // players #players { - background: $black; + border-radius: 0; + background-position: center; + background-size: 100%; + background: url(../assets/ui/bgSidebar.webp) no-repeat; + background-origin: padding-box; + border: 1px solid rgb(195, 165, 130); background-origin: padding-box; border-image: url("../assets/ui/macro-button.webp") 15 repeat; border-image-width: 0.5rem; @@ -132,6 +184,13 @@ border-image: url("../assets/ui/macro-button.webp") 10 repeat; border-image-width: 0.25rem; border-image-outset: 0px; + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-blue-dark, + $l5r5e-linear-gradient-blue, + $l5r5e-linear-gradient-blue-dark + ); + } } #scene-list { .scene.nav-item.active { @@ -140,6 +199,13 @@ $l5r5e-linear-gradient-red-dark, $l5r5e-linear-gradient-red ); + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-red-dark, + $l5r5e-linear-gradient-red, + $l5r5e-linear-gradient-red-dark + ); + } } .scene.view, .scene.context { @@ -155,6 +221,13 @@ border-image-width: 0.25rem; border-image-outset: 0px; box-shadow: 0 0 20px red; + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-red-dark, + $l5r5e-linear-gradient-red, + $l5r5e-linear-gradient-red-dark + ); + } } } } @@ -176,6 +249,13 @@ border-image-width: 0.25rem; border-image-outset: 0px; box-shadow: 0 0 10px $red; + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-red-dark, + $l5r5e-linear-gradient-red, + $l5r5e-linear-gradient-red-dark + ); + } } .scene-control, .control-tool { @@ -188,5 +268,97 @@ border-image: url("../assets/ui/macro-button.webp") 10 repeat; border-image-width: 0.25rem; border-image-outset: 0px; + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-blue-dark, + $l5r5e-linear-gradient-blue, + $l5r5e-linear-gradient-blue-dark + ); + } + } +} + +// Chat-Message +.chat-message { + background-image: url("../assets/ui/chat-texture.webp"); + .message-header { + line-height: 2rem; + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + margin-bottom: 0.25rem; + } +} + +/* #region Chat log */ +/* differentiate public roll from private or blind. + Private uses class whisper, blind uses class blind AND whisper, Self Roll + uses class whisper (identical to Private Roll for CSS) */ +#chat-log .message.whisper { + font-style: italic; +} + +#chat-log .message.whisper .message-header .message-metadata::before { + color: rgba(88, 88, 88, 0.25); + content: " (Private Roll) "; + float: left; +} + +#chat-log .message.blind .message-header .message-metadata::before { + color: rgba(88, 88, 88, 0.25); + content: " (Blind Roll) " !important; + float: left; +} + +// Playlist +#playlists { + .playlist { + .playlist-header { + h4 { + font: 0.75rem $font-primary; + text-transform: uppercase; + text-align: right; + } + } + } +} + +// Settings +#settings button { + cursor: default; + color: $white; + background: linear-gradient( + $l5r5e-linear-gradient-blue, + $l5r5e-linear-gradient-blue-dark, + $l5r5e-linear-gradient-blue + ); + background-origin: padding-box; + border-image: url("../assets/ui/macro-button.webp") 10 repeat; + border-image-width: 0.25rem; + border-image-outset: 0px; + &:hover { + background: linear-gradient( + $l5r5e-linear-gradient-blue-dark, + $l5r5e-linear-gradient-blue, + $l5r5e-linear-gradient-blue-dark + ); + } +} + +// Combat +#combat { + #combat-round { + .encounters { + h3 { + font-size: 0.75rem; + } + } + } +} + +// Dialog +.dialog { + .dialog-buttons { + button { + line-height: 1rem; + } } } diff --git a/system/system.json b/system/system.json index f12d9f0..ca00956 100644 --- a/system/system.json +++ b/system/system.json @@ -2,13 +2,22 @@ "name": "l5r5e", "title": "Legend of the Five Rings (5th Edition)", "description": "This is a game system, multilanguage in En/FR/ES, for Legend of the Five Rings (5th Edition) by Edge Studio- Join the official Discord server: Official Discord
- Rejoignez la communauté Francophone: Francophone Discord
", - "version": "0.0.2", - "minimumCoreVersion": "0.7.8", - "compatibleCoreVersion": "1.0.0", + "version": "0.0.3", + "minimumCoreVersion": "0.7.3", + "compatibleCoreVersion": "0.7.8", "author": "Team L5R", - "scripts": ["./l5r-ui/scripts/l5rui-chat-color.js"], - "esmodules": ["./l5r-ui/scripts/help/l5rui-help.js", "./scripts/dice-l5r5e.js", "./scripts/main-l5r5e.js"], - "styles": ["./l5r-ui/css/l5rui.css", "./l5r-ui/css/cursor.css", "./styles/l5r5e.css"], + "background": "L5R-Header.webp", + "scripts": ["./scripts/ui/chatColor-l5r5e.js"], + "esmodules": ["./scripts/main-l5r5e.js"], + "styles": ["./l5r-ui/css/l5rui.css", "./styles/l5r5e.css"], + "packs": [ + { + "name": "macros", + "label": "L5R5e Macros", + "path": "packs/macros.db", + "entity": "Macro" + } + ], "languages": [ { "lang": "en", @@ -31,16 +40,7 @@ "path": "lang/pt-br.json" } ], - "background": "L5R-Header.webp", - "packs": [ - { - "name": "macros", - "label": "L5R5e Macros", - "path": "packs/macros.db", - "entity": "Macro" - } - ], "url": "https://gitlab.com/teaml5r/l5r5e", "manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json", - "download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v0.0.2/raw/l5r5e.zip?job=build" + "download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v0.0.3/raw/l5r5e.zip?job=build" } diff --git a/system/templates/sheets/actor-sheet.html b/system/templates/sheets/actor-sheet.html index 26af618..c7bfdb3 100644 --- a/system/templates/sheets/actor-sheet.html +++ b/system/templates/sheets/actor-sheet.html @@ -16,8 +16,8 @@ {{!-- Sheet Tab Navigation --}}