Refine toolbar SVG icons
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
PLUGIN="u-navigator"
|
PLUGIN="u-navigator"
|
||||||
VERSION="2026.07.04.r006"
|
VERSION="2026.07.04.r007"
|
||||||
PKG_DIR="packages"
|
PKG_DIR="packages"
|
||||||
WORK_DIR=".plugin-build"
|
WORK_DIR=".plugin-build"
|
||||||
PKG_NAME="${PLUGIN}-${VERSION}.tgz"
|
PKG_NAME="${PLUGIN}-${VERSION}.tgz"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
+11
-11
@@ -46,18 +46,18 @@ const icons = {
|
|||||||
other: 'Item'
|
other: 'Item'
|
||||||
};
|
};
|
||||||
const uiIcons = {
|
const uiIcons = {
|
||||||
arrowLeft: '<path d="M19 12H5"></path><path d="m12 19-7-7 7-7"></path>',
|
arrowLeft: '<path d="M15 18 9 12l6-6"></path>',
|
||||||
arrowRight: '<path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path>',
|
arrowRight: '<path d="m9 18 6-6-6-6"></path>',
|
||||||
close: '<path d="M18 6 6 18"></path><path d="m6 6 12 12"></path>',
|
close: '<path d="M18 6 6 18"></path><path d="m6 6 12 12"></path>',
|
||||||
delete: '<path d="M3 6h18"></path><path d="M8 6V4h8v2"></path><path d="M19 6l-1 14H6L5 6"></path><path d="M10 11v5"></path><path d="M14 11v5"></path>',
|
delete: '<path d="M4 7h16"></path><path d="M10 11v6"></path><path d="M14 11v6"></path><path d="M6 7l1 14h10l1-14"></path><path d="M9 7V4h6v3"></path>',
|
||||||
enter: '<path d="M9 18 3 12l6-6"></path><path d="M3 12h13a4 4 0 0 0 4-4V5"></path>',
|
enter: '<path d="M7 8 3 12l4 4"></path><path d="M3 12h12a4 4 0 0 0 4-4V5"></path>',
|
||||||
folderUpload: '<path d="M3 7h7l2 2h9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"></path><path d="M12 17V11"></path><path d="m9 14 3-3 3 3"></path>',
|
folderUpload: '<path d="M3 6h6l2 2h10v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"></path><path d="M12 16v-6"></path><path d="m9 13 3-3 3 3"></path>',
|
||||||
grid: '<rect x="4" y="4" width="6" height="6"></rect><rect x="14" y="4" width="6" height="6"></rect><rect x="4" y="14" width="6" height="6"></rect><rect x="14" y="14" width="6" height="6"></rect>',
|
grid: '<rect x="4" y="4" width="6" height="6" rx="1"></rect><rect x="14" y="4" width="6" height="6" rx="1"></rect><rect x="4" y="14" width="6" height="6" rx="1"></rect><rect x="14" y="14" width="6" height="6" rx="1"></rect>',
|
||||||
list: '<path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M3 6h.01"></path><path d="M3 12h.01"></path><path d="M3 18h.01"></path>',
|
list: '<path d="M9 6h11"></path><path d="M9 12h11"></path><path d="M9 18h11"></path><path d="M4 6h.01"></path><path d="M4 12h.01"></path><path d="M4 18h.01"></path>',
|
||||||
maximize: '<path d="M8 3H3v5"></path><path d="M16 3h5v5"></path><path d="M21 16v5h-5"></path><path d="M3 16v5h5"></path>',
|
maximize: '<rect x="5" y="5" width="14" height="14" rx="2"></rect>',
|
||||||
minimize: '<path d="M8 3v5H3"></path><path d="M16 3v5h5"></path><path d="M21 16h-5v5"></path><path d="M3 16h5v5"></path>',
|
minimize: '<path d="M8 4h12v12"></path><path d="M4 8h12v12H4Z"></path>',
|
||||||
refresh: '<path d="M21 12a9 9 0 0 1-15 6.7"></path><path d="M3 12a9 9 0 0 1 15-6.7"></path><path d="M18 3v5h-5"></path><path d="M6 21v-5h5"></path>',
|
refresh: '<path d="M20 6v5h-5"></path><path d="M4 18v-5h5"></path><path d="M19 11a7 7 0 0 0-12-4.9L4 9"></path><path d="M5 13a7 7 0 0 0 12 4.9l3-2.9"></path>',
|
||||||
upload: '<path d="M12 15V3"></path><path d="m7 8 5-5 5 5"></path><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2"></path>'
|
upload: '<path d="M12 16V5"></path><path d="m8 9 4-4 4 4"></path><path d="M5 16v3h14v-3"></path>'
|
||||||
};
|
};
|
||||||
const previewExtensions = new Set(['txt', 'log', 'md', 'rd', 'rst', 'yaml', 'yml', 'json', 'xml', 'csv', 'tsv', 'ini', 'cfg', 'conf', 'env', 'toml', 'sql', 'nfo', 'srt', 'sub', 'vtt', 'm3u', 'm3u8', 'pls', 'sh', 'bash', 'zsh', 'php', 'js', 'ts', 'tsx', 'jsx', 'css', 'html', 'py', 'go', 'rs', 'java', 'c', 'cpp', 'h', 'hpp', 'bat', 'ps1', 'properties', 'service', 'timer', 'mount', 'rules', 'cron', 'plg', 'page', 'jpg', 'jpeg', 'png', 'gif', 'webp', 'svg', 'pdf', 'mp3', 'flac', 'm4a', 'ogg', 'wav', 'mp4', 'mkv', 'webm', 'mov']);
|
const previewExtensions = new Set(['txt', 'log', 'md', 'rd', 'rst', 'yaml', 'yml', 'json', 'xml', 'csv', 'tsv', 'ini', 'cfg', 'conf', 'env', 'toml', 'sql', 'nfo', 'srt', 'sub', 'vtt', 'm3u', 'm3u8', 'pls', 'sh', 'bash', 'zsh', 'php', 'js', 'ts', 'tsx', 'jsx', 'css', 'html', 'py', 'go', 'rs', 'java', 'c', 'cpp', 'h', 'hpp', 'bat', 'ps1', 'properties', 'service', 'timer', 'mount', 'rules', 'cron', 'plg', 'page', 'jpg', 'jpeg', 'png', 'gif', 'webp', 'svg', 'pdf', 'mp3', 'flac', 'm4a', 'ogg', 'wav', 'mp4', 'mkv', 'webm', 'mov']);
|
||||||
const previewFilenames = new Set(['dockerfile', 'makefile']);
|
const previewFilenames = new Set(['dockerfile', 'makefile']);
|
||||||
|
|||||||
@@ -68,11 +68,15 @@
|
|||||||
.u-nav button.icon {
|
.u-nav button.icon {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
flex: 0 0 26px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
line-height: 1;
|
||||||
|
max-width: 26px;
|
||||||
min-height: 26px;
|
min-height: 26px;
|
||||||
|
min-width: 26px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 22px;
|
width: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-nav button.icon::before,
|
.u-nav button.icon::before,
|
||||||
@@ -83,13 +87,13 @@
|
|||||||
.u-nav .ui-icon {
|
.u-nav .ui-icon {
|
||||||
display: block;
|
display: block;
|
||||||
fill: none;
|
fill: none;
|
||||||
height: 15px;
|
height: 16px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
stroke: currentColor;
|
stroke: currentColor;
|
||||||
stroke-linecap: round;
|
stroke-linecap: round;
|
||||||
stroke-linejoin: round;
|
stroke-linejoin: round;
|
||||||
stroke-width: 2;
|
stroke-width: 2.1;
|
||||||
width: 15px;
|
width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-nav .topbar {
|
.u-nav .topbar {
|
||||||
@@ -234,6 +238,12 @@
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.u-nav .pathbar > button.icon {
|
||||||
|
max-width: 32px;
|
||||||
|
min-width: 32px;
|
||||||
|
width: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
.u-nav .upload-input {
|
.u-nav .upload-input {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE PLUGIN [
|
<!DOCTYPE PLUGIN [
|
||||||
<!ENTITY name "u-navigator">
|
<!ENTITY name "u-navigator">
|
||||||
<!ENTITY author "Michael Roll">
|
<!ENTITY author "Michael Roll">
|
||||||
<!ENTITY version "2026.07.04.r006">
|
<!ENTITY version "2026.07.04.r007">
|
||||||
<!ENTITY package "&name;-&version;.tgz">
|
<!ENTITY package "&name;-&version;.tgz">
|
||||||
<!ENTITY pluginURL "https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/u-navigator.plg">
|
<!ENTITY pluginURL "https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/u-navigator.plg">
|
||||||
<!ENTITY support "https://git.casaderoll.de/michael/Unraid-Navigator">
|
<!ENTITY support "https://git.casaderoll.de/michael/Unraid-Navigator">
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<FILE Name="/boot/config/plugins/&name;/&package;">
|
<FILE Name="/boot/config/plugins/&name;/&package;">
|
||||||
<URL>https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/packages/&package;</URL>
|
<URL>https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/packages/&package;</URL>
|
||||||
<MD5>d7ee76b55ed3afd4dbef81ad29e7a17e</MD5>
|
<MD5>6b8acde65433cdcd383f647a85dab3d9</MD5>
|
||||||
</FILE>
|
</FILE>
|
||||||
|
|
||||||
<FILE Run="/bin/bash">
|
<FILE Run="/bin/bash">
|
||||||
|
|||||||
Reference in New Issue
Block a user