[STYLE] 縮減詳情側拉欄與編輯頁面間距,優化視覺緊湊度
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 47s

This commit is contained in:
2026-03-18 16:40:04 +08:00
parent fe9c9e0c4a
commit 2afcdcebc5
2 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
@extends('layouts.admin')
@section('content')
<div class="space-y-10 pb-20" x-data="{
<div class="space-y-8 pb-20" x-data="{
selectedFiles: [null, null, null],
handleFileChange(e, index) {
if (e.target.files.length > 0) {
@@ -51,8 +51,8 @@
<!-- Left: Basic info & Hardware -->
<div class="lg:col-span-2 space-y-8">
<!-- Basic Information -->
<div class="luxury-card rounded-3xl p-8 animate-luxury-in">
<div class="flex items-center gap-3 mb-8">
<div class="luxury-card rounded-3xl p-7 animate-luxury-in">
<div class="flex items-center gap-3 mb-6">
<div class="w-10 h-10 rounded-xl bg-emerald-500/10 flex items-center justify-center text-emerald-500">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 18.75 4.5H5.25a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"/></svg>
</div>
@@ -121,8 +121,8 @@
</div>
<!-- hardware & slot types -->
<div class="luxury-card rounded-3xl p-8 animate-luxury-in" style="animation-delay: 150ms">
<div class="flex items-center gap-3 mb-8">
<div class="luxury-card rounded-3xl p-7 animate-luxury-in" style="animation-delay: 150ms">
<div class="flex items-center gap-3 mb-6">
<div class="w-10 h-10 rounded-xl bg-indigo-500/10 flex items-center justify-center text-indigo-500">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M21 7.5V18a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18V7.5m0-4.5h18M3 7.5h18M3 12h18M3 16.5h18"/></svg>
</div>
@@ -225,8 +225,8 @@
</div>
<!-- Machine Images Management -->
<div class="luxury-card rounded-3xl p-8 animate-luxury-in" style="animation-delay: 400ms">
<div class="flex items-center gap-3 mb-8">
<div class="luxury-card rounded-3xl p-7 animate-luxury-in" style="animation-delay: 400ms">
<div class="flex items-center gap-3 mb-6">
<div class="w-10 h-10 rounded-xl bg-indigo-500/10 flex items-center justify-center text-indigo-500">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"/></svg>
</div>