From b151d615c3ea124d67b3fe35f474c6e7a95f848d Mon Sep 17 00:00:00 2001 From: SXR <2738277154@qq.com> Date: Wed, 14 May 2025 10:12:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- neo/templates/datacenter.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/neo/templates/datacenter.html b/neo/templates/datacenter.html index b71a86b..4b37ecb 100644 --- a/neo/templates/datacenter.html +++ b/neo/templates/datacenter.html @@ -23,6 +23,18 @@ .layui-col-md3 { display: flex; /* 关键:使列也成为 flex 容器 */ } + /* 卡片标题样式 - 添加立体阴影 */ + .layui-card-header { + font-size: 16px; + font-weight: bold; + padding: 12px 15px; + border-bottom: 1px solid #f0f0f0; + background: linear-gradient(to bottom, #f8f8f8, #eaeaea); /* 渐变背景 */ + color: #333; + text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* 文字阴影 */ + box-shadow: 0 2px 3px rgba(0,0,0,0.05); /* 标题底部阴影 */ + border-radius: 8px 8px 0 0; /* 圆角与卡片匹配 */ + } .device-card { flex: 1; /* 关键:使卡片填充整个列空间 */ display: flex; -- Gitee