From 7bd74136e791354d2af4c046cea8716f590614e0 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sun, 30 Nov 2025 13:42:17 +0100 Subject: [PATCH] Added link sharing warning for when order is closed --- Views/Order/Details.cshtml | 2 +- wwwroot/css/site.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Views/Order/Details.cshtml b/Views/Order/Details.cshtml index 524141b..1bfde08 100644 --- a/Views/Order/Details.cshtml +++ b/Views/Order/Details.cshtml @@ -132,7 +132,7 @@
-
+
@Localizer.Get("ShareOrder")

@Localizer.Get("SendLinkToOthers")

diff --git a/wwwroot/css/site.css b/wwwroot/css/site.css index 819f612..afc7a4e 100644 --- a/wwwroot/css/site.css +++ b/wwwroot/css/site.css @@ -28,4 +28,18 @@ body { .form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder { text-align: start; +} + + +.card-body.disabled::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: repeating-linear-gradient(-45deg, transparent, transparent 15px, #ffc107 10px, #ffc107 30px); + z-index: 1000; + pointer-events: none; + opacity: 0.5; } \ No newline at end of file