From b5d7482c86a10d38cd6eec5bbe3c895764dc628b Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 8 Jun 2026 18:05:46 +0200 Subject: [PATCH] Fix display pagina principale + test footer --- Lux.API/Lux.API.csproj | 2 +- .../Components/Compo/Common/CmpHeader.razor | 21 +++++---- Lux.UI/Components/Layout/MainLayout.razor | 13 +++--- Lux.UI/Components/Layout/MainLayout.razor.css | 2 +- .../Components/Layout/MainLayout.razor.less | 2 +- .../Layout/MainLayout.razor.min.css | 2 +- Lux.UI/Components/Layout/NavMenu.razor | 46 ------------------- Lux.UI/Lux.UI.csproj | 2 +- Lux.UI/wwwroot/css/site.css | 1 + Lux.UI/wwwroot/css/site.less | 1 + Lux.UI/wwwroot/css/site.min.css | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 14 files changed, 28 insertions(+), 72 deletions(-) diff --git a/Lux.API/Lux.API.csproj b/Lux.API/Lux.API.csproj index bccf0fb7..bf2f55de 100644 --- a/Lux.API/Lux.API.csproj +++ b/Lux.API/Lux.API.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 1.1.2606.0817 + 1.1.2606.0818 diff --git a/Lux.UI/Components/Compo/Common/CmpHeader.razor b/Lux.UI/Components/Compo/Common/CmpHeader.razor index b9b73bdf..2a00d5f4 100644 --- a/Lux.UI/Components/Compo/Common/CmpHeader.razor +++ b/Lux.UI/Components/Compo/Common/CmpHeader.razor @@ -1,20 +1,21 @@ @inherits BaseComp -
-
+
+

@title

-
- - User - +
+
+ + User + +
- diff --git a/Lux.UI/Components/Layout/MainLayout.razor b/Lux.UI/Components/Layout/MainLayout.razor index 6f071190..cf837f44 100644 --- a/Lux.UI/Components/Layout/MainLayout.razor +++ b/Lux.UI/Components/Layout/MainLayout.razor @@ -7,18 +7,17 @@
-
+
- -
+
@Body
- -
- -
+ +
+ +
diff --git a/Lux.UI/Components/Layout/MainLayout.razor.css b/Lux.UI/Components/Layout/MainLayout.razor.css index eb1e0e28..4349ad56 100644 --- a/Lux.UI/Components/Layout/MainLayout.razor.css +++ b/Lux.UI/Components/Layout/MainLayout.razor.css @@ -34,7 +34,7 @@ main { .bottom-row { color: #dedede; background-color: #000000; - height: 1.6rem; + /*height: 1.6rem;*/ align-items: center; } @media (max-width: 640.98px) { diff --git a/Lux.UI/Components/Layout/MainLayout.razor.less b/Lux.UI/Components/Layout/MainLayout.razor.less index ea1825bb..16620f2f 100644 --- a/Lux.UI/Components/Layout/MainLayout.razor.less +++ b/Lux.UI/Components/Layout/MainLayout.razor.less @@ -37,7 +37,7 @@ main { .bottom-row { color: #dedede; background-color: #000000; - height: 1.6rem; + /*height: 1.6rem;*/ align-items: center; } diff --git a/Lux.UI/Components/Layout/MainLayout.razor.min.css b/Lux.UI/Components/Layout/MainLayout.razor.min.css index 6d54e13f..02ecc730 100644 --- a/Lux.UI/Components/Layout/MainLayout.razor.min.css +++ b/Lux.UI/Components/Layout/MainLayout.razor.min.css @@ -1 +1 @@ -.page{position:relative;display:flex;flex-direction:column;}main{flex:1;}.sidebar,.sidebarSmall{background:-webkit-linear-gradient(to bottom,#053787,#00a5ff);background:linear-gradient(to bottom,#053787,#00a5ff);}.top-row{background-color:#f7f7f7;border-bottom:1px solid #d6d5d5;height:3.5rem;display:flex;align-items:center;}.top-row ::deep a,.top-row .btn-link{white-space:nowrap;margin-left:1.5rem;}.top-row a:first-child{overflow:hidden;text-overflow:ellipsis;}.bottom-row{color:#dedede;background-color:#000;height:1.6rem;align-items:center;}@media(max-width:640.98px){.top-row:not(.auth){display:none;}.top-row.auth{justify-content:space-between;}.top-row a,.top-row .btn-link{margin-left:0;}}@media(min-width:641px){.page{flex-direction:row;}.sidebar{width:13.5rem;height:100vh;position:sticky;top:0;}.sidebarSmall{width:6rem;height:100vh;position:sticky;top:0;}.top-row{position:sticky;top:0;z-index:1;}.top-row,article{padding-left:.5rem!important;padding-right:.5rem!important;}} \ No newline at end of file +.page{position:relative;display:flex;flex-direction:column;}main{flex:1;}.sidebar,.sidebarSmall{background:-webkit-linear-gradient(to bottom,#053787,#00a5ff);background:linear-gradient(to bottom,#053787,#00a5ff);}.top-row{background-color:#f7f7f7;border-bottom:1px solid #d6d5d5;height:3.5rem;display:flex;align-items:center;}.top-row ::deep a,.top-row .btn-link{white-space:nowrap;margin-left:1.5rem;}.top-row a:first-child{overflow:hidden;text-overflow:ellipsis;}.bottom-row{color:#dedede;background-color:#000;align-items:center;}@media(max-width:640.98px){.top-row:not(.auth){display:none;}.top-row.auth{justify-content:space-between;}.top-row a,.top-row .btn-link{margin-left:0;}}@media(min-width:641px){.page{flex-direction:row;}.sidebar{width:13.5rem;height:100vh;position:sticky;top:0;}.sidebarSmall{width:6rem;height:100vh;position:sticky;top:0;}.top-row{position:sticky;top:0;z-index:1;}.top-row,article{padding-left:.5rem!important;padding-right:.5rem!important;}} \ No newline at end of file diff --git a/Lux.UI/Components/Layout/NavMenu.razor b/Lux.UI/Components/Layout/NavMenu.razor index c44708a3..cc72eb82 100644 --- a/Lux.UI/Components/Layout/NavMenu.razor +++ b/Lux.UI/Components/Layout/NavMenu.razor @@ -10,16 +10,12 @@ { Lux.UI Manager } - @* Lux.UI *@
-@* *@ - -@*