Add header for game list #3
@@ -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>
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
@@ -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()
|
||||||
@@ -14,7 +15,15 @@ public partial class HeaderLayout : LayoutComponentBase
|
|||||||
|
|
||||||
private async Task HandleMoreAddClickedAsync()
|
private async Task HandleMoreAddClickedAsync()
|
||||||
{
|
{
|
||||||
AddButtonsVisile = !AddButtonsVisile;
|
if (AddButtonsActive == true)
|
||||||
|
{
|
||||||
|
AddButtonsVisile = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
AddButtonsVisile = !AddButtonsVisile;
|
||||||
|
}
|
||||||
|
|
||||||
await DropdownAdd.FocusAsync();
|
await DropdownAdd.FocusAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user