File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <PropertyGroup >
4- <Version >9.4.12 </Version >
4+ <Version >9.5.0 </Version >
55 </PropertyGroup >
66
77 <ItemGroup >
Original file line number Diff line number Diff line change @@ -417,14 +417,12 @@ public partial class Layout : IHandlerException
417417 /// 获得/设置 Gets or sets a collection of additional assemblies that should be searched for components that can match URIs.
418418 /// </summary>
419419 [ Parameter ]
420- [ NotNull ]
421420 public IEnumerable < Assembly > ? AdditionalAssemblies { get ; set ; }
422421
423422 /// <summary>
424423 /// 获得/设置 鼠标悬停提示文字信息
425424 /// </summary>
426425 [ Parameter ]
427- [ NotNull ]
428426 public string ? TooltipText { get ; set ; }
429427
430428 /// <summary>
@@ -453,7 +451,7 @@ public partial class Layout : IHandlerException
453451 private IStringLocalizer < Layout > ? Localizer { get ; set ; }
454452
455453 private bool _init ;
456- private Tab _tab = default ! ;
454+ private Tab _tab = null ! ;
457455
458456 /// <summary>
459457 /// <inheritdoc/>
@@ -483,7 +481,7 @@ protected override async Task OnInitializedAsync()
483481 if ( AuthenticationStateTask != null )
484482 {
485483 // wasm 模式下 开启权限必须提供 AdditionalAssemblies 参数
486- AdditionalAssemblies ??= new [ ] { Assembly . GetEntryAssembly ( ) ! } ;
484+ AdditionalAssemblies ??= [ Assembly . GetEntryAssembly ( ) ! ] ;
487485
488486 var url = Navigation . ToBaseRelativePath ( Navigation . Uri ) ;
489487 var context = RouteTableFactory . Create ( AdditionalAssemblies , url ) ;
Original file line number Diff line number Diff line change 504504 & :hover {
505505 background-color : var (--bb-tabs-item-hover-bg-color );
506506 }
507- }
507+ }
508508 }
509509
510510 .btn-fs {
593593 margin-left : -2rem ;
594594 }
595595
596+ & :not (.active ) {
597+ & :not (:hover ):not (:first-child ) {
598+ .tabs-item {
599+ & :before {
600+ content : ' ' ;
601+ width : 2px ;
602+ background-color : rgba (var (--bs-emphasis-color-rgb ), .2 );
603+ position : absolute ;
604+ left : 0 ;
605+ top : 8px ;
606+ bottom : 10px ;
607+ }
608+ }
609+ }
610+
611+ & :hover + .tabs-item-wrap {
612+ .tabs-item {
613+ & :before {
614+ content : none ;
615+ }
616+ }
617+ }
618+ }
619+
596620 .tabs-item {
597621 border : none !important ;
598622 border-top-left-radius : 10px ;
You can’t perform that action at this time.
0 commit comments