Update style Npc Sheet v2 + update Charac + delete old ui and add svg

Update Npc sheet style for v1.0
Update Character sheet rings / social / attribute
Delete old l5r-ui folder
Add asset svg
This commit is contained in:
Mandar
2020-12-19 04:44:12 +01:00
parent d3bcfba723
commit 10956e6677
106 changed files with 29486 additions and 1990 deletions

View File

@@ -1,106 +0,0 @@
.chat-card-button {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
body {
cursor:url(../ui/cursors/normal.webp), default;
}
a{
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.draggable{
cursor:url(../ui/cursors/drag.webp), move;
}
#hotbar .macro{
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#playlists-popout .global-volume::-webkit-slider-thumb,
#sidebar #playlists .global-volume::-webkit-slider-thumb {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#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 {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#sidebar #settings button {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.app.window-app.sheet.wfrp4e.actor.character-sheet .tab.main.active .main-row .movement.row-section .move-value .auto-calc-toggle {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.app.window-app.sheet.wfrp4e.actor.npc-sheet .main-row .movement.row-section .move-value .auto-calc-toggle {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.app.window-app.sheet.wfrp4e.actor.creature-sheet .main-row .movement.row-section .move-value .auto-calc-toggle {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#navigation #scene-list .scene.view, #navigation #scene-list .scene.context {
cursor:url(../ui/cursors/normal.webp), default;
}
#navigation #nav-toggle {
cursor:url(../ui/cursors/normal.webp), default;
}
#navigation #scene-list .scene.nav-item {
cursor:url(../ui/cursors/normal.webp), default;
}
#controls .scene-control.active, #controls .control-tool.active, #controls .scene-control:hover, #controls .control-tool:hover {
cursor:url(../ui/cursors/normal.webp), default;
}
#controls .scene-control, #controls .control-tool {
cursor:url(../ui/cursors/pointer.webp), pointer !important;
cursor:url(../ui/cursors/normal.webp), default !important;
}
.app.window-app .form-group input[type="range"]::-webkit-slider-thumb {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.token-sheet .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#drawing-config .tab[data-tab="image"] input[type="range"]::-webkit-slider-thumb {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.metacurrency-value {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
.overcast-button,
.chargen-button {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#effects-config .flex2::-webkit-slider-thumb {
cursor:url(../ui/cursors/pointer.webp), pointer;
}
#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(../ui/cursors/normal.webp), default;
}
#client-settings section.content .submenu > button,
#client-settings .window-content button label,
form .form-group .form-fields button,
form button {
cursor:url(../ui/cursors/pointer.webp), pointer;
}

View File

