From eea8838963dc5dcd97bf35271346d6d4e63cd604 Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Wed, 29 Dec 2021 16:28:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=92=E8=89=B2=E5=AF=B9=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=8E=88=E6=9D=83=E5=A2=9E=E5=8A=A0=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EnumResource.cs | 2 +- .../Components/NavigationTree.razor | 2 +- .../BootstrapAdmin.Web/wwwroot/css/site.css | 16 +++++++++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess.Models/EnumResource.cs b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/EnumResource.cs index ba34dd8b..e82699fe 100644 --- a/src/blazor/admin/BootstrapAdmin.DataAccess.Models/EnumResource.cs +++ b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/EnumResource.cs @@ -20,7 +20,7 @@ namespace BootstrapAdmin.DataAccess.Models /// /// /// - [Description("块")] + [Description("代码块")] Block } } diff --git a/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor b/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor index 7fd899c3..f96ad281 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Components/NavigationTree.razor @@ -4,5 +4,5 @@ @code { RenderFragment RenderTreeItem => item => - @
@item.Name@item.Order@GetApp(item.Application)
; + @
@item.Name@item.Order@item.IsResource.ToDescriptionString()@GetApp(item.Application)
; } \ No newline at end of file diff --git a/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css b/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css index 93b41d67..43b56df2 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css +++ b/src/blazor/admin/BootstrapAdmin.Web/wwwroot/css/site.css @@ -114,5 +114,19 @@ } .card:hover { - box-shadow: 0 0 8px 0 rgb(0 0 0 / 8%), 0 2px 4px 0 rgb(255 255 255 / 0%); + box-shadow: 0 1px 7px 0 rgb(0 0 0 / 5%), 0 2px 8px 0 rgb(0 0 0 / 7%), 0 3px 9px 0 rgb(0 0 0 / 6%), 0 5px 10px 0 rgb(0 0 0 / 3%); } + +.app-type { + width: 40px; + text-align: left; + color: var(--bs-primary); +} + +.app-text { + width: 100px; + overflow: hidden; + text-align: right; + text-overflow: ellipsis; + color: var(--bs-info); +}