From a4e62dc68111e4bf76628546b532df5f905a723d Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 23 May 2023 11:41:34 +0200 Subject: [PATCH] Fix display ordini --- WebDoorCreator.UI/Pages/OrdersHomePage.razor | 68 ++++++++----------- .../Pages/OrdersHomePage.razor.css | 26 ++++--- .../Pages/OrdersHomePage.razor.less | 8 ++- .../Pages/OrdersHomePage.razor.min.css | 2 +- 4 files changed, 53 insertions(+), 51 deletions(-) diff --git a/WebDoorCreator.UI/Pages/OrdersHomePage.razor b/WebDoorCreator.UI/Pages/OrdersHomePage.razor index fd4a5ee..32a2d96 100644 --- a/WebDoorCreator.UI/Pages/OrdersHomePage.razor +++ b/WebDoorCreator.UI/Pages/OrdersHomePage.razor @@ -7,7 +7,7 @@ {
-
+
ORDER LIST
@@ -31,37 +31,31 @@
-
+
ORDER LIST
-
-
Order Date:
-
 
-
@ord2Show.DateIns
+
+
Order Date:
+
@ord2Show.DateIns
-
-
Order Number:
-
 
+
+
Order Number:
@ord2Show.OrderExtCode
-
-
Order Description:
-
 
+
+
Order Description:
@ord2Show.OrderDescript
-
-
Models Number:
-
 
+
+
Models #:
@ord2Show.NumType
-
-
Quantity:
-
 
+
+
Quantity #:
@ord2Show.NumDoors
-
+
TOTAL COST:
-
 
@($"{ord2Show.TotCost:C2}")
@@ -84,37 +78,31 @@ {
-
+
ORDER LIST
-
-
Order Date:
-
 
-
@ord2Show.DateIns
+
+
Order Date:
+
@ord2Show.DateIns
-
-
Order Number:
-
 
+
+
Order Number:
@ord2Show.OrderExtCode
-
-
Order Description:
-
 
+
+
Order Description:
@ord2Show.OrderDescript
-
-
Models Number:
-
 
+
+
Models #:
@ord2Show.NumType
-
-
Quantity:
-
 
+
+
Quantity #:
@ord2Show.NumDoors
-
+
TOTAL COST:
-
 
@($"{ord2Show.TotCost:C2}")
@@ -130,7 +118,7 @@
-
+
DOORS LIST
diff --git a/WebDoorCreator.UI/Pages/OrdersHomePage.razor.css b/WebDoorCreator.UI/Pages/OrdersHomePage.razor.css index 41c84b2..c7eb414 100644 --- a/WebDoorCreator.UI/Pages/OrdersHomePage.razor.css +++ b/WebDoorCreator.UI/Pages/OrdersHomePage.razor.css @@ -1,43 +1,51 @@ .cardOrders { width: 100%; - border-radius: 18px; - padding: 1rem 4rem 0.5rem 4rem; + /*border-radius: 18px;*/ + border-radius: 1.3rem; + padding: 1rem 2.5rem 0.5rem 2.5rem; box-shadow: rgba(0, 0, 0, 0.45) 0px 20px 22px 3px; margin-top: 0.5rem; margin-bottom: 1rem; position: relative; + font-size: 1rem; } .cardOrders01 { width: 100%; - border-radius: 18px; - padding: 1rem 4rem 0.5rem 4rem; + /*border-radius: 18px;*/ + border-radius: 1.3rem; + padding: 1rem 2.5rem 0.5rem 2.5rem; box-shadow: rgba(0, 0, 0, 0.45) 0px 20px 22px 3px; margin-top: 0.5rem; margin-bottom: 1rem; position: relative; + font-size: 1rem; background-color: #FFFFFF; color: #000; z-index: 10; } .cardOrders02 { width: 100%; - border-radius: 18px; - padding: 1rem 4rem 0.5rem 4rem; + /*border-radius: 18px;*/ + border-radius: 1.3rem; + padding: 1rem 2.5rem 0.5rem 2.5rem; box-shadow: rgba(0, 0, 0, 0.45) 0px 20px 22px 3px; margin-top: 0.5rem; margin-bottom: 1rem; position: relative; + font-size: 1rem; background-color: #FFFFFF; z-index: 20; } .cardOrders03 { width: 100%; - border-radius: 18px; - padding: 1rem 4rem 0.5rem 4rem; + /*border-radius: 18px;*/ + border-radius: 1.3rem; + padding: 1rem 2.5rem 0.5rem 2.5rem; box-shadow: rgba(0, 0, 0, 0.45) 0px 20px 22px 3px; margin-top: 0.5rem; margin-bottom: 1rem; position: relative; + font-size: 1rem; background-color: #FFFFFF; z-index: 30; } @@ -48,6 +56,7 @@ color: #FFF; animation-name: shrink01; animation-duration: 0.6s; + font-size: 0.9rem; } .wRed02 { width: 90%; @@ -56,6 +65,7 @@ color: white; animation-name: shrink02; animation-duration: 0.6s; + font-size: 0.8rem; } @keyframes shrink01 { 0% { diff --git a/WebDoorCreator.UI/Pages/OrdersHomePage.razor.less b/WebDoorCreator.UI/Pages/OrdersHomePage.razor.less index 2727c72..b4d037f 100644 --- a/WebDoorCreator.UI/Pages/OrdersHomePage.razor.less +++ b/WebDoorCreator.UI/Pages/OrdersHomePage.razor.less @@ -6,12 +6,14 @@ .cardOrders { width: @w01; - border-radius: 18px; - padding: 1rem 4rem 0.5rem 4rem; + /*border-radius: 18px;*/ + border-radius: 1.3rem; + padding: 1rem 2.5rem 0.5rem 2.5rem; box-shadow: rgba(0, 0, 0, 0.45) 0px 20px 22px 3px; margin-top: 0.5rem; margin-bottom: 1rem; position: relative; + font-size: 1rem; } .cardOrders01 { @@ -41,6 +43,7 @@ color: #FFF; animation-name: shrink01; animation-duration: @animTime; + font-size: 0.9rem; } .wRed02 { @@ -50,6 +53,7 @@ color: white; animation-name: shrink02; animation-duration: @animTime; + font-size: 0.8rem; } @keyframes shrink01 { diff --git a/WebDoorCreator.UI/Pages/OrdersHomePage.razor.min.css b/WebDoorCreator.UI/Pages/OrdersHomePage.razor.min.css index eb5ecbb..2d7f3d5 100644 --- a/WebDoorCreator.UI/Pages/OrdersHomePage.razor.min.css +++ b/WebDoorCreator.UI/Pages/OrdersHomePage.razor.min.css @@ -1 +1 @@ -.cardOrders{width:100%;border-radius:18px;padding:1rem 4rem .5rem 4rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;}.cardOrders01{width:100%;border-radius:18px;padding:1rem 4rem .5rem 4rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;background-color:#fff;color:#000;z-index:10;}.cardOrders02{width:100%;border-radius:18px;padding:1rem 4rem .5rem 4rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;background-color:#fff;z-index:20;}.cardOrders03{width:100%;border-radius:18px;padding:1rem 4rem .5rem 4rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;background-color:#fff;z-index:30;}.wRed01{width:95%;margin-bottom:-1.5rem;background-color:#696969;color:#fff;animation-name:shrink01;animation-duration:.6s;}.wRed02{width:90%;margin-bottom:-1.5rem;background-color:#333;color:#fff;animation-name:shrink02;animation-duration:.6s;}@keyframes shrink01{0%{width:100%;background-color:#fff;color:#000;}80%{width:95%;background-color:#696969;color:#000;}100%{width:95%;color:#fff;}}@keyframes shrink02{0%{width:95%;background-color:#696969;}80%{width:90%;background-color:#333;}100%{width:90%;}} \ No newline at end of file +.cardOrders{width:100%;border-radius:1.3rem;padding:1rem 2.5rem .5rem 2.5rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;font-size:1rem;}.cardOrders01{width:100%;border-radius:1.3rem;padding:1rem 2.5rem .5rem 2.5rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;font-size:1rem;background-color:#fff;color:#000;z-index:10;}.cardOrders02{width:100%;border-radius:1.3rem;padding:1rem 2.5rem .5rem 2.5rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;font-size:1rem;background-color:#fff;z-index:20;}.cardOrders03{width:100%;border-radius:1.3rem;padding:1rem 2.5rem .5rem 2.5rem;box-shadow:rgba(0,0,0,.45) 0 20px 22px 3px;margin-top:.5rem;margin-bottom:1rem;position:relative;font-size:1rem;background-color:#fff;z-index:30;}.wRed01{width:95%;margin-bottom:-1.5rem;background-color:#696969;color:#fff;animation-name:shrink01;animation-duration:.6s;font-size:.9rem;}.wRed02{width:90%;margin-bottom:-1.5rem;background-color:#333;color:#fff;animation-name:shrink02;animation-duration:.6s;font-size:.8rem;}@keyframes shrink01{0%{width:100%;background-color:#fff;color:#000;}80%{width:95%;background-color:#696969;color:#000;}100%{width:95%;color:#fff;}}@keyframes shrink02{0%{width:95%;background-color:#696969;}80%{width:90%;background-color:#333;}100%{width:90%;}} \ No newline at end of file