@@ -37,7 +37,7 @@ Hooks.once("ready", async function () {
//----logo image
var logo = document.getElementById("logo");
logo.setAttribute("src", CONFIG.l5r5e.paths.assets + "l5r-logo.webp");
logo.setAttribute("src", CONFIG.L5r5e.paths.assets + "l5r-logo.webp");
//--------------ouvrir le menu lien sur click logo
logo.setAttribute("title", "Aide en Ligne");

View File

@@ -1,4 +0,0 @@
export function openDTR() {
ui.notifications.info("votre navigateur va ouvrir le site DriveThruRpg de EDGE STUDIO");
var windowObjectReference = window.open("https://www.drivethrurpg.com/browse/pub/17946/EDGE-Studio?src=browse17946/", "_blank");
};

View File

@@ -1,4 +0,0 @@
export function openEN() {
ui.notifications.info("Votre navigateur va s'ouvrir sur le discord officiel de Foundry");
var windowObjectReference = window.open("https://discordapp.com/invite/DDBZUDf", "_blank");
};

View File

@@ -1,4 +0,0 @@
export function openES() {
ui.notifications.info("votre navigateur va ouvrir le site de EDGE STUDIO");
var windowObjectReference = window.open("https://edge-studio.net/", "_blank");
};

View File

@@ -1,5 +0,0 @@
export function openFR() {
ui.notifications.info("votre navigateur va ouvrir le discord francophone de foundry");
var windowObjectReference = window.open("https://discord.gg/pPSDNJk", "_blank");
};

View File

@@ -1,124 +0,0 @@
Hooks.on('init', () => {
// Register module settings.
game.settings.register('l5r-ui', '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('l5r-ui', 'icTextColor', {
name: game.i18n.localize('IC.TEXT.COLOR'),
hint: game.i18n.localize('HEXA.COLOR'),
default: "#000000",
type: String,
scope: 'client',
config: true
});
game.settings.register('l5r-ui', '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('l5r-ui', 'emoteTextColor', {
name: game.i18n.localize('EMOTE.TEXT.COLOR'),
hint: game.i18n.localize('HEXA.COLOR'),
default: "#000000",
type: String,
scope: 'client',
config: true
});
game.settings.register('l5r-ui', '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('l5r-ui', 'rollTextColor', {
name: game.i18n.localize('ROLL.TEXT.COLOR'),
hint: game.i18n.localize('HEXA.COLOR'),
default: "#000000",
type: String,
scope: 'client',
config: true
});
game.settings.register('l5r-ui', '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('l5r-ui', 'otherTextColor', {
name: game.i18n.localize('OTHER.TEXT.COLOR'),
hint: game.i18n.localize('HEXA.COLOR'),
default: "#000000",
type: String,
scope: 'client',
config: true
});
game.settings.register('l5r-ui', '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.
icBgColor = game.settings.get('l5r-ui', 'icBgColor');
icTextColor = game.settings.get('l5r-ui', 'icTextColor');
emoteBgColor = game.settings.get('l5r-ui', 'emoteBgColor');
emoteTextColor = game.settings.get('l5r-ui', 'emoteTextColor');
rollBgColor = game.settings.get('l5r-ui', 'rollBgColor');
rollTextColor = game.settings.get('l5r-ui', 'rollTextColor');
otherBgColor = game.settings.get('l5r-ui', 'otherBgColor');
otherTextColor = game.settings.get('l5r-ui', 'otherTextColor');
$("<style type='text/css'> #chat-log .message.ic { background: " + icBgColor+ "; color: " + icTextColor +
" }\n #chat-log .message.ic .message-header { color: " + icTextColor +
" }\n #chat-log .message.emote { background: " + emoteBgColor +
"; color: " + emoteTextColor +
" }\n #chat-log .message.emote .message-header { color: " + emoteTextColor +
" }\n #chat-log .message.chatColorsRoll { background: " + rollBgColor +
"; color: " + rollTextColor +
" }\n #chat-log .message.chatColorsRoll .message-header { color: " + rollTextColor +
" }\n #chat-log .message { background: " + otherBgColor +
"; color: " + otherTextColor +
" }\n #chat-log .message .message-header { color: " + otherTextColor +
"; } </style>").prependTo(html);
});
Hooks.on("chatMessage", (chatLog, message, chatData) => {
if (game.settings.get('l5r-ui', 'defaultChatPrefix')) {
prefix = game.settings.get('l5r-ui', '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");
}
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 23 23" style="enable-background:new 0 0 23 23;" xml:space="preserve">
<style type="text/css">
.st0{display:none;}
.st1{display:inline;opacity:0.25;}
.st2{display:inline;fill:#FFFFFF;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st3{opacity:0.25;}
.st4{fill:#FFFFFF;stroke:#000000;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
</style>
<g id="Fond" class="st0">
</g>
<g id="Calque_1" class="st0">
<path class="st1" d="M12.11,15.06c1.83-0.87,2.77-4.24,1.32-5.66l-6.8-6.95l3.18,9c0.08-0.03,0.17-0.04,0.26-0.04
c0.39,0.02,0.69,0.36,0.67,0.76c-0.02,0.4-0.36,0.7-0.75,0.67c-0.39-0.02-0.69-0.36-0.67-0.76c0.02-0.29,0.2-0.53,0.45-0.63
L6.4,2.09L5.92,13.41c-0.1,1.68,2.58,3.36,4.06,2.56l1.75,5.19c0.83,1.92,3.11,0.91,2.57-0.63L12.11,15.06z"/>
<path class="st2" d="M13.07,14.56c1.77-0.97,2.5-4.35,0.98-5.67L6.86,2.43l3.71,8.7c0.08-0.03,0.17-0.05,0.26-0.05
c0.39,0,0.71,0.32,0.71,0.71s-0.32,0.71-0.71,0.71c-0.39,0-0.71-0.32-0.71-0.71c0-0.29,0.17-0.53,0.42-0.64L6.6,2.09L6.79,13.3
c0,1.67,2.78,3.16,4.2,2.29l2.05,5.03c0.94,1.84,3.16,0.72,2.53-0.78L13.07,14.56z"/>
</g>
<g id="Calque_3">
<path class="st3" d="M13.12,15.65v-3.42c0-0.72-0.32-1.39-0.85-1.78L1.45,1.53l7.4,10.48c0.28-0.31,0.68-0.51,1.13-0.51
c0.84,0,1.52,0.68,1.52,1.52c0,0.84-0.68,1.52-1.52,1.52c-0.84,0-1.52-0.68-1.52-1.52c0-0.39,0.15-0.73,0.39-1L0.94,1.08
l5.77,14.06c0.36,0.81,1.46,1.91,2.25,1.94l1.72,0.44l3.57,4.47c1.03,0.13,1.97,0.32,2.16-0.84l0.11-0.71L13.12,15.65z"/>
<path class="st4" d="M15.13,14.6v-3.4c0-0.72-0.36-1.38-0.97-1.77L1.46,1.08l8.86,10c0.22-0.17,0.49-0.29,0.79-0.29
c0.73,0,1.32,0.59,1.32,1.32c0,0.73-0.59,1.32-1.32,1.32c-0.73,0-1.32-0.59-1.32-1.32c0-0.43,0.22-0.79,0.53-1.03L1.3,1.1
l6.54,12.99c0.4,0.8,1.66,1.9,2.56,1.93l1.96,0.43l4.05,5.44c1.17,0.13,2.24-0.67,2.45-1.83l0.13-0.71L15.13,14.6z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 496 B