diff --git a/SteUp.Maui/SteUp.Maui.csproj b/SteUp.Maui/SteUp.Maui.csproj
index fb21d0b..928460e 100644
--- a/SteUp.Maui/SteUp.Maui.csproj
+++ b/SteUp.Maui/SteUp.Maui.csproj
@@ -33,7 +33,7 @@
1.0
1
- 14.2
+ 15.0
@@ -74,7 +74,7 @@
- 14.2
+ 15.0
$(DefineConstants);APPLE;PLATFORM
@@ -116,9 +116,9 @@
-
-
-
+
+
+
diff --git a/SteUp.Shared/Components/Layout/NavMenu.razor b/SteUp.Shared/Components/Layout/NavMenu.razor
index b0a8df8..b74706d 100644
--- a/SteUp.Shared/Components/Layout/NavMenu.razor
+++ b/SteUp.Shared/Components/Layout/NavMenu.razor
@@ -31,27 +31,20 @@
@if (PlusVisible)
{
-
-
-
-
-
- @if (SchedaVisible)
- {
-
- Nuova scheda
-
- }
- else
- {
-
- Nuova ispezione
-
- }
-
-
+
+ @if (SchedaVisible)
+ {
+
+ }
+ else
+ {
+
+ }
+
}
diff --git a/SteUp.Shared/Components/Layout/NavMenu.razor.css b/SteUp.Shared/Components/Layout/NavMenu.razor.css
index 17d170a..025e4bb 100644
--- a/SteUp.Shared/Components/Layout/NavMenu.razor.css
+++ b/SteUp.Shared/Components/Layout/NavMenu.razor.css
@@ -7,11 +7,17 @@
transition: all 0.3s ease-in-out;
}
-.animated-navbar.show-nav { transform: translateY(0); }
+.animated-navbar.show-nav {
+ transform: translateY(0);
+}
-.animated-navbar.hide-nav { transform: translateY(150%); }
+.animated-navbar.hide-nav {
+ transform: translateY(150%);
+}
-.animated-navbar.with-plus { margin-left: 30px; }
+.animated-navbar.with-plus {
+ margin-left: 30px;
+}
.navbar {
padding-bottom: 1rem;
@@ -23,7 +29,9 @@
transition: all 0.3s ease-in-out;
}
-.navbar.with-plus { transform: translateX(-30px); }
+.navbar.with-plus {
+ transform: translateX(-30px);
+}
.navbar.without-plus {
transform: translateX(0);
@@ -38,26 +46,26 @@
transition: all 0.3s ease-in-out;
}
-.nav-item { font-size: 0.9rem; }
+.nav-item {
+ font-size: 0.9rem;
+}
.nav-item.plus-button {
position: relative;
bottom: 15px;
}
-.navbar ::deep .custom-plus-button .mud-icon-root {
- transition: .5s;
- transform: rotate(0);
- font-size: 2rem;
-}
-
.navbar ::deep .custom-plus-button {
background: var(--mud-palette-surface);
- box-shadow: var(--custom-box-shadow);
- transition: all 0.3s ease-in-out;
}
-.navbar ::deep .custom-plus-button:focus .mud-icon-root { transform: rotate(225deg); }
+.navbar ::deep .custom-menu-fab .mud-fab-label {
+ width: max-content;
+}
+
+.navbar ::deep .custom-menu-fab .mud-button-root.mud-fab {
+ background: var(--mud-palette-surface);
+}
.nav-item ::deep a {
display: flex;
@@ -74,24 +82,34 @@
min-width: 75px;
}
-.nav-item ::deep a.active > div { color: var(--mud-palette-primary); }
+.nav-item ::deep a.active > div {
+ color: var(--mud-palette-primary);
+}
.nav-item ::deep a.active > div > i {
/*background-color: color-mix(in srgb, var(--mud-palette-primary) 20%, transparent);*/
border-radius: 10px;
}
-.nav-item ::deep a.active > div > span { font-weight: 800; }
+.nav-item ::deep a.active > div > span {
+ font-weight: 800;
+}
.nav-item ::deep a:not(.active) > div {
color: var(--mud-palette-text-primary);
}
-.nav-item ::deep a i { font-size: 1.65rem; }
+.nav-item ::deep a i {
+ font-size: 1.65rem;
+}
.nav-item ::deep a span {
font-size: 0.8rem;
font-weight: 500;
}
-@supports (-webkit-touch-callout: none) { .navbar { padding-bottom: env(safe-area-inset-bottom); } }
\ No newline at end of file
+@supports (-webkit-touch-callout: none) {
+ .navbar {
+ padding-bottom: env(safe-area-inset-bottom);
+ }
+}
\ No newline at end of file
diff --git a/SteUp.Shared/SteUp.Shared.csproj b/SteUp.Shared/SteUp.Shared.csproj
index eecdb0c..83a7d0a 100644
--- a/SteUp.Shared/SteUp.Shared.csproj
+++ b/SteUp.Shared/SteUp.Shared.csproj
@@ -14,12 +14,12 @@
-
-
+
+
-
+
diff --git a/SteUp.Shared/wwwroot/css/app.css b/SteUp.Shared/wwwroot/css/app.css
index acfff6c..456f917 100644
--- a/SteUp.Shared/wwwroot/css/app.css
+++ b/SteUp.Shared/wwwroot/css/app.css
@@ -165,34 +165,6 @@ h1:focus {
right: 16px;
}
-.custom_popover {
- border-radius: 5px !important;
- background-color: var(--mud-palette-drawer-background) !important;
- box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.26), 0px 0px 0px 1px rgb(255 255 255 / 25%) !important;
- color: var(--mud-palette-text-primary) !important;
-}
-
-.custom_popover .mud-divider {
- border-color: var(--mud-palette-text-primary) !important;
-}
-
-.custom_popover .mud-list-padding {
- padding: 3px 0px 3px 0px !important;
-}
-
-.custom_popover .mud-list-item {
- padding: 5px 12px 5px 12px;
-}
-
-.custom_popover .mud-menu-item-text {
- font-weight: 600;
-}
-
-.custom_popover .mud-list-item-icon {
- min-width: fit-content !important;
- padding-right: 12px !important;
-}
-
.divider {
display: block;
width: 100%;
diff --git a/SteUp.Shared/wwwroot/js/main.js b/SteUp.Shared/wwwroot/js/main.js
index 05d41a3..c29efbb 100644
--- a/SteUp.Shared/wwwroot/js/main.js
+++ b/SteUp.Shared/wwwroot/js/main.js
@@ -4,15 +4,6 @@ window.goBack = function () {
history.back();
};
-// Funzione per aggiungere tabindex ai bottoni
-function addTabindexToButtons() {
- document.querySelectorAll('button.custom-plus-button').forEach(btn => {
- if (!btn.hasAttribute('tabindex')) {
- btn.setAttribute('tabindex', '0');
- }
- });
-}
-
// Funzione per monitorare bottom-sheet-container e gestire la navbar
function monitorBottomSheetClass(mutations) {
const bottomSheet = document.querySelector(".bottom-sheet-container");