Skip to content

Commit 4d65cf7

Browse files
committed
added admin css styling
1 parent 3d01ad5 commit 4d65cf7

File tree

7 files changed

+309
-201
lines changed

7 files changed

+309
-201
lines changed

public/css/admin/reports.css

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/* General Reset */
2+
body {
3+
margin: 0;
4+
font-family: Arial, sans-serif;
5+
background-color: #f5f5f5;
6+
}
7+
8+
/* Centering Container */
9+
.promotion-container {
10+
display: flex;
11+
justify-content: center;
12+
align-items: center;
13+
height: 100vh; /* Full viewport height */
14+
background-color: #f5f5f5; /* Light background */
15+
}
16+
17+
/* Promotion Form Styling */
18+
.promotion-form {
19+
background-color: #ffffff; /* White background */
20+
padding: 30px;
21+
border-radius: 8px;
22+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
23+
width: 400px;
24+
}
25+
26+
.promotion-form h2 {
27+
text-align: center;
28+
margin-bottom: 20px;
29+
color: #010336; /* Deep blue */
30+
}
31+
32+
/* Form Group Styling */
33+
.form-group {
34+
margin-bottom: 15px;
35+
}
36+
37+
.form-group label {
38+
display: block;
39+
font-weight: bold;
40+
margin-bottom: 5px;
41+
color: #333333; /* Darker text */
42+
}
43+
44+
.form-group input,
45+
.form-group select {
46+
width: 100%;
47+
padding: 10px;
48+
border: 1px solid #cccccc;
49+
border-radius: 5px;
50+
box-sizing: border-box;
51+
font-size: 16px;
52+
}
53+
54+
.form-group input:focus,
55+
.form-group select:focus {
56+
border-color: #010336; /* Highlighted border */
57+
outline: none;
58+
box-shadow: 0 0 5px rgba(1, 3, 54, 0.2);
59+
}
60+
61+
/* Button Styling */
62+
button {
63+
width: 100%;
64+
padding: 12px;
65+
background-color: #010336; /* Deep blue */
66+
color: #ffffff; /* White text */
67+
border: none;
68+
border-radius: 5px;
69+
font-size: 16px;
70+
cursor: pointer;
71+
font-weight: bold;
72+
}
73+
74+
button:hover {
75+
background-color: #002080; /* Slightly lighter blue */
76+
transition: background-color 0.3s;
77+
}

public/js/admin/chart.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const chartData = {
2-
labels: ["Customers", "Technician", "Service Centre", ],
3-
data: [30, 17, 10],
2+
labels: ["Five star reviews", "Four star reviews", "Three star reviews", "Two star reviews","One star reviews"],
3+
data: [30, 17, 10,22,42],
44
};
55

66
const myChart = document.querySelector(".my-chart");

0 commit comments

Comments
 (0)