-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDashboard.css
431 lines (383 loc) · 7.84 KB
/
Dashboard.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
display: flex;
background-color: #f5f5f5;
}
.container {
display: flex;
width: 100vw;
}
/* Sidebar */
.sidebar {
background-color: #ffffff;
padding: 9px 20px 15px 12px;
width: 83px;
height: 100%;
display: flex;
justify-content: center;
margin-left: 7px;
box-shadow: inset -5px 0px 10px rgba(0, 0, 0, 0.2);
position: relative;
}
.icon-menu {
list-style-type: none;
display: flex;
flex-direction: column;
align-items: center;
}
.icon-menu img{
width: 80px;
height: 80px;
margin: 23px 0px 0px 5px;
}
.icon-menu li {
margin: 20px 0;
margin: 20px 0px 0px 0px;
}
#logo{
margin-bottom: 0px;
}
.icon-menu li a {
color: #aaa;
font-size: 24px;
text-decoration: none;
padding: 10px;
display: block;
border-radius: 50%;
}
/* Icon hover and active state */
.icon-menu li a:hover, .icon-menu li a.active {
background-color: #ff7b1a;
color: white;
box-shadow: 0 0 10px rgba(255, 123, 26, 0.7); /* Orange glow effect */
}
.icon-menu li a:hover i, .icon-menu li a.active i {
box-shadow: 0 0 15px rgba(255, 123, 26, 0.8); /* Icon glow */
}
#logout{
position: absolute;
bottom: 20px;
}
/* Main Content */
.content {
flex-grow: 1;
padding: 20px;
background-color: #f7f7f7;
height: 115vh;
}
/* Header styling */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}
/* Navbar right section */
.navbar-right {
position: absolute;
right: 36px;
top: 12%;
transform: translateY(-50%);
display: flex;
align-items: center;
gap: 25px; /* Space between icons */
}
/* Style for icons */
.navbar-right i {
font-size: 20px;
color: #5a5a5a;
cursor: pointer;
}
/* Style for profile image */
.navbar-right .profile-img {
width: 35px;
height: 35px;
border-radius: 50%;
cursor: pointer;
object-fit: cover;
}
.welcome-text {
display: flex;
flex-direction: column;
}
.welcome-text p {
font-size: 14px;
color: #888;
margin-bottom: 4px;
}
.welcome-text h1 {
font-size: 28px;
font-weight: 700;
color: #1f1f1f;
display: flex;
align-items: center;
}
.welcome-text .emoji {
margin-left: 10px;
font-size: 28px;
}
.header input {
padding: 10px;
font-size: 16px;
border: 1px solid #ddd;
border-radius: 8px;
}
.cards {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
width: 70%;
}
.card {
background: linear-gradient(135deg, #00c1d4, #3ed8ff);
padding: 20px;
width: 30%;
text-align: center;
color: white;
border-radius: 8px;
}
.card:nth-child(2) {
background: linear-gradient(135deg, #ff7b1a, #ffcc70);
}
.card:nth-child(3) {
background: linear-gradient(135deg, #b388ff, #d0abff);
}
.card p{
margin-top: 10px;
font-size: 21px;
}
/* Carousel container */
.carousel-container {
position: relative;
max-width: 70%; /* Takes 70% of the screen width */
margin-bottom: 30px;
overflow: hidden;
border-radius: 10px;
}
/* Each slide */
.carousel-slide {
display: flex;
transition: transform 0.5s ease-in-out;
}
.carousel-item {
min-width: 100%;
height: 160px; /* Adjust height based on your design */
}
.carousel-item img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}
/* Navigation buttons */
.prev, .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(0, 0, 0, 0.5);
color: white;
font-size: 18px;
padding: 10px;
cursor: pointer;
border-radius: 50%;
}
.prev {
left: 10px;
}
.next {
right: 10px;
}
/* Dots at the bottom */
.dots-container {
text-align: center;
position: absolute;
bottom: 10px;
width: 100%;
}
.dot {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 5px;
background-color: #bbb;
border-radius: 50%;
cursor: pointer;
}
.dot.active {
background-color: #ff7b1a; /* Active dot color */
}
.chart-container {
width: 80%;
max-width: 66%;
padding: 20px;
background-color: #f9f9f9;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
canvas {
display: block;
width: 100%;
height: auto;
}
.charthead{
font-size: 15px;
font-weight: 700;
margin-bottom: 10px;
}
/* Style for the progress card container */
.progress-card {
background-color: #f9f9f9;
padding: 20px;
border-radius: 10px;
width: 250px;
height: 306px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Title for the card */
.progress-card h3 {
font-size: 18px;
margin-bottom: 15px;
color: #2c2c2c;
}
/* Container for the circular progress */
.progress-circle {
position: relative;
display: inline-block;
width: 100px;
height: 100px;
margin-bottom: 15px;
}
/* Circular progress bar */
.progress-bar {
position: relative;
width: 100px;
height: 100px;
border-radius: 50%;
background: conic-gradient(#ff7b1a 0% 80%, #e0e0e0 80%); /* Orange color for the progress and light grey for remaining */
}
/* Progress percentage in the center */
.progress-percentage {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 18px;
font-weight: bold;
color: #2c2c2c;
}
/* Description below the progress circle */
.progress-description {
font-size: 14px;
color: #7f8c8d;
}
/* Highlighted percentage text */
.highlight {
color: #ff7b1a;
font-weight: bold;
}
.chartsprogress-container{
display: flex;
align-items: center;
justify-content: space-around;
width: 70%;
}
/* Container for the schedule cards */
.schedule-container {
width: 320px;
padding: 10px;
font-family: Arial, sans-serif;
background-color: #eceef3;
border-radius: 10px;
position: relative;
right: -73%;
top: -86.5%;
}
/* Header with title and view all link */
.schedule-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.schedule-header h3 {
font-size: 18px;
color: #2c2c2c;
}
.schedule-header a {
font-size: 14px;
color: #ff7b1a;
text-decoration: none;
font-weight: bold;
}
/* Card for each day */
.schedule-card {
background-color: #fff;
padding: 15px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 15px;
transition: transform 0.3s ease;
}
.schedule-card:hover {
transform: translateY(-5px);
}
/* Day text (e.g. Monday, Tuesday) */
.schedule-card .day {
font-weight: bold;
font-size: 16px;
color: #2c2c2c;
margin-bottom: 10px;
}
/* Details section (exercise and time) */
.schedule-card .details {
display: flex;
justify-content: space-between;
color: #7f8c8d;
margin-bottom: 10px;
}
.schedule-card .details span {
font-size: 14px;
}
/* Progress indicator (e.g. 20 Pieces, 10 Rounds) */
.schedule-card .progress {
display: inline-block;
background-color: #fff3ec;
padding: 5px 10px;
border-radius: 20px;
font-size: 12px;
color: #ff7b1a;
font-weight: bold;
text-align: center;
}
.communitycontainer{
height: 180px;
width: 310px;
background-color: white;
position: relative;
top: -83%;
left: 73%;
border-radius: 12px;
box-shadow: 0 4px 8px #ff6219;
display: flex;
flex-direction: column;
justify-content: center;
padding: 45px;
}
.communitycard{
font-size: 30px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: 600;
color: #ff6219;
}