Add header for game list #3

Merged
Egamorf merged 14 commits from feature/add-header-for-games-list into main 2025-02-27 01:09:05 +01:00
4 changed files with 25 additions and 5 deletions
Showing only changes of commit c76cabafdb - Show all commits

View File

@@ -13,3 +13,5 @@
<span class="orb red"></span>
<span class="orb blue"></span>
<span class="orb green"></span>
<div class="background"></div>

View File

@@ -1,13 +1,12 @@
.page {
height: 100%;
overflow: hidden;
z-index: 1;
}
.orb {
position: absolute;
border-radius: 100%;
z-index: -1;
z-index: -999;
}
.green {
@@ -35,3 +34,13 @@
background: #593533;
filter: blur(30vh);
}
.background {
height: 100%;
width: 100%;
background: var(--background);
position: fixed;
top: 0;
left: 0;
z-index: -1000;
}

View File

@@ -5,6 +5,7 @@ namespace GameIdeas.BlazorApp.Shared.Components;
public partial class HeaderLayout : LayoutComponentBase
{
private bool AddButtonsVisile = false;
private bool AddButtonsActive = false;
private ElementReference DropdownAdd;
private void HandleIconClicked()
@@ -13,8 +14,16 @@ public partial class HeaderLayout : LayoutComponentBase
}
private async Task HandleMoreAddClickedAsync()
{
if (AddButtonsActive == true)
{
AddButtonsVisile = false;
}
else
{
AddButtonsVisile = !AddButtonsVisile;
}
await DropdownAdd.FocusAsync();
}

View File

@@ -29,9 +29,9 @@ html, body, #app {
overflow: hidden;
}
#app {
/*#app {
background: var(--background);
}
}*/
h1:focus {
outline: none;