repo: remove confirmed cross-project DockDeck Stitch scratch
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (push) Canceled after 0s
This commit is contained in:
-396
@@ -1,396 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html class="dark" lang="nl"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>DockDeck - Categorieën beheren</title>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Inter:wght@400;500&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
||||
<style>
|
||||
.glass-panel {
|
||||
background: rgba(15, 23, 42, 0.6);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(30, 41, 59, 0.5);
|
||||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.glass-panel:hover {
|
||||
background: rgba(45, 52, 73, 0.5);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.active-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background-color: #4edea3;
|
||||
box-shadow: 0 0 8px #4edea3;
|
||||
}
|
||||
body {
|
||||
background-color: #0b1326;
|
||||
color: #dbe2fd;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||||
}
|
||||
.sidebar-active {
|
||||
background-color: #00b47d; /* secondary-container */
|
||||
color: #003e28; /* on-secondary-container */
|
||||
}
|
||||
</style>
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
"colors": {
|
||||
"on-error-container": "#ffdad6",
|
||||
"surface-glass": "rgba(15, 23, 42, 0.6)",
|
||||
"on-surface": "#dbe2fd",
|
||||
"inverse-surface": "#dbe2fd",
|
||||
"background": "#0b1326",
|
||||
"surface-dim": "#0b1326",
|
||||
"on-primary": "#292b5e",
|
||||
"surface": "#0b1326",
|
||||
"on-tertiary": "#4f2500",
|
||||
"on-tertiary-fixed-variant": "#703700",
|
||||
"surface-container-highest": "#2d3449",
|
||||
"on-secondary": "#003824",
|
||||
"on-primary-fixed": "#131449",
|
||||
"tertiary": "#ffb783",
|
||||
"on-error": "#690005",
|
||||
"inverse-primary": "#585990",
|
||||
"primary-fixed": "#e1e0ff",
|
||||
"outline": "#908fa0",
|
||||
"secondary": "#4edea3",
|
||||
"secondary-fixed-dim": "#4edea3",
|
||||
"error": "#ffb4ab",
|
||||
"inverse-on-surface": "#283044",
|
||||
"outline-variant": "rgba(30, 41, 59, 0.5)",
|
||||
"primary-fixed-dim": "#c0c1ff",
|
||||
"error-container": "#93000a",
|
||||
"tertiary-container": "#d97721",
|
||||
"status-degraded": "#ffb783",
|
||||
"secondary-fixed": "#6ffbbe",
|
||||
"on-secondary-fixed-variant": "#005236",
|
||||
"surface-container-lowest": "#060d20",
|
||||
"primary-container": "#8a8cc6",
|
||||
"tertiary-fixed": "#ffdcc5",
|
||||
"surface-container": "#171f33",
|
||||
"on-primary-fixed-variant": "#404176",
|
||||
"on-secondary-fixed": "#002114",
|
||||
"on-secondary-container": "#003e28",
|
||||
"surface-variant": "#2d3449",
|
||||
"on-surface-variant": "#c7c4d7",
|
||||
"surface-bright": "#31394e",
|
||||
"primary": "#c0c1ff",
|
||||
"surface-container-high": "#222a3e",
|
||||
"on-background": "#dbe2fd",
|
||||
"surface-container-low": "#131b2e",
|
||||
"tertiary-fixed-dim": "#ffb783",
|
||||
"on-tertiary-container": "#452000",
|
||||
"secondary-container": "#00b47d",
|
||||
"status-online": "#4edea3",
|
||||
"on-primary-container": "#222457",
|
||||
"status-offline": "#ffb4ab",
|
||||
"surface-tint": "#c0c1ff",
|
||||
"on-tertiary-fixed": "#301400"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"stack-lg": "48px",
|
||||
"margin-mobile": "16px",
|
||||
"base": "8px",
|
||||
"stack-sm": "12px",
|
||||
"stack-md": "24px",
|
||||
"container-max": "1440px",
|
||||
"margin-desktop": "40px",
|
||||
"gutter": "24px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"headline-md": ["Geist"],
|
||||
"body-lg": ["Inter"],
|
||||
"display-lg": ["Geist"],
|
||||
"label-md": ["Geist"],
|
||||
"headline-lg": ["Geist"],
|
||||
"body-md": ["Inter"],
|
||||
"headline-lg-mobile": ["Geist"],
|
||||
"code-sm": ["Geist"]
|
||||
},
|
||||
"fontSize": {
|
||||
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "500"}],
|
||||
"body-lg": ["18px", {"lineHeight": "28px", "fontWeight": "400"}],
|
||||
"display-lg": ["48px", {"lineHeight": "56px", "letterSpacing": "-0.02em", "fontWeight": "600"}],
|
||||
"label-md": ["14px", {"lineHeight": "20px", "letterSpacing": "0.02em", "fontWeight": "500"}],
|
||||
"headline-lg": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.01em", "fontWeight": "600"}],
|
||||
"body-md": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
||||
"headline-lg-mobile": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
||||
"code-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body class="font-body-md text-body-md">
|
||||
<!-- TopNavBar -->
|
||||
<header class="fixed top-0 w-full bg-surface-glass backdrop-blur-xl border-b border-outline-variant/20 shadow-sm z-50 flex justify-between items-center h-16 px-gutter">
|
||||
<div class="flex items-center gap-4">
|
||||
<span class="font-headline-md text-headline-md font-bold text-primary">DockDeck</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-base">
|
||||
<div class="hidden md:flex bg-surface-container-low border border-outline-variant rounded-full px-4 py-2 items-center gap-2 w-64 focus-within:ring-2 ring-primary-container transition-all">
|
||||
<span class="material-symbols-outlined text-on-surface-variant">search</span>
|
||||
<input class="bg-transparent border-none focus:ring-0 text-label-md w-full text-on-surface placeholder:text-on-surface-variant" placeholder="Zoek instellingen..." type="text"/>
|
||||
</div>
|
||||
<button class="p-2 rounded-full hover:bg-surface-variant/50 transition-colors text-on-surface-variant active:scale-95 duration-150">
|
||||
<span class="material-symbols-outlined">settings</span>
|
||||
</button>
|
||||
<button class="p-2 rounded-full hover:bg-surface-variant/50 transition-colors text-on-surface-variant active:scale-95 duration-150">
|
||||
<span class="material-symbols-outlined">account_circle</span>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<!-- SideNavBar -->
|
||||
<aside class="fixed left-0 top-16 h-[calc(100vh-64px)] w-64 bg-surface-container-low border-r border-outline-variant/10 flex flex-col p-base gap-stack-sm hidden xl:flex">
|
||||
<div class="px-2 py-4 border-b border-outline-variant/10 mb-2">
|
||||
<h2 class="font-headline-md text-headline-md text-primary">Admin</h2>
|
||||
<p class="text-label-md font-label-md text-on-surface-variant opacity-70">Unraid Server</p>
|
||||
</div>
|
||||
<nav class="flex-1 space-y-1">
|
||||
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all rounded-lg duration-200 hover:translate-x-1" href="#">
|
||||
<span class="material-symbols-outlined">dashboard</span>
|
||||
<span class="font-label-md text-label-md">Dashboard</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all rounded-lg duration-200 hover:translate-x-1" href="#">
|
||||
<span class="material-symbols-outlined">layers</span>
|
||||
<span class="font-label-md text-label-md">Containers</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all rounded-lg duration-200 hover:translate-x-1" href="#">
|
||||
<span class="material-symbols-outlined">image</span>
|
||||
<span class="font-label-md text-label-md">Images</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all rounded-lg duration-200 hover:translate-x-1" href="#">
|
||||
<span class="material-symbols-outlined">lan</span>
|
||||
<span class="font-label-md text-label-md">Network</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2 bg-secondary-container text-on-secondary-container rounded-lg font-bold transition-all duration-200" href="#">
|
||||
<span class="material-symbols-outlined">settings</span>
|
||||
<span class="font-label-md text-label-md">Settings</span>
|
||||
</a>
|
||||
</nav>
|
||||
<div class="pt-4 border-t border-outline-variant/10 space-y-1">
|
||||
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all rounded-lg" href="#">
|
||||
<span class="material-symbols-outlined">description</span>
|
||||
<span class="font-label-md text-label-md">Docs</span>
|
||||
</a>
|
||||
<a class="flex items-center gap-3 px-3 py-2 text-on-surface-variant hover:text-on-surface hover:bg-surface-bright/30 transition-all rounded-lg" href="#">
|
||||
<span class="material-symbols-outlined text-error">logout</span>
|
||||
<span class="font-label-md text-label-md">Logout</span>
|
||||
</a>
|
||||
</div>
|
||||
</aside>
|
||||
<!-- Content Canvas -->
|
||||
<main class="pt-24 pb-12 px-6 xl:pl-72 max-w-container-max mx-auto">
|
||||
<header class="mb-stack-lg flex flex-col md:flex-row md:items-end justify-between gap-4">
|
||||
<div>
|
||||
<h1 class="font-headline-lg text-headline-lg text-on-surface mb-2">Categorieën beheren</h1>
|
||||
<p class="text-body-md font-body-md text-on-surface-variant max-w-2xl">Organiseer je DockDeck dashboard door services te groeperen in logische categorieën. Sleep om te sorteren.</p>
|
||||
</div>
|
||||
<button class="bg-primary text-on-primary px-6 py-2.5 rounded-lg font-medium flex items-center gap-2 hover:brightness-110 active:scale-95 transition-all">
|
||||
<span class="material-symbols-outlined">add</span>
|
||||
Nieuwe Categorie
|
||||
</button>
|
||||
</header>
|
||||
<!-- Category Grid -->
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-gutter">
|
||||
<!-- Category: Media -->
|
||||
<article class="glass-panel p-stack-md rounded-xl flex flex-col gap-4 relative group">
|
||||
<div class="absolute top-4 right-4 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<button class="p-1.5 text-on-surface-variant hover:bg-surface-variant rounded-md cursor-grab active:cursor-grabbing" title="Sorteer">
|
||||
<span class="material-symbols-outlined text-[20px]">drag_indicator</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="w-12 h-12 rounded-xl bg-secondary-container/20 border border-secondary-container/30 flex items-center justify-center text-secondary">
|
||||
<span class="material-symbols-outlined text-[28px]">movie</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-headline-md text-on-surface leading-tight">Media</h3>
|
||||
<p class="text-label-md font-label-md text-secondary">8 items gekoppeld</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex gap-2 mt-4 pt-4 border-t border-outline-variant/10">
|
||||
<button class="flex-1 flex items-center justify-center gap-2 py-2 text-label-md font-label-md text-on-surface-variant hover:bg-surface-variant/40 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">edit</span>
|
||||
Hernoemen
|
||||
</button>
|
||||
<button class="px-3 flex items-center justify-center py-2 text-on-error hover:bg-error-container/20 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
<!-- Category: Smart Home -->
|
||||
<article class="glass-panel p-stack-md rounded-xl flex flex-col gap-4 relative group">
|
||||
<div class="absolute top-4 right-4 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<button class="p-1.5 text-on-surface-variant hover:bg-surface-variant rounded-md cursor-grab active:cursor-grabbing" title="Sorteer">
|
||||
<span class="material-symbols-outlined text-[20px]">drag_indicator</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="w-12 h-12 rounded-xl bg-primary-container/20 border border-primary-container/30 flex items-center justify-center text-primary">
|
||||
<span class="material-symbols-outlined text-[28px]">home_iot_device</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-headline-md text-on-surface leading-tight">Smart Home</h3>
|
||||
<p class="text-label-md font-label-md text-secondary">12 items gekoppeld</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex gap-2 mt-4 pt-4 border-t border-outline-variant/10">
|
||||
<button class="flex-1 flex items-center justify-center gap-2 py-2 text-label-md font-label-md text-on-surface-variant hover:bg-surface-variant/40 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">edit</span>
|
||||
Hernoemen
|
||||
</button>
|
||||
<button class="px-3 flex items-center justify-center py-2 text-on-error hover:bg-error-container/20 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
<!-- Category: Netwerk -->
|
||||
<article class="glass-panel p-stack-md rounded-xl flex flex-col gap-4 relative group">
|
||||
<div class="absolute top-4 right-4 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<button class="p-1.5 text-on-surface-variant hover:bg-surface-variant rounded-md cursor-grab active:cursor-grabbing" title="Sorteer">
|
||||
<span class="material-symbols-outlined text-[20px]">drag_indicator</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="w-12 h-12 rounded-xl bg-tertiary-container/20 border border-tertiary-container/30 flex items-center justify-center text-tertiary">
|
||||
<span class="material-symbols-outlined text-[28px]">router</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-headline-md text-on-surface leading-tight">Netwerk</h3>
|
||||
<p class="text-label-md font-label-md text-secondary">4 items gekoppeld</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex gap-2 mt-4 pt-4 border-t border-outline-variant/10">
|
||||
<button class="flex-1 flex items-center justify-center gap-2 py-2 text-label-md font-label-md text-on-surface-variant hover:bg-surface-variant/40 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">edit</span>
|
||||
Hernoemen
|
||||
</button>
|
||||
<button class="px-3 flex items-center justify-center py-2 text-on-error hover:bg-error-container/20 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
<!-- Lege Toestand Categorie -->
|
||||
<article class="glass-panel p-stack-md rounded-xl flex flex-col gap-4 relative group border-dashed border-2 border-outline-variant/30 bg-transparent hover:border-primary-container/50">
|
||||
<div class="flex items-center gap-4 grayscale opacity-60">
|
||||
<div class="w-12 h-12 rounded-xl bg-surface-container-highest border border-outline-variant flex items-center justify-center">
|
||||
<span class="material-symbols-outlined text-[28px]">folder_off</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-headline-md text-headline-md text-on-surface leading-tight">Ongecategoriseerd</h3>
|
||||
<p class="text-label-md font-label-md text-on-surface-variant">0 items gekoppeld</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4 p-3 bg-surface-container-lowest/50 rounded-lg text-center">
|
||||
<p class="text-label-md font-label-md text-on-surface-variant italic">Deze categorie is momenteel leeg en zal niet worden getoond op het dashboard.</p>
|
||||
</div>
|
||||
<div class="flex gap-2 mt-auto pt-4 border-t border-outline-variant/10">
|
||||
<button class="flex-1 flex items-center justify-center gap-2 py-2 text-label-md font-label-md text-on-surface-variant hover:bg-surface-variant/40 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">edit</span>
|
||||
Hernoemen
|
||||
</button>
|
||||
<button class="px-3 flex items-center justify-center py-2 text-on-error hover:bg-error-container/20 rounded-lg transition-colors">
|
||||
<span class="material-symbols-outlined text-[18px]">delete</span>
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
<!-- Add New Placeholder -->
|
||||
<button class="group relative flex flex-col items-center justify-center gap-4 p-stack-md rounded-xl border-2 border-dashed border-outline-variant/30 hover:border-primary/50 hover:bg-primary/5 transition-all duration-300 min-h-[220px]">
|
||||
<div class="w-16 h-16 rounded-full bg-surface-container-high flex items-center justify-center text-on-surface-variant group-hover:scale-110 group-hover:text-primary transition-all duration-300">
|
||||
<span class="material-symbols-outlined text-[40px]">add_circle</span>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<p class="font-label-md text-label-md text-on-surface-variant group-hover:text-on-surface">Nieuwe groep aanmaken</p>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Extra informatie sectie -->
|
||||
<section class="mt-stack-lg glass-panel p-stack-md rounded-xl bg-surface-container-low/30 overflow-hidden relative">
|
||||
<div class="absolute -right-16 -bottom-16 w-64 h-64 bg-primary/5 blur-3xl rounded-full"></div>
|
||||
<div class="relative z-10 flex flex-col md:flex-row items-center gap-gutter">
|
||||
<div class="w-20 h-20 shrink-0 bg-surface-container-highest rounded-full flex items-center justify-center text-primary-container">
|
||||
<span class="material-symbols-outlined text-[48px]">info</span>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<h3 class="font-headline-md text-headline-md text-on-surface mb-2">Wist je dat?</h3>
|
||||
<p class="text-body-md text-on-surface-variant">Je kunt ook de volgorde van services <i>binnen</i> een categorie wijzigen op de hoofdpagina. Verwijderde categorieën zorgen ervoor dat gekoppelde items automatisch naar 'Ongecategoriseerd' worden verplaatst.</p>
|
||||
</div>
|
||||
<div class="shrink-0">
|
||||
<button class="px-6 py-2 border border-outline-variant hover:bg-surface-variant/30 rounded-lg text-label-md font-label-md transition-all">
|
||||
Documentatie openen
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<!-- BottomNavBar for Mobile -->
|
||||
<nav class="md:hidden fixed bottom-0 w-full bg-surface-container-low backdrop-blur-xl flex justify-around items-center h-16 px-gutter z-50 shadow-[0_-4px_12px_rgba(0,0,0,0.1)]">
|
||||
<button class="flex flex-col items-center gap-1 text-on-surface-variant">
|
||||
<span class="material-symbols-outlined">dashboard</span>
|
||||
<span class="text-[10px] font-label-md">Overzicht</span>
|
||||
</button>
|
||||
<button class="flex flex-col items-center gap-1 text-on-surface-variant">
|
||||
<span class="material-symbols-outlined">layers</span>
|
||||
<span class="text-[10px] font-label-md">Containers</span>
|
||||
</button>
|
||||
<div class="relative -top-4">
|
||||
<button class="w-12 h-12 bg-primary text-on-primary rounded-full flex items-center justify-center shadow-lg active:scale-90 transition-transform">
|
||||
<span class="material-symbols-outlined">add</span>
|
||||
</button>
|
||||
</div>
|
||||
<button class="flex flex-col items-center gap-1 text-on-surface-variant">
|
||||
<span class="material-symbols-outlined">lan</span>
|
||||
<span class="text-[10px] font-label-md">Netwerk</span>
|
||||
</button>
|
||||
<button class="flex flex-col items-center gap-1 text-secondary font-bold">
|
||||
<span class="material-symbols-outlined">settings</span>
|
||||
<span class="text-[10px] font-label-md">Instellingen</span>
|
||||
</button>
|
||||
</nav>
|
||||
<script>
|
||||
// Simple drag interaction visual feedback
|
||||
document.querySelectorAll('button[title="Sorteer"]').forEach(btn => {
|
||||
btn.addEventListener('mousedown', () => {
|
||||
const card = btn.closest('article');
|
||||
card.style.zIndex = '100';
|
||||
card.style.opacity = '0.7';
|
||||
});
|
||||
btn.addEventListener('mouseup', () => {
|
||||
const card = btn.closest('article');
|
||||
card.style.zIndex = '1';
|
||||
card.style.opacity = '1';
|
||||
});
|
||||
});
|
||||
|
||||
// Hover animations for category tiles
|
||||
const tiles = document.querySelectorAll('.glass-panel');
|
||||
tiles.forEach(tile => {
|
||||
tile.addEventListener('mouseenter', () => {
|
||||
if(!tile.classList.contains('border-dashed')) {
|
||||
tile.style.boxShadow = '0 0 15px rgba(192, 193, 255, 0.1)';
|
||||
}
|
||||
});
|
||||
tile.addEventListener('mouseleave', () => {
|
||||
tile.style.boxShadow = 'none';
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user