From 46699e8bf32595949c85d526f9446d51ed7160e6 Mon Sep 17 00:00:00 2001 From: DanielS Date: Tue, 11 Aug 2026 17:30:17 +0200 Subject: [PATCH] style(wizard): refine step 3 UI styling and micro interactions --- shop/components/order-wizard.tsx | 22 +-- shop/components/wizard/step-software.tsx | 26 ++-- shop/components/wizard/summary-sidebar.tsx | 166 +++++++++++---------- 3 files changed, 108 insertions(+), 106 deletions(-) diff --git a/shop/components/order-wizard.tsx b/shop/components/order-wizard.tsx index 3510362..d4a390f 100644 --- a/shop/components/order-wizard.tsx +++ b/shop/components/order-wizard.tsx @@ -932,12 +932,12 @@ export function OrderWizard({ initial={{ opacity: 0, x: 20 }} animate={{ opacity: 1, x: 0 }} exit={{ opacity: 0, x: -20 }} - className="h-[calc(100vh-100px)] overflow-hidden" + className="h-[calc(100vh-100px)] overflow-hidden bg-slate-950/70 backdrop-blur-xl border border-slate-800/80 rounded-2xl shadow-2xl p-2" > -
+
{/* LEFT inside step 3: Categories Sidebar Menu */} -
+

Kategorien & Optionen @@ -947,7 +947,7 @@ export function OrderWizard({

-
+
{visibleCategories.map((cat) => { const sel = selections[cat.id] const hasSelection = (sel?.productIds && sel.productIds.length > 0) || !!sel?.productId @@ -959,8 +959,8 @@ export function OrderWizard({ key={cat.id} onClick={() => setActiveCategoryId(cat.id)} className={`flex items-center gap-3 p-3.5 rounded-xl border transition-all duration-300 text-left relative overflow-hidden group ${isActive - ? 'bg-primary/10 border-primary text-white shadow-[0_0_20px_rgba(59,130,246,0.15)]' - : 'bg-white/5 border-white/5 text-slate-400 hover:bg-white/10 hover:border-white/10' + ? 'bg-primary/10 border-primary text-white shadow-[0_0_20px_rgba(59,130,246,0.2)]' + : 'bg-slate-900/50 border-white/5 text-slate-400 hover:bg-slate-900 hover:border-white/20 hover:text-white' }`} > {/* Left glow line for active category */} @@ -984,11 +984,11 @@ export function OrderWizard({ {/* Status indicators */} {hasSelection ? ( - + Ausgewählt ) : isRequired ? ( - + Erforderlich ) : null} @@ -999,8 +999,8 @@ export function OrderWizard({
{/* CENTER: Scrollable Category Selection */} -
-
+
+
{/* Upgrade-Modus Hinweis-Banner */} {upgradeMode && lockedDeviceId && (
@@ -1032,7 +1032,7 @@ export function OrderWizard({
{/* RIGHT: Summary sidebar */} -
+
0 && ( -
-

- +

+

+ Zusatzmodule für {selectedProduct.name}

-
+
{selectedProduct.modules.map(module => { const isExistingLicense = existingModuleIds.includes(module.id) const disabled = isExistingLicense || isModuleDisabled(module, sel?.moduleIds ?? []) @@ -242,14 +242,14 @@ export function StepSoftware({ return (
@@ -258,19 +258,19 @@ export function StepSoftware({ checked={checked} onCheckedChange={() => !isExistingLicense && toggleModule(currentCategory.id, module.id)} disabled={disabled} - className="rounded border-white/20 data-[state=checked]:bg-primary" + className="rounded border-slate-700 data-[state=checked]:bg-primary data-[state=checked]:border-primary transition-colors" />