Spaces:
Build error
Build error
Update style.css
Browse files
style.css
CHANGED
@@ -1,291 +1,157 @@
|
|
1 |
:root {
|
2 |
-
--primary-color: #
|
3 |
-
--secondary-color: #
|
4 |
-
--
|
5 |
-
--
|
6 |
-
--dark-color: #
|
7 |
-
--
|
8 |
-
--
|
|
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
font-family: 'Nunito', sans-serif;
|
13 |
-
background-color: #f8f9fc;
|
14 |
margin: 0;
|
15 |
padding: 0;
|
16 |
-
|
17 |
}
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
22 |
}
|
23 |
|
24 |
-
.
|
25 |
-
width:
|
26 |
-
|
27 |
-
|
28 |
-
padding: 20px 0;
|
29 |
-
position: fixed;
|
30 |
-
height: 100%;
|
31 |
-
z-index: 1;
|
32 |
}
|
33 |
|
34 |
-
|
35 |
-
padding: 0 20px 20px;
|
36 |
display: flex;
|
|
|
37 |
align-items: center;
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
.logo i {
|
43 |
-
margin-right: 10px;
|
44 |
-
font-size: 1.5rem;
|
45 |
-
}
|
46 |
-
|
47 |
-
.menu {
|
48 |
-
list-style: none;
|
49 |
-
padding: 0;
|
50 |
-
margin: 0;
|
51 |
-
}
|
52 |
-
|
53 |
-
.menu li {
|
54 |
-
padding: 12px 20px;
|
55 |
-
transition: all 0.3s;
|
56 |
-
}
|
57 |
-
|
58 |
-
.menu li:hover {
|
59 |
-
background-color: rgba(255, 255, 255, 0.1);
|
60 |
-
}
|
61 |
-
|
62 |
-
.menu li.active {
|
63 |
-
background-color: rgba(255, 255, 255, 0.2);
|
64 |
}
|
65 |
|
66 |
-
|
67 |
-
color:
|
68 |
-
|
69 |
-
|
70 |
-
align-items: center;
|
71 |
}
|
72 |
|
73 |
-
|
74 |
margin-right: 10px;
|
75 |
-
width: 20px;
|
76 |
-
text-align: center;
|
77 |
}
|
78 |
|
79 |
-
.
|
80 |
-
|
81 |
-
|
82 |
-
padding: 20px 30px;
|
83 |
}
|
84 |
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
display: flex;
|
87 |
-
justify-content: space-between;
|
88 |
align-items: center;
|
89 |
-
|
90 |
}
|
91 |
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
color: var(--dark-color);
|
96 |
-
margin: 0;
|
97 |
}
|
98 |
|
99 |
-
.
|
100 |
-
|
101 |
-
align-items: center;
|
102 |
-
gap: 15px;
|
103 |
}
|
104 |
|
105 |
-
.
|
106 |
-
|
107 |
-
align-items: center;
|
108 |
-
gap: 10px;
|
109 |
-
background-color: white;
|
110 |
-
padding: 8px 15px;
|
111 |
-
border-radius: 50px;
|
112 |
-
box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
|
113 |
-
}
|
114 |
-
|
115 |
-
.user-profile img {
|
116 |
-
border-radius: 50%;
|
117 |
}
|
118 |
|
119 |
-
.stats-
|
120 |
display: grid;
|
121 |
-
grid-template-columns: repeat(auto-fit, minmax(
|
122 |
gap: 20px;
|
123 |
margin-bottom: 30px;
|
124 |
}
|
125 |
|
126 |
.stat-card {
|
|
|
127 |
border-radius: 10px;
|
128 |
-
|
129 |
-
box-shadow: 0
|
130 |
-
|
131 |
-
}
|
132 |
-
|
133 |
-
.stat-card:hover {
|
134 |
-
transform: translateY(-5px);
|
135 |
-
}
|
136 |
-
|
137 |
-
.stat-card:nth-child(2) {
|
138 |
-
border-left-color: var(--secondary-color);
|
139 |
-
}
|
140 |
-
|
141 |
-
.stat-card:nth-child(3) {
|
142 |
-
border-left-color: var(--warning-color);
|
143 |
}
|
144 |
|
145 |
.stat-value {
|
146 |
-
font-size:
|
147 |
font-weight: 700;
|
148 |
-
|
|
|
149 |
}
|
150 |
|
151 |
-
.stat-
|
152 |
-
font-size:
|
153 |
-
color:
|
154 |
-
margin: 0;
|
155 |
-
}
|
156 |
-
|
157 |
-
.stat-change i {
|
158 |
-
margin-right: 5px;
|
159 |
}
|
160 |
|
161 |
-
.
|
162 |
-
background
|
163 |
border-radius: 10px;
|
164 |
-
|
165 |
-
|
166 |
-
}
|
167 |
-
|
168 |
-
.table-header {
|
169 |
-
display: flex;
|
170 |
-
justify-content: space-between;
|
171 |
-
align-items: center;
|
172 |
-
margin-bottom: 20px;
|
173 |
-
}
|
174 |
-
|
175 |
-
.table-header h3 {
|
176 |
-
font-weight: 700;
|
177 |
-
color: var(--dark-color);
|
178 |
-
margin: 0;
|
179 |
-
}
|
180 |
-
|
181 |
-
.table-actions {
|
182 |
-
display: flex;
|
183 |
-
align-items: center;
|
184 |
-
gap: 15px;
|
185 |
-
}
|
186 |
-
|
187 |
-
.search-box {
|
188 |
-
position: relative;
|
189 |
-
}
|
190 |
-
|
191 |
-
.search-box input {
|
192 |
-
padding: 8px 15px 8px 35px;
|
193 |
-
border-radius: 50px;
|
194 |
-
border: 1px solid #ddd;
|
195 |
-
outline: none;
|
196 |
-
transition: all 0.3s;
|
197 |
-
}
|
198 |
-
|
199 |
-
.search-box input:focus {
|
200 |
-
border-color: var(--primary-color);
|
201 |
-
box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
|
202 |
-
}
|
203 |
-
|
204 |
-
.search-box i {
|
205 |
-
position: absolute;
|
206 |
-
left: 12px;
|
207 |
-
top: 50%;
|
208 |
-
transform: translateY(-50%);
|
209 |
-
color: #aaa;
|
210 |
-
}
|
211 |
-
|
212 |
-
.refresh-btn {
|
213 |
-
background-color: var(--light-color);
|
214 |
-
color: var(--dark-color);
|
215 |
-
border: none;
|
216 |
-
padding: 8px 15px;
|
217 |
-
border-radius: 50px;
|
218 |
-
display: flex;
|
219 |
-
align-items: center;
|
220 |
-
gap: 5px;
|
221 |
}
|
222 |
|
223 |
-
|
224 |
-
|
|
|
225 |
}
|
226 |
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
border-
|
231 |
}
|
232 |
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
height: 30px;
|
240 |
-
display: inline-flex;
|
241 |
-
align-items: center;
|
242 |
-
justify-content: center;
|
243 |
-
padding: 0;
|
244 |
-
}
|
245 |
-
|
246 |
-
.ticket-details {
|
247 |
-
display: grid;
|
248 |
-
grid-template-columns: 1fr;
|
249 |
-
gap: 15px;
|
250 |
-
}
|
251 |
-
|
252 |
-
.detail-row {
|
253 |
-
display: flex;
|
254 |
-
justify-content: space-between;
|
255 |
-
padding: 8px 0;
|
256 |
-
border-bottom: 1px solid #eee;
|
257 |
}
|
258 |
|
259 |
-
|
260 |
-
|
261 |
-
color: var(--dark-color);
|
262 |
}
|
263 |
|
264 |
-
|
265 |
-
color: #
|
266 |
}
|
267 |
|
268 |
@media (max-width: 768px) {
|
269 |
-
|
270 |
-
width: 70px;
|
271 |
-
overflow: hidden;
|
272 |
-
}
|
273 |
-
.sidebar .logo span, .menu li a span {
|
274 |
-
display: none;
|
275 |
-
}
|
276 |
-
.menu li a i {
|
277 |
-
margin-right: 0;
|
278 |
-
font-size: 1.2rem;
|
279 |
-
}
|
280 |
-
.main-content {
|
281 |
-
margin-left: 70px;
|
282 |
-
}
|
283 |
-
.stats-cards {
|
284 |
-
grid-template-columns: 1fr;
|
285 |
-
}
|
286 |
-
.table-header {
|
287 |
flex-direction: column;
|
288 |
align-items: flex-start;
|
289 |
gap: 15px;
|
290 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
}
|
|
|
1 |
:root {
|
2 |
+
--primary-color: #4361ee;
|
3 |
+
--secondary-color: #3a0ca3;
|
4 |
+
--accent-color: #4cc9f0;
|
5 |
+
--light-color: #f8f9fa;
|
6 |
+
--dark-color: #212529;
|
7 |
+
--success-color: #2ecc71;
|
8 |
+
--danger-color: #e74c3c;
|
9 |
+
--warning-color: #f39c12;
|
10 |
}
|
11 |
|
12 |
+
* {
|
|
|
|
|
13 |
margin: 0;
|
14 |
padding: 0;
|
15 |
+
box-sizing: border-box;
|
16 |
}
|
17 |
|
18 |
+
body {
|
19 |
+
font-family: 'Poppins', sans-serif;
|
20 |
+
background-color: #f5f7fa;
|
21 |
+
color: var(--dark-color);
|
22 |
+
line-height: 1.6;
|
23 |
}
|
24 |
|
25 |
+
.container {
|
26 |
+
max-width: 1200px;
|
27 |
+
margin: 0 auto;
|
28 |
+
padding: 20px;
|
|
|
|
|
|
|
|
|
29 |
}
|
30 |
|
31 |
+
header {
|
|
|
32 |
display: flex;
|
33 |
+
justify-content: space-between;
|
34 |
align-items: center;
|
35 |
+
margin-bottom: 30px;
|
36 |
+
padding-bottom: 15px;
|
37 |
+
border-bottom: 1px solid #e0e0e0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|
39 |
|
40 |
+
header h1 {
|
41 |
+
color: var(--primary-color);
|
42 |
+
font-size: 28px;
|
43 |
+
font-weight: 600;
|
|
|
44 |
}
|
45 |
|
46 |
+
header h1 i {
|
47 |
margin-right: 10px;
|
|
|
|
|
48 |
}
|
49 |
|
50 |
+
.actions {
|
51 |
+
display: flex;
|
52 |
+
gap: 10px;
|
|
|
53 |
}
|
54 |
|
55 |
+
.btn {
|
56 |
+
padding: 8px 15px;
|
57 |
+
border: none;
|
58 |
+
border-radius: 5px;
|
59 |
+
cursor: pointer;
|
60 |
+
font-size: 14px;
|
61 |
+
font-weight: 500;
|
62 |
+
transition: all 0.3s ease;
|
63 |
display: flex;
|
|
|
64 |
align-items: center;
|
65 |
+
gap: 5px;
|
66 |
}
|
67 |
|
68 |
+
.btn-primary {
|
69 |
+
background-color: var(--primary-color);
|
70 |
+
color: white;
|
|
|
|
|
71 |
}
|
72 |
|
73 |
+
.btn-primary:hover {
|
74 |
+
background-color: var(--secondary-color);
|
|
|
|
|
75 |
}
|
76 |
|
77 |
+
.btn i {
|
78 |
+
font-size: 14px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
|
81 |
+
.stats-container {
|
82 |
display: grid;
|
83 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
84 |
gap: 20px;
|
85 |
margin-bottom: 30px;
|
86 |
}
|
87 |
|
88 |
.stat-card {
|
89 |
+
background: white;
|
90 |
border-radius: 10px;
|
91 |
+
padding: 20px;
|
92 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
93 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
95 |
|
96 |
.stat-value {
|
97 |
+
font-size: 32px;
|
98 |
font-weight: 700;
|
99 |
+
color: var(--primary-color);
|
100 |
+
margin-bottom: 5px;
|
101 |
}
|
102 |
|
103 |
+
.stat-label {
|
104 |
+
font-size: 14px;
|
105 |
+
color: #666;
|
|
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
|
108 |
+
.table-container {
|
109 |
+
background: white;
|
110 |
border-radius: 10px;
|
111 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
112 |
+
overflow-x: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
114 |
|
115 |
+
table {
|
116 |
+
width: 100%;
|
117 |
+
border-collapse: collapse;
|
118 |
}
|
119 |
|
120 |
+
th, td {
|
121 |
+
padding: 12px 15px;
|
122 |
+
text-align: left;
|
123 |
+
border-bottom: 1px solid #e0e0e0;
|
124 |
}
|
125 |
|
126 |
+
th {
|
127 |
+
background-color: var(--primary-color);
|
128 |
+
color: white;
|
129 |
+
font-weight: 500;
|
130 |
+
position: sticky;
|
131 |
+
top: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
}
|
133 |
|
134 |
+
tr:nth-child(even) {
|
135 |
+
background-color: #f9f9f9;
|
|
|
136 |
}
|
137 |
|
138 |
+
tr:hover {
|
139 |
+
background-color: #f1f1f1;
|
140 |
}
|
141 |
|
142 |
@media (max-width: 768px) {
|
143 |
+
header {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
flex-direction: column;
|
145 |
align-items: flex-start;
|
146 |
gap: 15px;
|
147 |
}
|
148 |
+
|
149 |
+
.actions {
|
150 |
+
width: 100%;
|
151 |
+
justify-content: flex-end;
|
152 |
+
}
|
153 |
+
|
154 |
+
th, td {
|
155 |
+
padding: 8px 10px;
|
156 |
+
}
|
157 |
}
|