Fox missing orb

This commit is contained in:
2025-02-23 21:36:50 +01:00
parent b87450c0b5
commit c76cabafdb
4 changed files with 25 additions and 5 deletions

View File

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

View File

@@ -1,13 +1,12 @@
.page { .page {
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
z-index: 1;
} }
.orb { .orb {
position: absolute; position: absolute;
border-radius: 100%; border-radius: 100%;
z-index: -1; z-index: -999;
} }
.green { .green {
@@ -35,3 +34,13 @@
background: #593533; background: #593533;
filter: blur(30vh); 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 public partial class HeaderLayout : LayoutComponentBase
{ {
private bool AddButtonsVisile = false; private bool AddButtonsVisile = false;
private bool AddButtonsActive = false;
private ElementReference DropdownAdd; private ElementReference DropdownAdd;
private void HandleIconClicked() private void HandleIconClicked()
@@ -13,8 +14,16 @@ public partial class HeaderLayout : LayoutComponentBase
} }
private async Task HandleMoreAddClickedAsync() private async Task HandleMoreAddClickedAsync()
{
if (AddButtonsActive == true)
{
AddButtonsVisile = false;
}
else
{ {
AddButtonsVisile = !AddButtonsVisile; AddButtonsVisile = !AddButtonsVisile;
}
await DropdownAdd.FocusAsync(); await DropdownAdd.FocusAsync();
} }

View File

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