Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyaz committed Sep 15, 2024
1 parent d6422f9 commit 57c4eeb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ReactWithDotNet.WebSite/HeaderComponents/HeaderMenuBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ protected override Element render()

LetterSpacingNormal,
BackgroundForPaper,
BorderWidth(1),
Hover(Background(Gray50), Border(1,solid,Gray100)),
Border(1,solid,transparent),
Hover(Background(Gray50), BorderColor(Gray100)),

new FlexRow(AlignItemsCenter, Gap(20), BorderRadius)
{
Expand Down Expand Up @@ -123,7 +123,10 @@ protected override Element render()
{
return new Tooltip
{
classes = { { "tooltip", [Background(Theme.common_background), Padding(0), BorderRadius] } },
classes =
{
{ "tooltip", [Background(Theme.common_background), Padding(0), BorderRadius] }
},
title = new FlexColumn(BorderRadius, Border(Solid(1, Theme.grey_200)), Width(400), BoxShadow(rgba(170, 180, 190, 0.3), 0, 4, 20))
{
Model.Children.ToListOf(x => new MenuItemView { Model = x })
Expand All @@ -134,7 +137,8 @@ protected override Element render()
{
Text(Model.Title),
Padding(10),
Hover(Background(Gray50), Border(1, solid, Gray200)),
Border(1,solid,transparent),
Hover(Background(Gray50), BorderColor(Gray200)),
BorderRadius,
FontSize14,
FontWeight700,
Expand Down

0 comments on commit 57c4eeb

Please sign in to comment.