From a5e27bcf066d14f57eff6a54f9af2f3d7226f2f0 Mon Sep 17 00:00:00 2001 From: MarcoE Date: Wed, 25 Feb 2026 11:04:36 +0100 Subject: [PATCH] Migliorie grafiche per gli articoli --- .../Modal/ModalFormScheda.razor | 76 +++++++++++++------ .../Modal/ModalFormScheda.razor.css | 11 +++ SteUp.Shared/wwwroot/css/app.css | 3 +- SteUp.Shared/wwwroot/css/custom-mudBlazor.css | 16 ++++ SteUp.Shared/wwwroot/css/form.css | 12 ++- 5 files changed, 90 insertions(+), 28 deletions(-) diff --git a/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor b/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor index 602ccc9..56c1b95 100644 --- a/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor +++ b/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor @@ -53,37 +53,41 @@ @if (FileLoading) { -
- -
+ +
+ +
+
} else if (!AttachedList.IsNullOrEmpty()) { -
-
- @foreach (var item in AttachedList!.Select((p, index) => new { p, index })) - { - - @if (!item.p.ThumbPath.IsNullOrEmpty()) - { - - } - - @item.p.Name - - - - } + +
+
+ @foreach (var item in AttachedList!.Select((p, index) => new { p, index })) + { + + @if (!item.p.ThumbPath.IsNullOrEmpty()) + { + + } + + @item.p.Name + + + + } +
-
+ } @if (!IsView) { -
+
} + +
+ + +
+
+ + @if (!IsView) + { +
+ + Consulta articoli + +
+ } + @@ -118,7 +144,7 @@
- !NetworkService.ConnectionAvailable; + private string ManualBarcode { get; set; } + //Overlay private bool VisibleOverlay { get; set; } private bool SuccessAnimation { get; set; } diff --git a/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor.css b/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor.css index 292748f..a1b5b7b 100644 --- a/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor.css +++ b/SteUp.Shared/Components/SingleElements/Modal/ModalFormScheda.razor.css @@ -1,5 +1,16 @@ .container-attached { width: 100%; + margin-bottom: 1rem; +} + +.container-attached .divider { + margin: unset; +} + +.input-manual-barcode { + display: flex; + align-items: center; + gap: 1.5rem; } .scroll-attached { diff --git a/SteUp.Shared/wwwroot/css/app.css b/SteUp.Shared/wwwroot/css/app.css index 9c37aac..4b254af 100644 --- a/SteUp.Shared/wwwroot/css/app.css +++ b/SteUp.Shared/wwwroot/css/app.css @@ -168,8 +168,7 @@ h1:focus { .divider { display: block; width: 100%; - border: .05rem solid var(--card-border-color); - margin: 1rem 0; + border: .05rem solid var(--mud-palette-lines-inputs); } .pb-safe-area { diff --git a/SteUp.Shared/wwwroot/css/custom-mudBlazor.css b/SteUp.Shared/wwwroot/css/custom-mudBlazor.css index 8bd460a..176be20 100644 --- a/SteUp.Shared/wwwroot/css/custom-mudBlazor.css +++ b/SteUp.Shared/wwwroot/css/custom-mudBlazor.css @@ -35,4 +35,20 @@ .mud-expansion-panels { width: 100%; +} + +.ripple-container .mud-ripple-effect { + display: none !important; +} + +.ripple-container .mud-ripple-effect-expanding { + display: none !important; +} + +.ripple-container .mud-button:focus-visible, .ripple-container .mud-button:active{ + background-color: unset !important; +} + +.ripple-container .mud-button-outlined:focus-visible, .ripple-container .mud-button-outlined:active{ + background-color: unset !important; } \ No newline at end of file diff --git a/SteUp.Shared/wwwroot/css/form.css b/SteUp.Shared/wwwroot/css/form.css index 2dd6487..a36e4de 100644 --- a/SteUp.Shared/wwwroot/css/form.css +++ b/SteUp.Shared/wwwroot/css/form.css @@ -144,6 +144,10 @@ margin-bottom: 2rem; } +.container-button.remove-backgroud { + background: unset !important; +} + .container-button.mud-elevation-1 { background: unset !important; } @@ -175,8 +179,8 @@ color: var(--mud-palette-dark); } -.container-button .button-settings.blue-icon .mud-icon-root { - border: 1px solid var(--mud-palette-primary); +.container-button .button-settings.primary-icon .mud-icon-root { + border: 1px solid hsl(from var(--mud-palette-primary) h s 95%); background: hsl(from var(--mud-palette-primary-lighten) h s 95%); color: var(--mud-palette-primary-darken); } @@ -199,6 +203,10 @@ font-size: 1rem; } +.container-button.ripple-container{ + overflow: clip; +} + .container-button .button-settings.exit { padding: 0; }