Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

customer - table status field

DanielŻuławskia3fea6abb15d
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.css b/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.css
index 72da22db0..ea51e6000 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.css
@@ -19,10 +19,32 @@
font-size: 16px;
}
+/* status */
+
+table .status.badge {
+ font-size: 16px;
+ padding: 6px 8px;
+}
+table .status.pending {
+ background-color: #d1ecf1;
+}
+table .status.processing {
+ background-color: #fff3cd;
+}
+table .status.complete {
+ background-color: #d4edda;
+}
+table .status.cancelled {
+ background-color: #f8d7da;
+}
+
/* dark customer */
[dark-theme="true"] .block-account-navigation ul li a.active, [dark-theme="true"] .block-account-navigation ul li a:hover {
color: #fff;
border-color: #1fb0c7;
background-color: #2d3133;
+}
+[dark-theme="true"] table .status {
+ color: #212529;
}
\ No newline at end of file
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.rtl.css b/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.rtl.css
index 5894fe81b..86efbee46 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.rtl.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/customer/customer.rtl.css
@@ -19,10 +19,32 @@
font-size: 16px;
}
+/* status */
+
+table .status.badge {
+ font-size: 16px;
+ padding: 6px 8px;
+}
+table .status.pending {
+ background-color: #d1ecf1;
+}
+table .status.processing {
+ background-color: #fff3cd;
+}
+table .status.complete {
+ background-color: #d4edda;
+}
+table .status.cancelled {
+ background-color: #f8d7da;
+}
+
/* dark customer */
[dark-theme="true"] .block-account-navigation ul li a.active, [dark-theme="true"] .block-account-navigation ul li a:hover {
color: #fff;
border-color: #1fb0c7;
background-color: #2d3133;
+}
+[dark-theme="true"] table .status {
+ color: #212529;
}
\ No newline at end of file