diff --git a/src/app/custom-selector/custom-selector.component.scss b/src/app/custom-selector/custom-selector.component.scss index 803a7d5..0839a23 100644 --- a/src/app/custom-selector/custom-selector.component.scss +++ b/src/app/custom-selector/custom-selector.component.scss @@ -26,6 +26,12 @@ font-size: 20px; border: 1px solid var(--brand-blue); background-color: white; + transition: background-color 0.3s, color 0.3s; + + &:hover { + background-color: var(--brand-blue); + color: white; + } } } diff --git a/src/app/dashboard/dashboard.component.html b/src/app/dashboard/dashboard.component.html index 54530ca..bdbe082 100644 --- a/src/app/dashboard/dashboard.component.html +++ b/src/app/dashboard/dashboard.component.html @@ -82,8 +82,8 @@
- - + +
@@ -110,8 +110,8 @@
- - + +
@@ -138,8 +138,8 @@
- - + +
@@ -167,8 +167,8 @@
- - + +
diff --git a/src/app/dashboard/dashboard.component.scss b/src/app/dashboard/dashboard.component.scss index 953cd42..4bca543 100644 --- a/src/app/dashboard/dashboard.component.scss +++ b/src/app/dashboard/dashboard.component.scss @@ -152,15 +152,6 @@ width: 100%; button { - padding: 0 20px; - border-radius: 20px; - background-color: #cecece; - color: white; - font-size: 13px; - letter-spacing: 1px; - height: 25px; - border: 0px; - &:first-child { background-color: var(--brand-blue); margin-right: 10px; diff --git a/src/app/orders/orders.component.html b/src/app/orders/orders.component.html index 75d083c..5169832 100644 --- a/src/app/orders/orders.component.html +++ b/src/app/orders/orders.component.html @@ -1,5 +1,5 @@
-
Dashboard
+
Order List
@@ -11,3 +11,77 @@
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Order ID Order Time Items Quantity Amount Payment Status
545455 2 Min Ago +
8PC Hot & Crispy
+
KFC 4 + 4
+
1
4
₹ 750
₹ 250
Paid Online +
+ + +
+
545455 10 Min Ago +
KFC 4 + 4
+
1
₹ 750
Paid Online +
Completed
+
545455 0 Min Ago +
KFC 4 + 4
+
1
₹ 750
Paid Online +
Cancelled
+
545455 1 Min Ago +
KFC Bucket
+
1
₹ 250
COD +
+ + +
+
diff --git a/src/app/orders/orders.component.scss b/src/app/orders/orders.component.scss index 09489a1..04bfa60 100644 --- a/src/app/orders/orders.component.scss +++ b/src/app/orders/orders.component.scss @@ -1,6 +1,17 @@ +.widget-heading-holder { + header { + margin-right: 10%; + } + + app-custom-selector { + margin: 0 10px; + } +} + .search-input { display: flex; - width: 300px; + flex-grow: 1; + height: 30px; border-radius: 20px; background-color: white; color: var(--brand-blue); @@ -28,5 +39,78 @@ font-size: 20px; border: 1px solid var(--brand-blue); background-color: white; + transition: background-color 0.3s, color 0.3s; + + &:hover { + background-color: var(--brand-blue); + color: white; + } + } +} + + +table { + width: 90%; + margin: 30px auto; + text-align: left; + + th { + color: var(--grey); + font-size: 14px; + font-weight: 500; + padding: 10px 0; + letter-spacing: 0.5px; + } + + td { + border-top: 1px solid rgba(#cecece, 0.5); + padding: 10px 0; + color: var(--dark-grey); + font-size: 14px; + font-weight: 500; + letter-spacing: 1px; + line-height: 2; + vertical-align: top; + width: calc(100% / 6); + + &:nth-child(4) { + padding-left: 20px; + } + } + + tr { + &.cancelled { + td { + text-decoration: line-through; + text-decoration-color: var(--dark-grey); + + &:last-child { + text-decoration: none; + } + } + } + } + + .status { + + &.success { + color: green; + } + + &.failed { + color: red; + } + } + + .action-buttons { + display: flex; + width: 100%; + + button { + &:first-child { + background-color: var(--brand-blue); + margin-right: 10px; + } + } } } diff --git a/src/styles.scss b/src/styles.scss index 8f80343..6d076e9 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -38,6 +38,17 @@ button { letter-spacing: 0.5px; } +.round-button { + padding: 0 20px; + border-radius: 20px; + background-color: #cecece; + color: white; + font-size: 13px; + letter-spacing: 1px; + height: 25px; + border: 0px; +} + .widget-heading-holder { width: 90%;