Spaces:
Running
Running
Update index.html
Browse files- index.html +743 -1064
index.html
CHANGED
|
@@ -17,794 +17,586 @@
|
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
|
| 23 |
-
<title>
|
| 24 |
|
| 25 |
-
<link rel="canonical" href="https://codepen.io/
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
<style>
|
| 31 |
-
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');
|
| 32 |
-
|
| 33 |
-
* {
|
| 34 |
-
margin: 0;
|
| 35 |
-
padding: 0;
|
| 36 |
-
box-sizing: border-box;
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
a {
|
| 40 |
-
text-decoration: none;
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
li {
|
| 44 |
-
list-style: none;
|
| 45 |
-
}
|
| 46 |
-
|
| 47 |
:root {
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
--light-blue: #CFE8FF;
|
| 54 |
-
--grey: #eee;
|
| 55 |
-
--dark-grey: #AAAAAA;
|
| 56 |
-
--dark: #342E37;
|
| 57 |
-
--red: #DB504A;
|
| 58 |
-
--yellow: #FFCE26;
|
| 59 |
-
--light-yellow: #FFF2C6;
|
| 60 |
-
--orange: #FD7238;
|
| 61 |
-
--light-orange: #FFE0D3;
|
| 62 |
-
}
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
| 66 |
}
|
| 67 |
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
--grey: #060714;
|
| 71 |
-
--dark: #FBFBFB;
|
| 72 |
}
|
| 73 |
|
| 74 |
body {
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
display: none;
|
| 99 |
-
}
|
| 100 |
-
#sidebar.hide {
|
| 101 |
-
width: 60px;
|
| 102 |
-
}
|
| 103 |
-
#sidebar .brand {
|
| 104 |
-
font-size: 24px;
|
| 105 |
-
font-weight: 700;
|
| 106 |
-
height: 56px;
|
| 107 |
-
display: flex;
|
| 108 |
-
align-items: center;
|
| 109 |
-
color: var(--blue);
|
| 110 |
-
position: sticky;
|
| 111 |
-
top: 0;
|
| 112 |
-
left: 0;
|
| 113 |
-
background: var(--light);
|
| 114 |
-
z-index: 500;
|
| 115 |
-
padding-bottom: 20px;
|
| 116 |
-
box-sizing: content-box;
|
| 117 |
-
}
|
| 118 |
-
#sidebar .brand .bx {
|
| 119 |
-
min-width: 60px;
|
| 120 |
-
display: flex;
|
| 121 |
-
justify-content: center;
|
| 122 |
-
}
|
| 123 |
-
#sidebar .side-menu {
|
| 124 |
-
width: 100%;
|
| 125 |
-
margin-top: 48px;
|
| 126 |
-
}
|
| 127 |
-
#sidebar .side-menu li {
|
| 128 |
-
height: 48px;
|
| 129 |
-
background: transparent;
|
| 130 |
-
margin-left: 6px;
|
| 131 |
-
border-radius: 48px 0 0 48px;
|
| 132 |
-
padding: 4px;
|
| 133 |
-
}
|
| 134 |
-
#sidebar .side-menu li.active {
|
| 135 |
-
background: var(--grey);
|
| 136 |
-
position: relative;
|
| 137 |
-
}
|
| 138 |
-
#sidebar .side-menu li.active::before {
|
| 139 |
-
content: '';
|
| 140 |
-
position: absolute;
|
| 141 |
-
width: 40px;
|
| 142 |
-
height: 40px;
|
| 143 |
-
border-radius: 50%;
|
| 144 |
-
top: -40px;
|
| 145 |
-
right: 0;
|
| 146 |
-
box-shadow: 20px 20px 0 var(--grey);
|
| 147 |
-
z-index: -1;
|
| 148 |
-
}
|
| 149 |
-
#sidebar .side-menu li.active::after {
|
| 150 |
-
content: '';
|
| 151 |
-
position: absolute;
|
| 152 |
-
width: 40px;
|
| 153 |
-
height: 40px;
|
| 154 |
-
border-radius: 50%;
|
| 155 |
-
bottom: -40px;
|
| 156 |
-
right: 0;
|
| 157 |
-
box-shadow: 20px -20px 0 var(--grey);
|
| 158 |
-
z-index: -1;
|
| 159 |
-
}
|
| 160 |
-
#sidebar .side-menu li a {
|
| 161 |
-
width: 100%;
|
| 162 |
-
height: 100%;
|
| 163 |
-
background: var(--light);
|
| 164 |
-
display: flex;
|
| 165 |
-
align-items: center;
|
| 166 |
-
border-radius: 48px;
|
| 167 |
-
font-size: 16px;
|
| 168 |
-
color: var(--dark);
|
| 169 |
-
white-space: nowrap;
|
| 170 |
-
overflow-x: hidden;
|
| 171 |
-
}
|
| 172 |
-
#sidebar .side-menu.top li.active a {
|
| 173 |
-
color: var(--blue);
|
| 174 |
-
}
|
| 175 |
-
#sidebar.hide .side-menu li a {
|
| 176 |
-
width: calc(48px - (4px * 2));
|
| 177 |
-
transition: width .3s ease;
|
| 178 |
-
}
|
| 179 |
-
#sidebar .side-menu li a.logout {
|
| 180 |
-
color: var(--red);
|
| 181 |
-
}
|
| 182 |
-
#sidebar .side-menu.top li a:hover {
|
| 183 |
-
color: var(--blue);
|
| 184 |
-
}
|
| 185 |
-
#sidebar .side-menu li a .bx {
|
| 186 |
-
min-width: calc(60px - ((4px + 6px) * 2));
|
| 187 |
-
display: flex;
|
| 188 |
-
justify-content: center;
|
| 189 |
-
}
|
| 190 |
-
|
| 191 |
-
#sidebar .side-menu.bottom li:nth-last-of-type(-n+2) { /* Son iki <li>'yi seç */
|
| 192 |
-
position: absolute; /* Ebeveynine göre konumlandır */
|
| 193 |
-
bottom: 0; /* En alt */
|
| 194 |
-
left: 0;
|
| 195 |
-
right: 0;
|
| 196 |
-
text-align: center;
|
| 197 |
-
}
|
| 198 |
-
|
| 199 |
-
/* Birbirinin üzerine binmesini engellemek için */
|
| 200 |
-
#sidebar .side-menu.bottom li:nth-last-of-type(2) {
|
| 201 |
-
bottom: 40px; /* İkinci son öğeyi yukarı kaydır */
|
| 202 |
-
}
|
| 203 |
-
/* SIDEBAR */
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
/* CONTENT */
|
| 210 |
-
#content {
|
| 211 |
-
position: relative;
|
| 212 |
-
width: calc(100% - 220px);
|
| 213 |
-
left: 220px;
|
| 214 |
-
transition: .3s ease;
|
| 215 |
-
}
|
| 216 |
-
#sidebar.hide ~ #content {
|
| 217 |
-
width: calc(100% - 60px);
|
| 218 |
-
left: 60px;
|
| 219 |
-
}
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
/* NAVBAR */
|
| 225 |
-
#content nav {
|
| 226 |
-
height: 56px;
|
| 227 |
-
background: var(--light);
|
| 228 |
-
padding: 0 24px;
|
| 229 |
-
display: flex;
|
| 230 |
-
align-items: center;
|
| 231 |
-
grid-gap: 24px;
|
| 232 |
-
font-family: var(--lato);
|
| 233 |
-
position: sticky;
|
| 234 |
-
top: 0;
|
| 235 |
-
left: 0;
|
| 236 |
-
z-index: 1000;
|
| 237 |
-
}
|
| 238 |
-
#content nav::before {
|
| 239 |
-
content: '';
|
| 240 |
-
position: absolute;
|
| 241 |
-
width: 40px;
|
| 242 |
-
height: 40px;
|
| 243 |
-
bottom: -40px;
|
| 244 |
-
left: 0;
|
| 245 |
-
border-radius: 50%;
|
| 246 |
-
box-shadow: -20px -20px 0 var(--light);
|
| 247 |
-
}
|
| 248 |
-
#content nav a {
|
| 249 |
-
color: var(--dark);
|
| 250 |
-
}
|
| 251 |
-
#content nav .bx.bx-menu {
|
| 252 |
-
cursor: pointer;
|
| 253 |
-
color: var(--dark);
|
| 254 |
-
}
|
| 255 |
-
#content nav .nav-link {
|
| 256 |
-
font-size: 16px;
|
| 257 |
-
transition: .3s ease;
|
| 258 |
-
}
|
| 259 |
-
#content nav .nav-link:hover {
|
| 260 |
-
color: var(--blue);
|
| 261 |
-
}
|
| 262 |
-
#content nav form {
|
| 263 |
-
max-width: 400px;
|
| 264 |
-
width: 100%;
|
| 265 |
-
margin-right: auto;
|
| 266 |
-
}
|
| 267 |
-
#content nav form .form-input {
|
| 268 |
-
display: flex;
|
| 269 |
-
align-items: center;
|
| 270 |
-
height: 36px;
|
| 271 |
-
}
|
| 272 |
-
#content nav form .form-input input {
|
| 273 |
-
flex-grow: 1;
|
| 274 |
-
padding: 0 16px;
|
| 275 |
-
height: 100%;
|
| 276 |
-
border: none;
|
| 277 |
-
background: var(--grey);
|
| 278 |
-
border-radius: 36px 0 0 36px;
|
| 279 |
-
outline: none;
|
| 280 |
-
width: 100%;
|
| 281 |
-
color: var(--dark);
|
| 282 |
-
}
|
| 283 |
-
#content nav form .form-input button {
|
| 284 |
-
width: 36px;
|
| 285 |
-
height: 100%;
|
| 286 |
-
display: flex;
|
| 287 |
-
justify-content: center;
|
| 288 |
-
align-items: center;
|
| 289 |
-
background: var(--blue);
|
| 290 |
-
color: var(--light);
|
| 291 |
-
font-size: 18px;
|
| 292 |
-
border: none;
|
| 293 |
-
outline: none;
|
| 294 |
-
border-radius: 0 36px 36px 0;
|
| 295 |
-
cursor: pointer;
|
| 296 |
-
}
|
| 297 |
-
#content nav .notification {
|
| 298 |
-
font-size: 20px;
|
| 299 |
-
position: relative;
|
| 300 |
-
}
|
| 301 |
-
#content nav .notification .num {
|
| 302 |
-
position: absolute;
|
| 303 |
-
top: -6px;
|
| 304 |
-
right: -6px;
|
| 305 |
-
width: 20px;
|
| 306 |
-
height: 20px;
|
| 307 |
-
border-radius: 50%;
|
| 308 |
-
border: 2px solid var(--light);
|
| 309 |
-
background: var(--red);
|
| 310 |
-
color: var(--light);
|
| 311 |
-
font-weight: 700;
|
| 312 |
-
font-size: 12px;
|
| 313 |
display: flex;
|
| 314 |
-
|
| 315 |
align-items: center;
|
|
|
|
| 316 |
}
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
|
|
|
|
|
|
| 320 |
position: absolute;
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
background: var(--light);
|
| 324 |
-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 325 |
-
border-radius: 15px;
|
| 326 |
-
width: 250px;
|
| 327 |
-
max-height: 300px;
|
| 328 |
-
overflow-y: auto;
|
| 329 |
-
z-index: 9999;
|
| 330 |
-
font-family: var(--lato);
|
| 331 |
-
}
|
| 332 |
-
|
| 333 |
-
#content nav .notification-menu ul {
|
| 334 |
-
list-style: none;
|
| 335 |
-
padding: 10px;
|
| 336 |
-
margin: 0;
|
| 337 |
-
}
|
| 338 |
-
|
| 339 |
-
#content nav .notification-menu li {
|
| 340 |
-
padding: 10px;
|
| 341 |
-
border-bottom: 1px solid var(--grey);
|
| 342 |
-
color: var(--dark);
|
| 343 |
}
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
}
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
}
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
color: var(--light);
|
| 356 |
}
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
}
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 366 |
}
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
position: absolute;
|
| 370 |
-
top: 56px;
|
| 371 |
-
right: 0;
|
| 372 |
-
background: var(--light);
|
| 373 |
-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 374 |
-
border-radius: 15px;
|
| 375 |
-
width: 200px;
|
| 376 |
-
z-index: 9999;
|
| 377 |
-
font-family: var(--lato);
|
| 378 |
}
|
| 379 |
|
| 380 |
-
#content nav .profile-menu ul {
|
| 381 |
-
list-style: none;
|
| 382 |
-
padding: 10px;
|
| 383 |
-
margin: 0;
|
| 384 |
-
}
|
| 385 |
|
| 386 |
-
#content nav .profile-menu li {
|
| 387 |
-
padding: 10px;
|
| 388 |
-
border-bottom: 1px solid var(--grey);
|
| 389 |
-
}
|
| 390 |
|
| 391 |
-
#content nav .profile-menu li:hover {
|
| 392 |
-
background-color: var(--light-blue);
|
| 393 |
-
color: var(--dark);
|
| 394 |
-
}
|
| 395 |
-
#content nav .profile-menu li a {
|
| 396 |
-
color: var(--dark);
|
| 397 |
-
font-size: 16px;
|
| 398 |
-
}
|
| 399 |
-
body.dark #content nav .profile-menu li:hover a {
|
| 400 |
-
color: var(--light);
|
| 401 |
-
}
|
| 402 |
-
body.dark #content nav .profile-menu li a {
|
| 403 |
-
color: var(--dark);
|
| 404 |
-
}
|
| 405 |
-
#content nav .profile-menu li:hover a {
|
| 406 |
-
color: var(--dark);
|
| 407 |
-
}
|
| 408 |
-
/* Active State for Menus */
|
| 409 |
-
#content nav .notification-menu.show,
|
| 410 |
-
#content nav .profile-menu.show {
|
| 411 |
-
display: block;
|
| 412 |
-
}
|
| 413 |
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
position: relative;
|
| 422 |
-
}
|
| 423 |
-
#content nav .switch-mode::before {
|
| 424 |
-
content: '';
|
| 425 |
-
position: absolute;
|
| 426 |
-
top: 2px;
|
| 427 |
-
left: 2px;
|
| 428 |
-
bottom: 2px;
|
| 429 |
-
width: calc(25px - 4px);
|
| 430 |
-
background: var(--blue);
|
| 431 |
-
border-radius: 50%;
|
| 432 |
-
transition: all .3s ease;
|
| 433 |
-
}
|
| 434 |
-
#content nav #switch-mode:checked + .switch-mode::before {
|
| 435 |
-
left: calc(100% - (25px - 4px) - 2px);
|
| 436 |
}
|
| 437 |
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
display: flex;
|
| 444 |
-
align-items: center;
|
| 445 |
-
justify-content: space-between;
|
| 446 |
-
padding: 3px;
|
| 447 |
-
position: relative;
|
| 448 |
-
height: 21px;
|
| 449 |
-
width: 45px;
|
| 450 |
-
transform: scale(1.5);
|
| 451 |
}
|
| 452 |
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
left: 2px;
|
| 459 |
-
height: 20px;
|
| 460 |
-
width: 20px;
|
| 461 |
-
transform: translateX(0px);
|
| 462 |
-
transition: transform 0.2s linear;
|
| 463 |
}
|
| 464 |
|
| 465 |
-
|
| 466 |
-
|
|
|
|
| 467 |
}
|
| 468 |
-
|
| 469 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 470 |
}
|
| 471 |
|
| 472 |
-
.
|
| 473 |
-
|
| 474 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 475 |
}
|
| 476 |
|
|
|
|
|
|
|
|
|
|
| 477 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 478 |
|
| 479 |
-
/* NAVBAR */
|
| 480 |
|
|
|
|
|
|
|
|
|
|
| 481 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 482 |
|
| 483 |
|
|
|
|
|
|
|
|
|
|
| 484 |
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
font-family: var(--poppins);
|
| 490 |
-
max-height: calc(100vh - 56px);
|
| 491 |
-
overflow-y: auto;
|
| 492 |
}
|
| 493 |
-
|
| 494 |
-
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
grid-gap: 16px;
|
| 498 |
-
flex-wrap: wrap;
|
| 499 |
}
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
|
|
|
| 505 |
}
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
align-items: center;
|
| 509 |
-
grid-gap: 16px;
|
| 510 |
}
|
| 511 |
-
|
| 512 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 513 |
}
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
|
| 517 |
}
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
|
|
|
| 521 |
}
|
| 522 |
-
|
| 523 |
-
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
background: var(--blue);
|
| 527 |
-
color: var(--light);
|
| 528 |
-
display: flex;
|
| 529 |
-
justify-content: center;
|
| 530 |
-
align-items: center;
|
| 531 |
-
grid-gap: 10px;
|
| 532 |
-
font-weight: 500;
|
| 533 |
}
|
| 534 |
|
| 535 |
|
| 536 |
-
|
| 537 |
-
|
| 538 |
-
|
| 539 |
-
display: grid;
|
| 540 |
-
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
| 541 |
-
grid-gap: 24px;
|
| 542 |
-
margin-top: 36px;
|
| 543 |
}
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
background: var(--light);
|
| 547 |
-
border-radius: 20px;
|
| 548 |
-
display: flex;
|
| 549 |
-
align-items: center;
|
| 550 |
-
grid-gap: 24px;
|
| 551 |
}
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
display: flex;
|
| 558 |
-
justify-content: center;
|
| 559 |
-
align-items: center;
|
| 560 |
}
|
| 561 |
-
|
| 562 |
-
|
| 563 |
-
color: var(--blue);
|
| 564 |
}
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
|
|
|
|
|
|
| 568 |
}
|
| 569 |
-
|
| 570 |
-
|
| 571 |
-
color: var(--orange);
|
| 572 |
}
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
|
|
|
|
|
|
|
| 577 |
}
|
| 578 |
-
|
| 579 |
-
|
| 580 |
}
|
| 581 |
-
|
| 582 |
-
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
#content main .table-data {
|
| 587 |
-
display: flex;
|
| 588 |
-
flex-wrap: wrap;
|
| 589 |
-
grid-gap: 24px;
|
| 590 |
-
margin-top: 24px;
|
| 591 |
-
width: 100%;
|
| 592 |
-
color: var(--dark);
|
| 593 |
}
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
|
|
|
|
|
|
|
|
|
| 599 |
}
|
| 600 |
-
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
|
| 604 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 605 |
}
|
| 606 |
-
|
| 607 |
-
|
| 608 |
-
|
| 609 |
-
|
|
|
|
| 610 |
}
|
| 611 |
-
|
| 612 |
-
|
| 613 |
}
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
width: 100%;
|
| 621 |
-
border-collapse: collapse;
|
| 622 |
-
}
|
| 623 |
-
#content main .table-data .order table th {
|
| 624 |
-
padding-bottom: 12px;
|
| 625 |
-
font-size: 13px;
|
| 626 |
-
text-align: left;
|
| 627 |
-
border-bottom: 1px solid var(--grey);
|
| 628 |
}
|
| 629 |
-
|
| 630 |
-
|
|
|
|
|
|
|
| 631 |
}
|
| 632 |
-
|
| 633 |
-
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
|
| 637 |
-
}
|
| 638 |
-
#content main .table-data .order table td img {
|
| 639 |
-
width: 36px;
|
| 640 |
-
height: 36px;
|
| 641 |
-
border-radius: 50%;
|
| 642 |
-
object-fit: cover;
|
| 643 |
}
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
| 649 |
-
|
| 650 |
-
color: var(--light);
|
| 651 |
-
border-radius: 20px;
|
| 652 |
-
font-weight: 700;
|
| 653 |
}
|
| 654 |
-
|
| 655 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 656 |
}
|
| 657 |
-
|
| 658 |
-
|
|
|
|
|
|
|
| 659 |
}
|
| 660 |
-
|
| 661 |
-
|
| 662 |
}
|
| 663 |
|
| 664 |
|
| 665 |
-
|
| 666 |
-
|
| 667 |
-
|
| 668 |
-
|
| 669 |
-
|
| 670 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 671 |
}
|
| 672 |
-
|
| 673 |
-
|
| 674 |
-
|
| 675 |
-
|
| 676 |
-
|
| 677 |
-
padding: 14px 20px;
|
| 678 |
-
display: flex;
|
| 679 |
-
justify-content: space-between;
|
| 680 |
-
align-items: center;
|
| 681 |
}
|
| 682 |
-
#content main .table-data .todo .todo-list li .bx {
|
| 683 |
-
cursor: pointer;
|
| 684 |
-
}
|
| 685 |
-
#content main .table-data .todo .todo-list li.completed {
|
| 686 |
-
border-left: 10px solid var(--blue);
|
| 687 |
-
}
|
| 688 |
-
#content main .table-data .todo .todo-list li.not-completed {
|
| 689 |
-
border-left: 10px solid var(--orange);
|
| 690 |
-
}
|
| 691 |
-
#content main .table-data .todo .todo-list li:last-child {
|
| 692 |
-
margin-bottom: 0;
|
| 693 |
-
}
|
| 694 |
-
/* MAIN */
|
| 695 |
-
/* CONTENT */
|
| 696 |
-
#content main .menu, #content nav .menu {
|
| 697 |
-
|
| 698 |
-
display: none;
|
| 699 |
-
list-style-type: none;
|
| 700 |
-
padding-left: 20px;
|
| 701 |
-
margin-top: 5px;
|
| 702 |
-
position: absolute;
|
| 703 |
-
background-color: #f9f9f9;
|
| 704 |
-
border: 1px solid #ddd;
|
| 705 |
-
border-radius: 5px;
|
| 706 |
-
width: 200px;
|
| 707 |
-
}
|
| 708 |
|
| 709 |
-
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
|
| 713 |
-
padding: 8px 16px;
|
| 714 |
}
|
| 715 |
-
|
| 716 |
-
|
| 717 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 718 |
}
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
font-size:
|
| 724 |
-
cursor: pointer;
|
| 725 |
-
text-decoration: none;
|
| 726 |
-
color: #007bff;
|
| 727 |
}
|
| 728 |
-
|
| 729 |
-
|
| 730 |
-
|
|
|
|
|
|
|
|
|
|
| 731 |
}
|
| 732 |
|
| 733 |
|
| 734 |
-
|
| 735 |
-
|
| 736 |
-
|
| 737 |
-
|
| 738 |
-
|
| 739 |
-
|
| 740 |
-
|
| 741 |
-
|
| 742 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 743 |
}
|
| 744 |
-
#sidebar {
|
| 745 |
-
width: 200px;
|
| 746 |
-
}
|
| 747 |
-
|
| 748 |
-
#content {
|
| 749 |
-
width: calc(100% - 60px);
|
| 750 |
-
left: 200px;
|
| 751 |
-
}
|
| 752 |
-
|
| 753 |
-
#content nav .nav-link {
|
| 754 |
-
display: none;
|
| 755 |
-
}
|
| 756 |
}
|
| 757 |
-
|
| 758 |
-
|
| 759 |
-
|
| 760 |
-
|
| 761 |
-
|
| 762 |
-
|
| 763 |
-
|
| 764 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 765 |
}
|
| 766 |
-
#content nav form .form-input input {
|
| 767 |
-
display: none;
|
| 768 |
-
}
|
| 769 |
-
|
| 770 |
-
#content nav form .form-input button {
|
| 771 |
-
width: auto;
|
| 772 |
-
height: auto;
|
| 773 |
-
background: transparent;
|
| 774 |
-
border-radius: none;
|
| 775 |
-
color: var(--dark);
|
| 776 |
-
}
|
| 777 |
-
|
| 778 |
-
#content nav form.show .form-input input {
|
| 779 |
-
display: block;
|
| 780 |
-
width: 100%;
|
| 781 |
-
}
|
| 782 |
-
#content nav form.show .form-input button {
|
| 783 |
-
width: 36px;
|
| 784 |
-
height: 100%;
|
| 785 |
-
border-radius: 0 36px 36px 0;
|
| 786 |
-
color: var(--light);
|
| 787 |
-
background: var(--red);
|
| 788 |
-
}
|
| 789 |
-
|
| 790 |
-
#content nav form.show ~ .notification,
|
| 791 |
-
#content nav form.show ~ .profile {
|
| 792 |
-
display: none;
|
| 793 |
-
}
|
| 794 |
-
|
| 795 |
-
#content main .box-info {
|
| 796 |
-
grid-template-columns: 1fr;
|
| 797 |
-
}
|
| 798 |
-
|
| 799 |
-
#content main .table-data .head {
|
| 800 |
-
min-width: 420px;
|
| 801 |
-
}
|
| 802 |
-
#content main .table-data .order table {
|
| 803 |
-
min-width: 420px;
|
| 804 |
-
}
|
| 805 |
-
#content main .table-data .todo .todo-list {
|
| 806 |
-
min-width: 420px;
|
| 807 |
-
}
|
| 808 |
}
|
| 809 |
</style>
|
| 810 |
|
|
@@ -817,390 +609,277 @@ body.dark #content nav .profile-menu li a {
|
|
| 817 |
</head>
|
| 818 |
|
| 819 |
<body translate="no">
|
| 820 |
-
|
| 821 |
-
<
|
| 822 |
-
<
|
| 823 |
-
|
| 824 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 825 |
|
| 826 |
-
|
| 827 |
-
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
|
| 828 |
-
<link href='https://unpkg.com/boxicons@2.1.4/dist/boxicons.js' rel='stylesheet'>
|
| 829 |
|
| 830 |
-
|
| 831 |
-
|
|
|
|
|
|
|
|
|
|
| 832 |
|
| 833 |
-
<title>AdminHub</title>
|
| 834 |
-
</head>
|
| 835 |
-
<body>
|
| 836 |
-
<!-- SIDEBAR -->
|
| 837 |
-
<section id="sidebar">
|
| 838 |
-
<a href="#" class="brand">
|
| 839 |
-
<i class='bx bxs-smile bx-lg'></i>
|
| 840 |
-
<span class="text">AdminHub</span>
|
| 841 |
-
</a>
|
| 842 |
-
<ul class="side-menu top">
|
| 843 |
-
<li class="active">
|
| 844 |
-
<a href="#">
|
| 845 |
-
<i class='bx bxs-dashboard bx-sm' ></i>
|
| 846 |
-
<span class="text">Dashboard</span>
|
| 847 |
-
</a>
|
| 848 |
-
</li>
|
| 849 |
-
<li>
|
| 850 |
-
<a href="#">
|
| 851 |
-
<i class='bx bxs-shopping-bag-alt bx-sm' ></i>
|
| 852 |
-
<span class="text">My Store</span>
|
| 853 |
-
</a>
|
| 854 |
-
</li>
|
| 855 |
-
<li>
|
| 856 |
-
<a href="#">
|
| 857 |
-
<i class='bx bxs-doughnut-chart bx-sm' ></i>
|
| 858 |
-
<span class="text">Analytics</span>
|
| 859 |
-
</a>
|
| 860 |
-
</li>
|
| 861 |
-
<li>
|
| 862 |
-
<a href="#">
|
| 863 |
-
<i class='bx bxs-message-dots bx-sm' ></i>
|
| 864 |
-
<span class="text">Message</span>
|
| 865 |
-
</a>
|
| 866 |
-
</li>
|
| 867 |
-
<li>
|
| 868 |
-
<a href="#">
|
| 869 |
-
<i class='bx bxs-group bx-sm' ></i>
|
| 870 |
-
<span class="text">Team</span>
|
| 871 |
-
</a>
|
| 872 |
-
</li>
|
| 873 |
-
</ul>
|
| 874 |
-
<ul class="side-menu bottom">
|
| 875 |
-
<li>
|
| 876 |
-
<a href="#">
|
| 877 |
-
<i class='bx bxs-cog bx-sm bx-spin-hover' ></i>
|
| 878 |
-
<span class="text">Settings</span>
|
| 879 |
-
</a>
|
| 880 |
-
</li>
|
| 881 |
-
<li>
|
| 882 |
-
<a href="#" class="logout">
|
| 883 |
-
<i class='bx bx-power-off bx-sm bx-burst-hover' ></i>
|
| 884 |
-
<span class="text">Logout</span>
|
| 885 |
-
</a>
|
| 886 |
-
</li>
|
| 887 |
-
</ul>
|
| 888 |
-
</section>
|
| 889 |
-
<!-- SIDEBAR -->
|
| 890 |
-
|
| 891 |
-
|
| 892 |
-
|
| 893 |
-
<!-- CONTENT -->
|
| 894 |
-
<section id="content">
|
| 895 |
-
<!-- NAVBAR -->
|
| 896 |
-
<nav>
|
| 897 |
-
<i class='bx bx-menu bx-sm' ></i>
|
| 898 |
-
<a href="#" class="nav-link">Categories</a>
|
| 899 |
-
<form action="#">
|
| 900 |
-
<div class="form-input">
|
| 901 |
-
<input type="search" placeholder="Search...">
|
| 902 |
-
<button type="submit" class="search-btn"><i class='bx bx-search' ></i></button>
|
| 903 |
-
</div>
|
| 904 |
-
</form>
|
| 905 |
-
<input type="checkbox" class="checkbox" id="switch-mode" hidden />
|
| 906 |
-
<label class="swith-lm" for="switch-mode">
|
| 907 |
-
<i class="bx bxs-moon"></i>
|
| 908 |
-
<i class="bx bx-sun"></i>
|
| 909 |
-
<div class="ball"></div>
|
| 910 |
-
</label>
|
| 911 |
-
|
| 912 |
-
<!-- Notification Bell -->
|
| 913 |
-
<a href="#" class="notification" id="notificationIcon">
|
| 914 |
-
<i class='bx bxs-bell bx-tada-hover' ></i>
|
| 915 |
-
<span class="num">8</span>
|
| 916 |
-
</a>
|
| 917 |
-
<div class="notification-menu" id="notificationMenu">
|
| 918 |
-
<ul>
|
| 919 |
-
<li>New message from John</li>
|
| 920 |
-
<li>Your order has been shipped</li>
|
| 921 |
-
<li>New comment on your post</li>
|
| 922 |
-
<li>Update available for your app</li>
|
| 923 |
-
<li>Reminder: Meeting at 3PM</li>
|
| 924 |
-
</ul>
|
| 925 |
-
</div>
|
| 926 |
-
|
| 927 |
-
<!-- Profile Menu -->
|
| 928 |
-
<a href="#" class="profile" id="profileIcon">
|
| 929 |
-
<img src="https://placehold.co/600x400/png" alt="Profile">
|
| 930 |
-
</a>
|
| 931 |
-
<div class="profile-menu" id="profileMenu">
|
| 932 |
-
<ul>
|
| 933 |
-
<li><a href="#">My Profile</a></li>
|
| 934 |
-
<li><a href="#">Settings</a></li>
|
| 935 |
-
<li><a href="#">Log Out</a></li>
|
| 936 |
-
</ul>
|
| 937 |
-
</div>
|
| 938 |
-
</nav>
|
| 939 |
-
<!-- NAVBAR -->
|
| 940 |
-
|
| 941 |
-
|
| 942 |
-
<!-- MAIN -->
|
| 943 |
<main>
|
| 944 |
-
<div class="
|
| 945 |
-
<div class="
|
| 946 |
-
<
|
| 947 |
-
|
| 948 |
-
<
|
| 949 |
-
|
| 950 |
-
|
| 951 |
-
|
| 952 |
-
<
|
| 953 |
-
|
| 954 |
-
|
| 955 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 956 |
</div>
|
| 957 |
-
<a href="https://codepen.io/saglik216/pen/LEVjwBV" class="btn-download" target="_blink">
|
| 958 |
-
<i class='bx bxs-cloud-download bx-fade-down-hover' ></i>
|
| 959 |
-
<span class="text">V2.5 Released</span>
|
| 960 |
-
</a>
|
| 961 |
-
</div>
|
| 962 |
|
| 963 |
-
|
| 964 |
-
|
| 965 |
-
<
|
| 966 |
-
|
| 967 |
-
|
| 968 |
-
|
| 969 |
-
|
| 970 |
-
|
| 971 |
-
|
| 972 |
-
|
| 973 |
-
|
| 974 |
-
|
| 975 |
-
|
| 976 |
-
|
| 977 |
-
|
| 978 |
-
|
| 979 |
-
|
| 980 |
-
|
| 981 |
-
<
|
| 982 |
-
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
|
| 988 |
-
|
| 989 |
-
|
| 990 |
-
|
| 991 |
-
<
|
| 992 |
-
|
| 993 |
-
|
| 994 |
-
|
| 995 |
-
|
| 996 |
-
|
| 997 |
-
|
| 998 |
-
|
| 999 |
-
|
| 1000 |
-
|
| 1001 |
-
|
| 1002 |
-
|
| 1003 |
-
<tbody>
|
| 1004 |
-
<tr>
|
| 1005 |
-
<td>
|
| 1006 |
-
<img src="https://placehold.co/600x400/png">
|
| 1007 |
-
<p>Micheal John</p>
|
| 1008 |
-
</td>
|
| 1009 |
-
<td>18-10-2021</td>
|
| 1010 |
-
<td><span class="status completed">Completed</span></td>
|
| 1011 |
-
</tr>
|
| 1012 |
-
<tr>
|
| 1013 |
-
<td>
|
| 1014 |
-
<img src="https://placehold.co/600x400/png">
|
| 1015 |
-
<p>Ryan Doe</p>
|
| 1016 |
-
</td>
|
| 1017 |
-
<td>01-06-2022</td>
|
| 1018 |
-
<td><span class="status pending">Pending</span></td>
|
| 1019 |
-
</tr>
|
| 1020 |
<tr>
|
| 1021 |
-
<td>
|
| 1022 |
-
|
| 1023 |
-
|
| 1024 |
-
</td>
|
| 1025 |
-
<td>14-10-2021</td>
|
| 1026 |
-
<td><span class="status process">Process</span></td>
|
| 1027 |
</tr>
|
| 1028 |
<tr>
|
| 1029 |
-
<td>
|
| 1030 |
-
|
| 1031 |
-
|
| 1032 |
-
</td>
|
| 1033 |
-
<td>01-02-2023</td>
|
| 1034 |
-
<td><span class="status pending">Pending</span></td>
|
| 1035 |
</tr>
|
| 1036 |
<tr>
|
| 1037 |
-
<td>
|
| 1038 |
-
|
| 1039 |
-
|
| 1040 |
-
</td>
|
| 1041 |
-
<td>31-10-2021</td>
|
| 1042 |
-
<td><span class="status completed">Completed</span></td>
|
| 1043 |
</tr>
|
| 1044 |
-
|
| 1045 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1046 |
</div>
|
| 1047 |
-
|
| 1048 |
-
|
| 1049 |
-
|
| 1050 |
-
|
| 1051 |
-
|
| 1052 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1053 |
</div>
|
| 1054 |
-
|
| 1055 |
-
|
| 1056 |
-
|
| 1057 |
-
|
| 1058 |
-
|
| 1059 |
-
<
|
| 1060 |
-
|
| 1061 |
-
|
| 1062 |
-
|
| 1063 |
-
|
| 1064 |
-
|
| 1065 |
-
|
| 1066 |
-
</
|
| 1067 |
-
|
| 1068 |
-
|
| 1069 |
-
|
| 1070 |
-
</
|
| 1071 |
-
<
|
| 1072 |
-
|
| 1073 |
-
|
| 1074 |
-
|
| 1075 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1076 |
</div>
|
| 1077 |
</div>
|
| 1078 |
</main>
|
| 1079 |
-
|
| 1080 |
-
|
| 1081 |
-
|
| 1082 |
-
|
| 1083 |
-
|
| 1084 |
-
<script src="script.js"></script>
|
| 1085 |
-
</body>
|
| 1086 |
-
</html>
|
| 1087 |
|
| 1088 |
-
<script id="rendered-js" >
|
| 1089 |
-
const allSideMenu = document.querySelectorAll('#sidebar .side-menu.top li a');
|
| 1090 |
-
|
| 1091 |
-
allSideMenu.forEach(item => {
|
| 1092 |
-
const li = item.parentElement;
|
| 1093 |
-
|
| 1094 |
-
item.addEventListener('click', function () {
|
| 1095 |
-
allSideMenu.forEach(i => {
|
| 1096 |
-
i.parentElement.classList.remove('active');
|
| 1097 |
-
});
|
| 1098 |
-
li.classList.add('active');
|
| 1099 |
-
});
|
| 1100 |
-
});
|
| 1101 |
-
|
| 1102 |
-
// TOGGLE SIDEBAR
|
| 1103 |
-
const menuBar = document.querySelector('#content nav .bx.bx-menu');
|
| 1104 |
-
const sidebar = document.getElementById('sidebar');
|
| 1105 |
-
|
| 1106 |
-
// Sidebar toggle işlemi
|
| 1107 |
-
menuBar.addEventListener('click', function () {
|
| 1108 |
-
sidebar.classList.toggle('hide');
|
| 1109 |
-
});
|
| 1110 |
-
|
| 1111 |
-
// Sayfa yüklendiğinde ve boyut değişimlerinde sidebar durumunu ayarlama
|
| 1112 |
-
function adjustSidebar() {
|
| 1113 |
-
if (window.innerWidth <= 576) {
|
| 1114 |
-
sidebar.classList.add('hide'); // 576px ve altı için sidebar gizli
|
| 1115 |
-
sidebar.classList.remove('show');
|
| 1116 |
-
} else {
|
| 1117 |
-
sidebar.classList.remove('hide'); // 576px'den büyükse sidebar görünür
|
| 1118 |
-
sidebar.classList.add('show');
|
| 1119 |
-
}
|
| 1120 |
-
}
|
| 1121 |
-
|
| 1122 |
-
// Sayfa yüklendiğinde ve pencere boyutu değiştiğinde sidebar durumunu ayarlama
|
| 1123 |
-
window.addEventListener('load', adjustSidebar);
|
| 1124 |
-
window.addEventListener('resize', adjustSidebar);
|
| 1125 |
-
|
| 1126 |
-
// Arama butonunu toggle etme
|
| 1127 |
-
const searchButton = document.querySelector('#content nav form .form-input button');
|
| 1128 |
-
const searchButtonIcon = document.querySelector('#content nav form .form-input button .bx');
|
| 1129 |
-
const searchForm = document.querySelector('#content nav form');
|
| 1130 |
-
|
| 1131 |
-
searchButton.addEventListener('click', function (e) {
|
| 1132 |
-
if (window.innerWidth < 768) {
|
| 1133 |
-
e.preventDefault();
|
| 1134 |
-
searchForm.classList.toggle('show');
|
| 1135 |
-
if (searchForm.classList.contains('show')) {
|
| 1136 |
-
searchButtonIcon.classList.replace('bx-search', 'bx-x');
|
| 1137 |
-
} else {
|
| 1138 |
-
searchButtonIcon.classList.replace('bx-x', 'bx-search');
|
| 1139 |
-
}
|
| 1140 |
-
}
|
| 1141 |
-
});
|
| 1142 |
-
|
| 1143 |
-
// Dark Mode Switch
|
| 1144 |
-
const switchMode = document.getElementById('switch-mode');
|
| 1145 |
-
|
| 1146 |
-
switchMode.addEventListener('change', function () {
|
| 1147 |
-
if (this.checked) {
|
| 1148 |
-
document.body.classList.add('dark');
|
| 1149 |
-
} else {
|
| 1150 |
-
document.body.classList.remove('dark');
|
| 1151 |
-
}
|
| 1152 |
-
});
|
| 1153 |
-
|
| 1154 |
-
// Notification Menu Toggle
|
| 1155 |
-
document.querySelector('.notification').addEventListener('click', function () {
|
| 1156 |
-
document.querySelector('.notification-menu').classList.toggle('show');
|
| 1157 |
-
document.querySelector('.profile-menu').classList.remove('show'); // Close profile menu if open
|
| 1158 |
-
});
|
| 1159 |
-
|
| 1160 |
-
// Profile Menu Toggle
|
| 1161 |
-
document.querySelector('.profile').addEventListener('click', function () {
|
| 1162 |
-
document.querySelector('.profile-menu').classList.toggle('show');
|
| 1163 |
-
document.querySelector('.notification-menu').classList.remove('show'); // Close notification menu if open
|
| 1164 |
-
});
|
| 1165 |
-
|
| 1166 |
-
// Close menus if clicked outside
|
| 1167 |
-
window.addEventListener('click', function (e) {
|
| 1168 |
-
if (!e.target.closest('.notification') && !e.target.closest('.profile')) {
|
| 1169 |
-
document.querySelector('.notification-menu').classList.remove('show');
|
| 1170 |
-
document.querySelector('.profile-menu').classList.remove('show');
|
| 1171 |
-
}
|
| 1172 |
-
});
|
| 1173 |
-
|
| 1174 |
-
// Menülerin açılıp kapanması için fonksiyon
|
| 1175 |
-
function toggleMenu(menuId) {
|
| 1176 |
-
var menu = document.getElementById(menuId);
|
| 1177 |
-
var allMenus = document.querySelectorAll('.menu');
|
| 1178 |
-
|
| 1179 |
-
// Diğer tüm menüleri kapat
|
| 1180 |
-
allMenus.forEach(function (m) {
|
| 1181 |
-
if (m !== menu) {
|
| 1182 |
-
m.style.display = 'none';
|
| 1183 |
-
}
|
| 1184 |
-
});
|
| 1185 |
-
|
| 1186 |
-
// Tıklanan menü varsa aç, yoksa kapat
|
| 1187 |
-
if (menu.style.display === 'none' || menu.style.display === '') {
|
| 1188 |
-
menu.style.display = 'block';
|
| 1189 |
-
} else {
|
| 1190 |
-
menu.style.display = 'none';
|
| 1191 |
-
}
|
| 1192 |
-
}
|
| 1193 |
-
|
| 1194 |
-
// Başlangıçta tüm menüleri kapalı tut
|
| 1195 |
-
document.addEventListener("DOMContentLoaded", function () {
|
| 1196 |
-
var allMenus = document.querySelectorAll('.menu');
|
| 1197 |
-
allMenus.forEach(function (menu) {
|
| 1198 |
-
menu.style.display = 'none';
|
| 1199 |
-
});
|
| 1200 |
-
});
|
| 1201 |
-
//# sourceURL=pen.js
|
| 1202 |
-
</script>
|
| 1203 |
-
|
| 1204 |
|
| 1205 |
</body>
|
| 1206 |
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
+
|
|
|
|
| 21 |
|
| 22 |
+
<title>Responsive Bento Style Dashboard</title>
|
| 23 |
|
| 24 |
+
<link rel="canonical" href="https://codepen.io/dui77/pen/poGPQgJ">
|
| 25 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 26 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 27 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
:root {
|
| 33 |
+
--color-primary: #4B888C;
|
| 34 |
+
--color-primary-light: #76B9BD;
|
| 35 |
+
--color-primary-lightest: #D6EBEC;
|
| 36 |
+
--color-secondary: #76BDA4;
|
| 37 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
*, *::before, *::after {
|
| 40 |
+
margin: 0;
|
| 41 |
+
padding: 0;
|
| 42 |
+
box-sizing: inherit;
|
| 43 |
+
font-family: 'Inter', sans-serif;
|
| 44 |
}
|
| 45 |
|
| 46 |
+
html {
|
| 47 |
+
font-size: 62.5%;
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
|
| 50 |
body {
|
| 51 |
+
font-weight: 400;
|
| 52 |
+
color: #444;
|
| 53 |
+
box-sizing: border-box;
|
| 54 |
+
padding: 5rem;
|
| 55 |
+
min-height: 100vh;
|
| 56 |
+
background: linear-gradient(to bottom right, #97e0c7, #4B888C);
|
| 57 |
+
}
|
| 58 |
+
.all {
|
| 59 |
+
display: grid;
|
| 60 |
+
place-items: center;
|
| 61 |
+
grid-template-columns: 8rem 1fr;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
nav {
|
| 65 |
+
background-color: var(--color-primary);
|
| 66 |
+
color: #fff;
|
| 67 |
+
width: 100%;
|
| 68 |
+
height: 100%;
|
| 69 |
+
box-shadow: 0 0 5rem rgba(0,0,0,.4);
|
| 70 |
+
border-radius: 2rem 0 0 2rem;
|
| 71 |
+
z-index: 0;
|
| 72 |
+
position: relative;
|
| 73 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
display: flex;
|
| 75 |
+
flex-direction: column;
|
| 76 |
align-items: center;
|
| 77 |
+
padding: 2rem 1rem;
|
| 78 |
}
|
| 79 |
+
nav::before {
|
| 80 |
+
content: '';
|
| 81 |
+
background-color: var(--color-primary);
|
| 82 |
+
height: 100%;
|
| 83 |
+
width: 5rem;
|
| 84 |
position: absolute;
|
| 85 |
+
right: -5rem;
|
| 86 |
+
top: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
}
|
| 88 |
+
.nav-items {
|
| 89 |
+
display: flex;
|
| 90 |
+
flex-direction: column;
|
| 91 |
+
gap: 3rem;
|
| 92 |
}
|
| 93 |
+
.nav-item {
|
| 94 |
+
color: #fff;
|
| 95 |
+
cursor: pointer;
|
| 96 |
}
|
| 97 |
+
.nav-item:hover {
|
| 98 |
+
color: var(--color-primary-lightest)
|
|
|
|
| 99 |
}
|
| 100 |
+
.nav-item svg {
|
| 101 |
+
width: 4rem;
|
| 102 |
+
height: 4rem;
|
| 103 |
}
|
| 104 |
+
|
| 105 |
+
.portrait {
|
| 106 |
+
background-color: white;
|
| 107 |
+
color: var(--color-primary);
|
| 108 |
+
width: 5rem;
|
| 109 |
+
height: 5rem;
|
| 110 |
+
border-radius: 50%;
|
| 111 |
+
margin-bottom: 5rem;
|
| 112 |
+
cursor: pointer;
|
| 113 |
}
|
| 114 |
+
.portrait:hover {
|
| 115 |
+
background-color: var(--color-primary-lightest);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
}
|
| 117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
+
.content {
|
| 122 |
+
width: 100%;
|
| 123 |
+
background-color: #fff;
|
| 124 |
+
box-shadow: 0 0 5rem rgba(0,0,0,.4);
|
| 125 |
+
border-radius: 2rem;
|
| 126 |
+
z-index: 5;
|
| 127 |
+
padding: 4rem 6rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
}
|
| 129 |
|
| 130 |
+
section {
|
| 131 |
+
padding: 1rem 2rem;
|
| 132 |
+
background-color: #fff;
|
| 133 |
+
box-shadow: 0 0 3rem rgba(0,0,0,.3);
|
| 134 |
+
border-radius: .8rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
|
| 137 |
+
section > h2{
|
| 138 |
+
font-size: 2rem;
|
| 139 |
+
letter-spacing: .2rem;
|
| 140 |
+
font-weight: 400;
|
| 141 |
+
color: var(--color-primary);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
}
|
| 143 |
|
| 144 |
+
.greeting {
|
| 145 |
+
margin-bottom: 4rem;
|
| 146 |
+
font-size: 1.4rem;
|
| 147 |
}
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
main {
|
| 151 |
+
display: grid;
|
| 152 |
+
grid-template-columns: 16fr 5fr;
|
| 153 |
+
grid-template-rows: auto auto;
|
| 154 |
+
gap: 4rem;
|
| 155 |
}
|
| 156 |
|
| 157 |
+
.grid-area-1 {
|
| 158 |
+
grid-column: 1 / 2;
|
| 159 |
+
grid-row: 1 / 2;
|
| 160 |
+
|
| 161 |
+
display: grid;
|
| 162 |
+
grid-template-columns: 2fr 1fr;
|
| 163 |
+
grid-template-rows: 1fr 2fr;
|
| 164 |
+
gap: 4rem;
|
| 165 |
}
|
| 166 |
|
| 167 |
+
.grid-area-1-2 {
|
| 168 |
+
grid-column: 2 / 3;
|
| 169 |
+
grid-row: 1 / 3;
|
| 170 |
|
| 171 |
+
display: flex;
|
| 172 |
+
flex-direction: column;
|
| 173 |
+
gap: 4rem;
|
| 174 |
+
}
|
| 175 |
|
|
|
|
| 176 |
|
| 177 |
+
.grid-area-2 {
|
| 178 |
+
grid-column: 2 / 3;
|
| 179 |
+
grid-row: 1 / 3;
|
| 180 |
|
| 181 |
+
display: flex;
|
| 182 |
+
flex-direction: column;
|
| 183 |
+
gap: 4rem;
|
| 184 |
+
}
|
| 185 |
|
| 186 |
|
| 187 |
+
.grid-area-3 {
|
| 188 |
+
grid-column: 1 / 2;
|
| 189 |
+
grid-row: 2 / 3;
|
| 190 |
|
| 191 |
+
display: grid;
|
| 192 |
+
grid-template-columns: 1fr 1fr;
|
| 193 |
+
grid-template-rows: 1fr 1fr;
|
| 194 |
+
gap: 4rem;
|
|
|
|
|
|
|
|
|
|
| 195 |
}
|
| 196 |
+
|
| 197 |
+
.last-week {
|
| 198 |
+
grid-column: 2 / 3;
|
| 199 |
+
grid-row: 1 / 3;
|
|
|
|
|
|
|
| 200 |
}
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
.distance {
|
| 204 |
+
display: grid;
|
| 205 |
+
grid-template-columns: 1fr 1fr 1fr;
|
| 206 |
+
gap: 3rem;
|
| 207 |
}
|
| 208 |
+
.distance__section {
|
| 209 |
+
position: relative;
|
|
|
|
|
|
|
| 210 |
}
|
| 211 |
+
.distance__section::after {
|
| 212 |
+
content: '';
|
| 213 |
+
height: 80%;
|
| 214 |
+
width: 1.6rem;
|
| 215 |
+
background-color: var(--color-primary-light);
|
| 216 |
+
position: absolute;
|
| 217 |
+
right: 0;
|
| 218 |
+
top: 10%;
|
| 219 |
+
border-radius: 1.2rem 0 0 1.2rem;
|
| 220 |
+
box-shadow: inset .4rem .4rem 1rem rgba(0,0,0,.2);
|
| 221 |
}
|
| 222 |
+
.distance p {
|
| 223 |
+
color: var(--color-primary);
|
| 224 |
+
font-size: 2rem;
|
| 225 |
}
|
| 226 |
+
.distance .distance__section > h2 {
|
| 227 |
+
font-weight: 400;
|
| 228 |
+
font-size: 1.6rem;
|
| 229 |
+
letter-spacing: 0;
|
| 230 |
}
|
| 231 |
+
.distance svg {
|
| 232 |
+
height: 5rem;
|
| 233 |
+
color: var(--color-primary);
|
| 234 |
+
margin-top: 2rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 235 |
}
|
| 236 |
|
| 237 |
|
| 238 |
+
.weekly {
|
| 239 |
+
background-color: #76BDA4;
|
| 240 |
+
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 241 |
}
|
| 242 |
+
.weekly h2 {
|
| 243 |
+
color: #fff !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
}
|
| 245 |
+
.weekly table {
|
| 246 |
+
font-size: 1.6rem;
|
| 247 |
+
width: 100%;
|
| 248 |
+
text-align: left;
|
| 249 |
+
margin: 2rem 0;
|
|
|
|
|
|
|
|
|
|
| 250 |
}
|
| 251 |
+
.weekly td {
|
| 252 |
+
padding: .8rem .2rem;
|
|
|
|
| 253 |
}
|
| 254 |
+
|
| 255 |
+
.recent {
|
| 256 |
+
display: flex;
|
| 257 |
+
flex-direction: column;
|
| 258 |
+
align-items: start;
|
| 259 |
}
|
| 260 |
+
.recent a {
|
| 261 |
+
align-self: end;
|
|
|
|
| 262 |
}
|
| 263 |
+
.recent table {
|
| 264 |
+
font-size: 1.6rem;
|
| 265 |
+
width: calc(100% + 4rem);
|
| 266 |
+
text-align: left;
|
| 267 |
+
margin: 2rem -2rem .5rem -2rem;
|
| 268 |
+
border: none;
|
| 269 |
}
|
| 270 |
+
.recent tr:nth-of-type(odd) {
|
| 271 |
+
background-color: var(--color-primary-lightest);
|
| 272 |
}
|
| 273 |
+
.recent td {
|
| 274 |
+
padding: .8rem .2rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 275 |
}
|
| 276 |
+
.recent svg {
|
| 277 |
+
width: 3rem;
|
| 278 |
+
height: 3rem;
|
| 279 |
+
background-color: #fff;
|
| 280 |
+
border-radius: 50%;
|
| 281 |
+
padding: .5rem;
|
| 282 |
+
color: var(--color-primary);
|
| 283 |
+
margin-left: 2rem;
|
| 284 |
}
|
| 285 |
+
|
| 286 |
+
a {
|
| 287 |
+
font-size: 1.6rem;
|
| 288 |
+
color: var(--color-primary);
|
| 289 |
+
text-decoration: none;
|
| 290 |
+
display: block;
|
| 291 |
+
padding-bottom: .2rem;
|
| 292 |
+
margin: 1rem 0;
|
| 293 |
+
border-bottom: 1px solid currentColor;
|
| 294 |
+
letter-spacing: 3px;
|
| 295 |
+
align-self: end;
|
| 296 |
+
margin-right: 1rem;
|
| 297 |
}
|
| 298 |
+
|
| 299 |
+
.calories {
|
| 300 |
+
display: grid;
|
| 301 |
+
grid-template-columns: 1fr 1fr 1fr;
|
| 302 |
+
grid-template-rows: auto 1fr auto;
|
| 303 |
}
|
| 304 |
+
.calories h2 {
|
| 305 |
+
grid-column: 1 / 4;
|
| 306 |
}
|
| 307 |
+
.calories__number {
|
| 308 |
+
text-align: center;
|
| 309 |
+
font-size: 2.8rem;
|
| 310 |
+
font-weight: 600;
|
| 311 |
+
color: var(--color-primary);
|
| 312 |
+
margin: 1.5rem 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 313 |
}
|
| 314 |
+
.calories__text {
|
| 315 |
+
text-align: center;
|
| 316 |
+
font-size: 1.6rem;
|
| 317 |
+
margin-bottom: 2rem;
|
| 318 |
}
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
.friend-acitvity {
|
| 322 |
+
display: flex;
|
| 323 |
+
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 324 |
}
|
| 325 |
+
.friend-activity__activity {
|
| 326 |
+
display: grid;
|
| 327 |
+
grid-template-columns: 4rem 1fr;
|
| 328 |
+
gap: 2rem;
|
| 329 |
+
align-items: center;
|
| 330 |
+
margin: 1rem 0;
|
|
|
|
|
|
|
|
|
|
| 331 |
}
|
| 332 |
+
.friend-acitvity__picture {
|
| 333 |
+
width: 4rem;
|
| 334 |
+
height: 4rem;
|
| 335 |
+
border-radius: 50%;
|
| 336 |
+
background-color: var(--color-primary);
|
| 337 |
+
overflow: hidden;
|
| 338 |
+
position: relative;
|
| 339 |
+
}
|
| 340 |
+
.friend-acitvity__picture > div {
|
| 341 |
+
background-color: #fff;
|
| 342 |
+
width: 2rem;
|
| 343 |
+
height: 2rem;
|
| 344 |
+
position: absolute;
|
| 345 |
+
bottom: -.6rem;
|
| 346 |
+
left: 1rem;
|
| 347 |
+
border-radius: 50% 50% 0 0;
|
| 348 |
+
}
|
| 349 |
+
.friend-acitvity__picture > div::after {
|
| 350 |
+
content: '';
|
| 351 |
+
width: 1.2rem;
|
| 352 |
+
height: 1.2rem;
|
| 353 |
+
border-radius: 50%;
|
| 354 |
+
position: absolute;
|
| 355 |
+
background-color: #fff;
|
| 356 |
+
bottom: 2.3rem;
|
| 357 |
+
left: .4rem;
|
| 358 |
+
}
|
| 359 |
+
.friends__picture {
|
| 360 |
+
width: 3rem;
|
| 361 |
+
height: 3rem;
|
| 362 |
+
border-radius: 50%;
|
| 363 |
+
background-color: var(--color-primary);
|
| 364 |
+
overflow: hidden;
|
| 365 |
+
position: relative;
|
| 366 |
+
}
|
| 367 |
+
.friends__picture > div {
|
| 368 |
+
background-color: #fff;
|
| 369 |
+
width: 1.5rem;
|
| 370 |
+
height: 1.5rem;
|
| 371 |
+
position: absolute;
|
| 372 |
+
bottom: -.6rem;
|
| 373 |
+
left: .8rem;
|
| 374 |
+
border-radius: 50% 50% 0 0;
|
| 375 |
+
}
|
| 376 |
+
.friends__picture > div::after {
|
| 377 |
+
content: '';
|
| 378 |
+
width: .8rem;
|
| 379 |
+
height: .8rem;
|
| 380 |
+
border-radius: 50%;
|
| 381 |
+
position: absolute;
|
| 382 |
+
background-color: #fff;
|
| 383 |
+
bottom: 1.8rem;
|
| 384 |
+
left: .4rem;
|
| 385 |
}
|
| 386 |
+
.friend-activity__name, .friends__name {
|
| 387 |
+
color: var(--color-primary);
|
| 388 |
+
font-size: 1.8rem;
|
| 389 |
+
font-weight: 400;
|
| 390 |
}
|
| 391 |
+
.friend-activity__msg, .friends__msg {
|
| 392 |
+
font-size: 1.4rem;
|
| 393 |
}
|
| 394 |
|
| 395 |
|
| 396 |
+
.friends__friend {
|
| 397 |
+
display: grid;
|
| 398 |
+
grid-template-columns: 4rem 1fr auto;
|
| 399 |
+
align-items: center;
|
| 400 |
+
gap: 1rem;
|
| 401 |
+
justify-content: space-between;
|
| 402 |
+
margin: 1rem 0;
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
.challenges {
|
| 406 |
+
display: grid;
|
| 407 |
+
grid-template-rows: auto repeat(1.4rem, 2rem);
|
| 408 |
+
gap: .8rem;
|
| 409 |
+
padding-bottom: 2rem;
|
| 410 |
+
}
|
| 411 |
+
.challenges__bar {
|
| 412 |
+
width: 100%;
|
| 413 |
+
height: 1.4rem;
|
| 414 |
+
border-radius: .7rem;
|
| 415 |
+
background-color: #D9D9D9;
|
| 416 |
+
position: relative;
|
| 417 |
+
}
|
| 418 |
+
.challenges__bar::after {
|
| 419 |
+
content: '';
|
| 420 |
+
position: absolute;
|
| 421 |
+
height: 100%;
|
| 422 |
+
border-radius: .7rem;
|
| 423 |
+
background-color: var(--color-primary);
|
| 424 |
}
|
| 425 |
+
.challenges__bar--1::after {width: 20%;}
|
| 426 |
+
.challenges__bar--2::after {width: 70%;}
|
| 427 |
+
.challenges__bar--3::after {width: 45%;}
|
| 428 |
+
.challenges__text {
|
| 429 |
+
font-size: 1.4rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 430 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 431 |
|
| 432 |
+
.personal-bests {
|
| 433 |
+
display: grid;
|
| 434 |
+
grid-template-columns: 1fr 1fr 1fr;
|
| 435 |
+
gap: 3rem;
|
|
|
|
| 436 |
}
|
| 437 |
+
.personal-bests__best {
|
| 438 |
+
background-color: var(--color-primary);
|
| 439 |
+
color: #fff;
|
| 440 |
+
display: flex;
|
| 441 |
+
flex-direction: column;
|
| 442 |
+
align-items: center;
|
| 443 |
+
justify-content: space-around;
|
| 444 |
+
padding-top: 2rem;
|
| 445 |
+
position: relative;
|
| 446 |
+
}
|
| 447 |
+
.personal-bests__best::after {
|
| 448 |
+
content: '';
|
| 449 |
+
background-color: var(--color-primary-lightest);
|
| 450 |
+
width: 80%;
|
| 451 |
+
height: 1.5rem;
|
| 452 |
+
border-radius: 0 0 1rem 1rem;
|
| 453 |
+
box-shadow: inset .4rem -.4rem 1rem rgba(0,0,0,.2);
|
| 454 |
+
position: absolute;
|
| 455 |
+
top: 0;
|
| 456 |
+
left: 10%;
|
| 457 |
}
|
| 458 |
+
.personal-bests__best h2 {
|
| 459 |
+
color: #ffffff8c;
|
| 460 |
+
text-align: center;
|
| 461 |
+
letter-spacing: 0;
|
| 462 |
+
font-size: 1.8rem;
|
|
|
|
|
|
|
|
|
|
| 463 |
}
|
| 464 |
+
.personal-bests__best p {
|
| 465 |
+
font-size: 2rem;
|
| 466 |
+
}
|
| 467 |
+
.personal-bests__best svg {
|
| 468 |
+
width: 4rem;
|
| 469 |
+
height: 4rem;
|
| 470 |
}
|
| 471 |
|
| 472 |
|
| 473 |
+
.last-week {
|
| 474 |
+
display: flex;
|
| 475 |
+
flex-direction: column;
|
| 476 |
+
}
|
| 477 |
+
.last-week__chart {
|
| 478 |
+
display: grid;
|
| 479 |
+
grid-template-columns: repeat(6, 1fr);
|
| 480 |
+
gap: 2rem;
|
| 481 |
+
margin-top: 2rem;
|
| 482 |
+
padding-top: 4rem;
|
| 483 |
+
border-bottom: 1px solid #757575;
|
| 484 |
+
align-items: end;
|
| 485 |
+
}
|
| 486 |
+
.last-week__bar {
|
| 487 |
+
width: 3.5rem;
|
| 488 |
+
border-radius: .4rem .4rem 0 0;
|
| 489 |
+
background-color: var(--color-primary);
|
| 490 |
+
height: 20rem;
|
| 491 |
+
}
|
| 492 |
+
.last-week__bar--1 {
|
| 493 |
+
justify-self: end;
|
| 494 |
+
height: 17rem;
|
| 495 |
+
}
|
| 496 |
+
.last-week__bar--2 {
|
| 497 |
+
height: 20rem;
|
| 498 |
+
}
|
| 499 |
+
.last-week__bar--3 {
|
| 500 |
+
justify-self: end;
|
| 501 |
+
background-color: var(--color-primary-light);
|
| 502 |
+
height: 15rem;
|
| 503 |
+
}
|
| 504 |
+
.last-week__bar--4 {
|
| 505 |
+
background-color: var(--color-primary-light);
|
| 506 |
+
height: 12rem;
|
| 507 |
+
}
|
| 508 |
+
.last-week__bar--5 {
|
| 509 |
+
justify-self: end;
|
| 510 |
+
background-color: var(--color-secondary);
|
| 511 |
+
height: 10rem;
|
| 512 |
+
}
|
| 513 |
+
.last-week__bar--6 {
|
| 514 |
+
background-color: var(--color-secondary);
|
| 515 |
+
height: 16rem;
|
| 516 |
+
}
|
| 517 |
+
.last-week__bar > p {
|
| 518 |
+
font-size: 1.4rem;
|
| 519 |
+
text-align: center;
|
| 520 |
+
transform: translateY(-2rem);
|
| 521 |
+
}
|
| 522 |
+
.last-week__labels {
|
| 523 |
+
display: grid;
|
| 524 |
+
grid-template-columns: 1fr 1fr 1fr;
|
| 525 |
+
justify-items: center;
|
| 526 |
+
font-size: 1.8rem;
|
| 527 |
+
margin: 2rem 0;
|
| 528 |
+
}
|
| 529 |
+
|
| 530 |
+
@media (max-width: 1500px) {
|
| 531 |
+
body {
|
| 532 |
+
padding: 0;
|
| 533 |
+
}
|
| 534 |
+
nav, .content {
|
| 535 |
+
border-radius: 0;
|
| 536 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 537 |
}
|
| 538 |
+
@media (max-width: 1250px) {
|
| 539 |
+
main {
|
| 540 |
+
grid-template-columns: 1fr;
|
| 541 |
+
}
|
| 542 |
+
.grid-area-2 {
|
| 543 |
+
grid-column: 1 / 2;
|
| 544 |
+
grid-row: 3 / 4;
|
| 545 |
+
|
| 546 |
+
display: grid;
|
| 547 |
+
grid-template-columns: 1fr 1fr;
|
| 548 |
+
}
|
| 549 |
+
}
|
| 550 |
+
@media (max-width: 950px) {
|
| 551 |
+
.grid-area-1 {
|
| 552 |
+
grid-template-columns: 1fr;
|
| 553 |
+
grid-template-rows: 1fr 2fr auto;
|
| 554 |
+
}
|
| 555 |
+
.grid-area-1-2 {
|
| 556 |
+
grid-column: 1 / 2;
|
| 557 |
+
grid-row: 3 / 4;
|
| 558 |
+
|
| 559 |
+
display: grid;
|
| 560 |
+
grid-template-columns: 1fr 1fr;
|
| 561 |
+
}
|
| 562 |
+
.last-week {
|
| 563 |
+
grid-column: 1 / 3;
|
| 564 |
+
grid-row: 2 / 3;
|
| 565 |
+
}
|
| 566 |
+
.grid-area-3 {
|
| 567 |
+
grid-template-rows: auto auto auto;
|
| 568 |
+
}
|
| 569 |
+
.challenges {
|
| 570 |
+
grid-column: 1 / 3;
|
| 571 |
+
grid-row: 1 / 2;
|
| 572 |
+
}
|
| 573 |
+
.personal-bests {
|
| 574 |
+
grid-column: 1 / 3;
|
| 575 |
+
}
|
| 576 |
+
}
|
| 577 |
+
@media (max-width: 750px) {
|
| 578 |
+
.grid-area-2 {
|
| 579 |
+
display: flex;
|
| 580 |
+
flex-direction: column;
|
| 581 |
+
}
|
| 582 |
+
.grid-area-1-2 {
|
| 583 |
+
display: flex;
|
| 584 |
+
flex-direction: column;
|
| 585 |
+
}
|
| 586 |
+
.all {
|
| 587 |
+
grid-template-columns: 1fr;
|
| 588 |
+
}
|
| 589 |
+
nav {
|
| 590 |
+
display: none;
|
| 591 |
+
}
|
| 592 |
+
.content {
|
| 593 |
+
padding: 2rem 1rem;
|
| 594 |
+
}
|
| 595 |
+
}
|
| 596 |
+
@media (max-width: 450px) {
|
| 597 |
+
html {
|
| 598 |
+
font-size: 50%;
|
| 599 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 600 |
}
|
| 601 |
</style>
|
| 602 |
|
|
|
|
| 609 |
</head>
|
| 610 |
|
| 611 |
<body translate="no">
|
| 612 |
+
<div class="all">
|
| 613 |
+
<nav class="navigation">
|
| 614 |
+
<div class="portrait">
|
| 615 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 12q-1.65 0-2.825-1.175T8 8q0-1.65 1.175-2.825T12 4q1.65 0 2.825 1.175T16 8q0 1.65-1.175 2.825T12 12Zm-8 8v-2.8q0-.85.438-1.563T5.6 14.55q1.55-.775 3.15-1.163T12 13q1.65 0 3.25.388t3.15 1.162q.725.375 1.163 1.088T20 17.2V20H4Z"/></svg>
|
| 616 |
+
</div>
|
| 617 |
+
|
| 618 |
+
<div class="nav-items">
|
| 619 |
+
<div class="nav-item">
|
| 620 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M946.5 505L534.6 93.4a31.93 31.93 0 0 0-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3c0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8c24.9-25 24.9-65.5-.1-90.5z"/></svg>
|
| 621 |
+
</div>
|
| 622 |
+
<div class="nav-item">
|
| 623 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12h4l3 8l4-16l3 8h4"/></svg>
|
| 624 |
+
</div>
|
| 625 |
+
<div class="nav-item">
|
| 626 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="416" height="512" viewBox="0 0 416 512"><path fill="currentColor" d="M272 96c26.51 0 48-21.49 48-48S298.51 0 272 0s-48 21.49-48 48s21.49 48 48 48zM113.69 317.47l-14.8 34.52H32c-17.67 0-32 14.33-32 32s14.33 32 32 32h77.45c19.25 0 36.58-11.44 44.11-29.09l8.79-20.52l-10.67-6.3c-17.32-10.23-30.06-25.37-37.99-42.61zM384 223.99h-44.03l-26.06-53.25c-12.5-25.55-35.45-44.23-61.78-50.94l-71.08-21.14c-28.3-6.8-57.77-.55-80.84 17.14l-39.67 30.41c-14.03 10.75-16.69 30.83-5.92 44.86s30.84 16.66 44.86 5.92l39.69-30.41c7.67-5.89 17.44-8 25.27-6.14l14.7 4.37l-37.46 87.39c-12.62 29.48-1.31 64.01 26.3 80.31l84.98 50.17l-27.47 87.73c-5.28 16.86 4.11 34.81 20.97 40.09c3.19 1 6.41 1.48 9.58 1.48c13.61 0 26.23-8.77 30.52-22.45l31.64-101.06c5.91-20.77-2.89-43.08-21.64-54.39l-61.24-36.14l31.31-78.28l20.27 41.43c8 16.34 24.92 26.89 43.11 26.89H384c17.67 0 32-14.33 32-32s-14.33-31.99-32-31.99z"/></svg>
|
| 627 |
+
</div>
|
| 628 |
+
<div class="nav-item">
|
| 629 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97c0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1c0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z"/></svg>
|
| 630 |
+
</div>
|
| 631 |
+
</div>
|
| 632 |
|
| 633 |
+
</nav>
|
|
|
|
|
|
|
| 634 |
|
| 635 |
+
<div class="content">
|
| 636 |
+
<div class="greeting">
|
| 637 |
+
<h2>Good Morning Champ!</h2>
|
| 638 |
+
<p>Time to seize the day 🌞</p>
|
| 639 |
+
</div>
|
| 640 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 641 |
<main>
|
| 642 |
+
<div class="grid-area-1">
|
| 643 |
+
<div class="distance">
|
| 644 |
+
<section class="distance__section distance__cycling">
|
| 645 |
+
<p>42 km</p>
|
| 646 |
+
<h2>Cycling</h2>
|
| 647 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11 15.414V20h2v-4.586c0-.526-.214-1.042-.586-1.414l-2-2L13 9.414l2 2c.372.372.888.586 1.414.586H20v-2h-3.586l-3.707-3.707a.999.999 0 0 0-1.414 0L8 9.586c-.378.378-.586.88-.586 1.414s.208 1.036.586 1.414l3 3z"/><circle cx="16" cy="5" r="2" fill="currentColor"/><path fill="currentColor" d="M18 14c-2.206 0-4 1.794-4 4s1.794 4 4 4s4-1.794 4-4s-1.794-4-4-4zm0 6c-1.103 0-2-.897-2-2s.897-2 2-2s2 .897 2 2s-.897 2-2 2zM6 22c2.206 0 4-1.794 4-4s-1.794-4-4-4s-4 1.794-4 4s1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2s-2-.897-2-2s.897-2 2-2z"/></svg>
|
| 648 |
+
</section>
|
| 649 |
+
<section class="distance__section distance__running">
|
| 650 |
+
<p>22 km</p>
|
| 651 |
+
<h2>Running</h2>
|
| 652 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 416 512"><path fill="currentColor" d="M272 96c26.51 0 48-21.49 48-48S298.51 0 272 0s-48 21.49-48 48s21.49 48 48 48zM113.69 317.47l-14.8 34.52H32c-17.67 0-32 14.33-32 32s14.33 32 32 32h77.45c19.25 0 36.58-11.44 44.11-29.09l8.79-20.52l-10.67-6.3c-17.32-10.23-30.06-25.37-37.99-42.61zM384 223.99h-44.03l-26.06-53.25c-12.5-25.55-35.45-44.23-61.78-50.94l-71.08-21.14c-28.3-6.8-57.77-.55-80.84 17.14l-39.67 30.41c-14.03 10.75-16.69 30.83-5.92 44.86s30.84 16.66 44.86 5.92l39.69-30.41c7.67-5.89 17.44-8 25.27-6.14l14.7 4.37l-37.46 87.39c-12.62 29.48-1.31 64.01 26.3 80.31l84.98 50.17l-27.47 87.73c-5.28 16.86 4.11 34.81 20.97 40.09c3.19 1 6.41 1.48 9.58 1.48c13.61 0 26.23-8.77 30.52-22.45l31.64-101.06c5.91-20.77-2.89-43.08-21.64-54.39l-61.24-36.14l31.31-78.28l20.27 41.43c8 16.34 24.92 26.89 43.11 26.89H384c17.67 0 32-14.33 32-32s-14.33-31.99-32-31.99z"/></svg>
|
| 653 |
+
</section>
|
| 654 |
+
<section class="distance__section distance__swimming">
|
| 655 |
+
<p>10 km</p>
|
| 656 |
+
<h2>Swimming</h2>
|
| 657 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path fill="currentColor" d="M49 40a7.125 7.125 0 0 1-2.952-.641a7.416 7.416 0 0 0-3.042-.664a7.467 7.467 0 0 0-3.049.664a7.123 7.123 0 0 1-5.903 0a7.545 7.545 0 0 0-3.048-.664a7.492 7.492 0 0 0-3.049.664a7.147 7.147 0 0 1-5.913 0a7.43 7.43 0 0 0-3.036-.664a7.487 7.487 0 0 0-3.048.664a7.141 7.141 0 0 1-5.912 0A7.458 7.458 0 0 0 7 38.695a7.472 7.472 0 0 0-3.037.664A7.204 7.204 0 0 1 1 40v-4.396a7.47 7.47 0 0 0 2.963-.631A7.287 7.287 0 0 1 7 34.299c1.086 0 2.127.25 3.048.674a7.398 7.398 0 0 0 2.948.631a7.42 7.42 0 0 0 2.964-.631a7.3 7.3 0 0 1 3.048-.674c1.078 0 2.114.25 3.036.674a7.44 7.44 0 0 0 2.96.631a7.407 7.407 0 0 0 2.953-.631a7.308 7.308 0 0 1 3.049-.674c1.073 0 2.113.25 3.048.674c.895.393 1.9.631 2.95.631a7.377 7.377 0 0 0 2.953-.631a7.283 7.283 0 0 1 3.049-.674c1.086 0 2.125.25 3.042.674a7.38 7.38 0 0 0 2.952.631V40zm-6.952-12.436c3.152 0 5.71-2.55 5.71-5.678c0-3.131-2.558-5.668-5.71-5.668c-3.157 0-5.712 2.538-5.712 5.668c0 3.128 2.328 5.678 5.712 5.678zM8.791 30.756c.443.105.861.258 1.258.436a7.255 7.255 0 0 0 2.949.641c1.05 0 2.069-.238 2.963-.641a7.463 7.463 0 0 1 3.048-.676c1.078 0 2.116.262 3.036.676a7.293 7.293 0 0 0 2.96.641c1.04 0 2.058-.238 2.952-.641a7.47 7.47 0 0 1 3.049-.676c1.074 0 2.115.262 3.048.676c.896.402 1.9.641 2.952.641c.765 0 1.502-.129 2.197-.346l-9.525-17.056l11.079-2.007c1.626-.308 2.806-1.576 2.806-3.199c0-1.79-1.467-3.225-3.262-3.225l-.37.011l-17.114 3.092c-1.201.273-2.792 2.019-1.886 4.161l.146.345l4.466 8.003l-16.752 9.144z"/></svg>
|
| 658 |
+
</section>
|
| 659 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 660 |
|
| 661 |
+
<section class="weekly">
|
| 662 |
+
<h2>Weekly Schedule</h2>
|
| 663 |
+
<table cellspacing="0" cellpadding="0">
|
| 664 |
+
<tr>
|
| 665 |
+
<th>Day</th>
|
| 666 |
+
<th>Exercise</th>
|
| 667 |
+
<th>Time</th>
|
| 668 |
+
</tr>
|
| 669 |
+
<tr>
|
| 670 |
+
<td>Monday</td>
|
| 671 |
+
<td>Running</td>
|
| 672 |
+
<td>6:00 AM</td>
|
| 673 |
+
</tr>
|
| 674 |
+
<tr>
|
| 675 |
+
<td>Tuesday</td>
|
| 676 |
+
<td>Swimming</td>
|
| 677 |
+
<td>7:00 AM</td>
|
| 678 |
+
</tr>
|
| 679 |
+
<tr>
|
| 680 |
+
<td>Wednesday</td>
|
| 681 |
+
<td>Cycling</td>
|
| 682 |
+
<td>6:30 AM</td>
|
| 683 |
+
</tr>
|
| 684 |
+
<tr>
|
| 685 |
+
<td>Thursday</td>
|
| 686 |
+
<td>Yoga</td>
|
| 687 |
+
<td>6:00 AM</td>
|
| 688 |
+
</tr>
|
| 689 |
+
<tr>
|
| 690 |
+
<td>Friday</td>
|
| 691 |
+
<td>Weight-Training</td>
|
| 692 |
+
<td>8:00 AM</td>
|
| 693 |
+
</tr>
|
| 694 |
+
</table>
|
| 695 |
+
</section>
|
| 696 |
+
|
| 697 |
+
<div class="grid-area-1-2">
|
| 698 |
+
<section class="recent">
|
| 699 |
+
<h2>Last 3 Exercises</h2>
|
| 700 |
+
<table cellspacing="0" cellpadding="0">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 701 |
<tr>
|
| 702 |
+
<td><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 416 512"><path fill="currentColor" d="M272 96c26.51 0 48-21.49 48-48S298.51 0 272 0s-48 21.49-48 48s21.49 48 48 48zM113.69 317.47l-14.8 34.52H32c-17.67 0-32 14.33-32 32s14.33 32 32 32h77.45c19.25 0 36.58-11.44 44.11-29.09l8.79-20.52l-10.67-6.3c-17.32-10.23-30.06-25.37-37.99-42.61zM384 223.99h-44.03l-26.06-53.25c-12.5-25.55-35.45-44.23-61.78-50.94l-71.08-21.14c-28.3-6.8-57.77-.55-80.84 17.14l-39.67 30.41c-14.03 10.75-16.69 30.83-5.92 44.86s30.84 16.66 44.86 5.92l39.69-30.41c7.67-5.89 17.44-8 25.27-6.14l14.7 4.37l-37.46 87.39c-12.62 29.48-1.31 64.01 26.3 80.31l84.98 50.17l-27.47 87.73c-5.28 16.86 4.11 34.81 20.97 40.09c3.19 1 6.41 1.48 9.58 1.48c13.61 0 26.23-8.77 30.52-22.45l31.64-101.06c5.91-20.77-2.89-43.08-21.64-54.39l-61.24-36.14l31.31-78.28l20.27 41.43c8 16.34 24.92 26.89 43.11 26.89H384c17.67 0 32-14.33 32-32s-14.33-31.99-32-31.99z"/></svg></td>
|
| 703 |
+
<td>Running</td>
|
| 704 |
+
<td>30 min</td>
|
|
|
|
|
|
|
|
|
|
| 705 |
</tr>
|
| 706 |
<tr>
|
| 707 |
+
<td><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path fill="currentColor" d="M49 40a7.125 7.125 0 0 1-2.952-.641a7.416 7.416 0 0 0-3.042-.664a7.467 7.467 0 0 0-3.049.664a7.123 7.123 0 0 1-5.903 0a7.545 7.545 0 0 0-3.048-.664a7.492 7.492 0 0 0-3.049.664a7.147 7.147 0 0 1-5.913 0a7.43 7.43 0 0 0-3.036-.664a7.487 7.487 0 0 0-3.048.664a7.141 7.141 0 0 1-5.912 0A7.458 7.458 0 0 0 7 38.695a7.472 7.472 0 0 0-3.037.664A7.204 7.204 0 0 1 1 40v-4.396a7.47 7.47 0 0 0 2.963-.631A7.287 7.287 0 0 1 7 34.299c1.086 0 2.127.25 3.048.674a7.398 7.398 0 0 0 2.948.631a7.42 7.42 0 0 0 2.964-.631a7.3 7.3 0 0 1 3.048-.674c1.078 0 2.114.25 3.036.674a7.44 7.44 0 0 0 2.96.631a7.407 7.407 0 0 0 2.953-.631a7.308 7.308 0 0 1 3.049-.674c1.073 0 2.113.25 3.048.674c.895.393 1.9.631 2.95.631a7.377 7.377 0 0 0 2.953-.631a7.283 7.283 0 0 1 3.049-.674c1.086 0 2.125.25 3.042.674a7.38 7.38 0 0 0 2.952.631V40zm-6.952-12.436c3.152 0 5.71-2.55 5.71-5.678c0-3.131-2.558-5.668-5.71-5.668c-3.157 0-5.712 2.538-5.712 5.668c0 3.128 2.328 5.678 5.712 5.678zM8.791 30.756c.443.105.861.258 1.258.436a7.255 7.255 0 0 0 2.949.641c1.05 0 2.069-.238 2.963-.641a7.463 7.463 0 0 1 3.048-.676c1.078 0 2.116.262 3.036.676a7.293 7.293 0 0 0 2.96.641c1.04 0 2.058-.238 2.952-.641a7.47 7.47 0 0 1 3.049-.676c1.074 0 2.115.262 3.048.676c.896.402 1.9.641 2.952.641c.765 0 1.502-.129 2.197-.346l-9.525-17.056l11.079-2.007c1.626-.308 2.806-1.576 2.806-3.199c0-1.79-1.467-3.225-3.262-3.225l-.37.011l-17.114 3.092c-1.201.273-2.792 2.019-1.886 4.161l.146.345l4.466 8.003l-16.752 9.144z"/></svg></td>
|
| 708 |
+
<td>Swimming</td>
|
| 709 |
+
<td>45 min</td>
|
|
|
|
|
|
|
|
|
|
| 710 |
</tr>
|
| 711 |
<tr>
|
| 712 |
+
<td><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11 15.414V20h2v-4.586c0-.526-.214-1.042-.586-1.414l-2-2L13 9.414l2 2c.372.372.888.586 1.414.586H20v-2h-3.586l-3.707-3.707a.999.999 0 0 0-1.414 0L8 9.586c-.378.378-.586.88-.586 1.414s.208 1.036.586 1.414l3 3z"/><circle cx="16" cy="5" r="2" fill="currentColor"/><path fill="currentColor" d="M18 14c-2.206 0-4 1.794-4 4s1.794 4 4 4s4-1.794 4-4s-1.794-4-4-4zm0 6c-1.103 0-2-.897-2-2s.897-2 2-2s2 .897 2 2s-.897 2-2 2zM6 22c2.206 0 4-1.794 4-4s-1.794-4-4-4s-4 1.794-4 4s1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2s-2-.897-2-2s.897-2 2-2z"/></svg></td>
|
| 713 |
+
<td>Cycling</td>
|
| 714 |
+
<td>60 min</td>
|
|
|
|
|
|
|
|
|
|
| 715 |
</tr>
|
| 716 |
+
<!-- <tr>
|
| 717 |
+
<td><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m12 11l-1 3l1 3h-1.5L9 14l.5-4.5L12 11Zm1-9L9 6v8l1 3H6l-3 5m17.5 0l-5-3.5L12 17l-1-3l1-3l3.5 2v5.5M14 8.5a1 1 0 1 1 0-2a1 1 0 0 1 0 2Zm-3 2L10 17v-3.5l1-3Z"/></svg></td>
|
| 718 |
+
<td>Yoga</td>
|
| 719 |
+
<td>40 min</td>
|
| 720 |
+
</tr> -->
|
| 721 |
+
<!-- <tr>
|
| 722 |
+
<td><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="m77.492 18.457l-17.726 3.127L69.09 74.47a1630.67 1630.67 0 0 0-15.8 2.54l-6.503-36.89l-17.726 3.124l6.49 36.795a1877.847 1877.847 0 0 0-17.196 3.112l3.292 17.696c5.728-1.066 11.397-2.09 17.028-3.084l7.056 40.02l17.727-3.124l-7.04-39.93c5.304-.88 10.57-1.725 15.798-2.54l9.777 55.45l17.727-3.126l-9.697-54.99a1415.91 1415.91 0 0 1 25.18-3.38c15.54 46.39 34.697 99.995 66.936 134.448C190.86 250.992 192 268 214.56 310C192 348 176 412 167.21 471l-48 6v15H192c16-48 64-144 64-144s48 96 64 144h72.79v-15l-48-6C336 412 320 348 294 310c26-42 24.175-59.585 35.83-89.377c32.25-34.452 51.42-88.075 66.967-134.478c8.314 1.04 16.697 2.16 25.18 3.38l-9.696 54.99l17.728 3.124l9.777-55.45c5.23.815 10.494 1.66 15.8 2.54l-7.042 39.93l17.727 3.125l7.056-40.02c5.63.993 11.3 2.017 17.028 3.083l3.292-17.696c-5.78-1.075-11.507-2.11-17.195-3.113l6.49-36.796l-17.727-3.125l-6.504 36.89a1564.46 1564.46 0 0 0-15.8-2.54l9.324-52.886l-17.726-3.127l-9.406 53.35C365.982 63.31 310.982 59.04 256 59.04c-54.98 0-109.983 4.27-169.102 12.767l-9.406-53.35zM256 76.98c35.53 0 71.07 1.83 107.822 5.463c-14.082 34.858-38.454 73.504-63.203 101.967C290.293 199.27 274.35 209 256 209s-34.294-9.73-44.62-24.59c-24.748-28.463-49.12-67.11-63.202-101.967c36.75-3.633 72.29-5.463 107.822-5.463zM256 97c-20.835 0-39 20.24-39 47s18.165 47 39 47s39-20.24 39-47s-18.165-47-39-47z"/></svg></td>
|
| 723 |
+
<td>Weight Training</td>
|
| 724 |
+
<td>50 min</td>
|
| 725 |
+
</tr> -->
|
| 726 |
+
</table>
|
| 727 |
+
<a href="#">See all →</a>
|
| 728 |
+
</section>
|
| 729 |
+
|
| 730 |
+
<section class="calories">
|
| 731 |
+
<h2>Active Calories</h2>
|
| 732 |
+
<p class="calories__number">500</p>
|
| 733 |
+
<p class="calories__number">3500</p>
|
| 734 |
+
<p class="calories__number">14000</p>
|
| 735 |
+
<p class="calories__text">Today</p>
|
| 736 |
+
<p class="calories__text">Week</p>
|
| 737 |
+
<p class="calories__text">Month</p>
|
| 738 |
+
</section>
|
| 739 |
</div>
|
| 740 |
+
</div>
|
| 741 |
+
|
| 742 |
+
<div class="grid-area-2">
|
| 743 |
+
<section class="friend-acitvity">
|
| 744 |
+
<h2>Friends Activities</h2>
|
| 745 |
+
<div class="friend-activity__activity">
|
| 746 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 747 |
+
<div>
|
| 748 |
+
<h3 class="friend-activity__name">Jane</h3>
|
| 749 |
+
<p class="friend-activity__msg">just set a new record in cycling: 30 km!</p>
|
| 750 |
+
</div>
|
| 751 |
+
</div>
|
| 752 |
+
<div class="friend-activity__activity">
|
| 753 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 754 |
+
<div>
|
| 755 |
+
<h3 class="friend-activity__name">Mike</h3>
|
| 756 |
+
<p class="friend-activity__msg">completed the 30-Day Running Streak Challenge!</p>
|
| 757 |
+
</div>
|
| 758 |
+
</div>
|
| 759 |
+
<div class="friend-activity__activity">
|
| 760 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 761 |
+
<div>
|
| 762 |
+
<h3 class="friend-activity__name">Anna</h3>
|
| 763 |
+
<p class="friend-activity__msg">shared a new workout: 'Hill Sprints Interval'!</p>
|
| 764 |
+
</div>
|
| 765 |
+
</div>
|
| 766 |
+
<div class="friend-activity__activity">
|
| 767 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 768 |
+
<div>
|
| 769 |
+
<h3 class="friend-activity__name">John</h3>
|
| 770 |
+
<p class="friend-activity__msg">just set a new record in running: 18 km!</p>
|
| 771 |
+
</div>
|
| 772 |
+
</div>
|
| 773 |
+
<div class="friend-activity__activity">
|
| 774 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 775 |
+
<div>
|
| 776 |
+
<h3 class="friend-activity__name">Mila</h3>
|
| 777 |
+
<p class="friend-activity__msg">completed the 30-Day Running Streak Challenge!</p>
|
| 778 |
+
</div>
|
| 779 |
+
</div>
|
| 780 |
+
<div class="friend-activity__activity">
|
| 781 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 782 |
+
<div>
|
| 783 |
+
<h3 class="friend-activity__name">John</h3>
|
| 784 |
+
<p class="friend-activity__msg">completed the 30-Day Running Streak Challenge!</p>
|
| 785 |
+
</div>
|
| 786 |
+
</div>
|
| 787 |
+
<div class="friend-activity__activity">
|
| 788 |
+
<div class="friend-acitvity__picture"><div></div></div>
|
| 789 |
+
<div>
|
| 790 |
+
<h3 class="friend-activity__name">Anna</h3>
|
| 791 |
+
<p class="friend-activity__msg">just set a new record in running: 14 km!</p>
|
| 792 |
+
</div>
|
| 793 |
</div>
|
| 794 |
+
</section>
|
| 795 |
+
|
| 796 |
+
<section class="friends">
|
| 797 |
+
<h2>Friends</h2>
|
| 798 |
+
<div class="friends__friend">
|
| 799 |
+
<div class="friends__picture"><div></div></div>
|
| 800 |
+
<h3 class="friends__name">Jane</h3>
|
| 801 |
+
<p class="friends__msg">last seen 5 min ago</p>
|
| 802 |
+
</div>
|
| 803 |
+
<div class="friends__friend">
|
| 804 |
+
<div class="friends__picture"><div></div></div>
|
| 805 |
+
<h3 class="friends__name">Mike</h3>
|
| 806 |
+
<p class="friends__msg">last seen 6 hrs ago</p>
|
| 807 |
+
</div>
|
| 808 |
+
<div class="friends__friend">
|
| 809 |
+
<div class="friends__picture"><div></div></div>
|
| 810 |
+
<h3 class="friends__name">Anna</h3>
|
| 811 |
+
<p class="friends__msg">last seen 7 hrs ago</p>
|
| 812 |
+
</div>
|
| 813 |
+
<div class="friends__friend">
|
| 814 |
+
<div class="friends__picture"><div></div></div>
|
| 815 |
+
<h3 class="friends__name">John</h3>
|
| 816 |
+
<p class="friends__msg">last seen 2 days ago</p>
|
| 817 |
+
</div>
|
| 818 |
+
<div class="friends__friend">
|
| 819 |
+
<div class="friends__picture"><div></div></div>
|
| 820 |
+
<h3 class="friends__name">Mila</h3>
|
| 821 |
+
<p class="friends__msg">last seen 3 weeks ago</p>
|
| 822 |
+
</div>
|
| 823 |
+
<div class="friends__friend">
|
| 824 |
+
<div class="friends__picture"><div></div></div>
|
| 825 |
+
<h3 class="friends__name">Ben</h3>
|
| 826 |
+
<p class="friends__msg">last seen 1 year ago</p>
|
| 827 |
+
</div>
|
| 828 |
+
</section>
|
| 829 |
+
</div>
|
| 830 |
+
|
| 831 |
+
<div class="grid-area-3">
|
| 832 |
+
<section class="challenges">
|
| 833 |
+
<h2>Challenges</h2>
|
| 834 |
+
<div class="challenges__bar challenges__bar--1"></div>
|
| 835 |
+
<p class="challenges__text">30-Day Running Streak</p>
|
| 836 |
+
<div class="challenges__bar challenges__bar--2"></div>
|
| 837 |
+
<p class="challenges__text">30-Day Running Streak</p>
|
| 838 |
+
<div class="challenges__bar challenges__bar--3"></div>
|
| 839 |
+
<p class="challenges__text">30-Day Running Streak</p>
|
| 840 |
+
</section>
|
| 841 |
+
|
| 842 |
+
<section class="last-week">
|
| 843 |
+
<h2>Activities compared to last week</h2>
|
| 844 |
+
<div class="last-week__chart">
|
| 845 |
+
<div class="last-week__bar last-week__bar--1"><p>20min</p></div>
|
| 846 |
+
<div class="last-week__bar last-week__bar--2"><p>25min</p></div>
|
| 847 |
+
<div class="last-week__bar last-week__bar--3"><p>18min</p></div>
|
| 848 |
+
<div class="last-week__bar last-week__bar--4"><p>15min</p></div>
|
| 849 |
+
<div class="last-week__bar last-week__bar--5"><p>10min</p></div>
|
| 850 |
+
<div class="last-week__bar last-week__bar--6"><p>19min</p></div>
|
| 851 |
+
</div>
|
| 852 |
+
<div class="last-week__labels">
|
| 853 |
+
<p>Running</p>
|
| 854 |
+
<p>Swimming</p>
|
| 855 |
+
<p>Cycling</p>
|
| 856 |
+
</div>
|
| 857 |
+
<a href="#">See all stats →</a>
|
| 858 |
+
</section>
|
| 859 |
+
|
| 860 |
+
<div class="personal-bests">
|
| 861 |
+
<section class="personal-bests__best personal-bests__best--run">
|
| 862 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 4h-3V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v1H3a1 1 0 0 0-1 1v3c0 4.31 1.8 6.91 4.82 7A6 6 0 0 0 11 17.91V20H9v2h6v-2h-2v-2.09A6 6 0 0 0 17.18 15c3-.1 4.82-2.7 4.82-7V5a1 1 0 0 0-1-1zM4 8V6h2v6.83C4.22 12.08 4 9.3 4 8zm14 4.83V6h2v2c0 1.3-.22 4.08-2 4.83z"/></svg>
|
| 863 |
+
<h2>Fastest 5K Run</h2>
|
| 864 |
+
<p>22 min</p>
|
| 865 |
+
</section>
|
| 866 |
+
<section class="personal-bests__best personal-bests__best--lift">
|
| 867 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 4h-3V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v1H3a1 1 0 0 0-1 1v3c0 4.31 1.8 6.91 4.82 7A6 6 0 0 0 11 17.91V20H9v2h6v-2h-2v-2.09A6 6 0 0 0 17.18 15c3-.1 4.82-2.7 4.82-7V5a1 1 0 0 0-1-1zM4 8V6h2v6.83C4.22 12.08 4 9.3 4 8zm14 4.83V6h2v2c0 1.3-.22 4.08-2 4.83z"/></svg>
|
| 868 |
+
<h2>Haviest Deadlift</h2>
|
| 869 |
+
<p>250 lbs</p>
|
| 870 |
+
</section>
|
| 871 |
+
<section class="personal-bests__best personal-bests__best--plank">
|
| 872 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 4h-3V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v1H3a1 1 0 0 0-1 1v3c0 4.31 1.8 6.91 4.82 7A6 6 0 0 0 11 17.91V20H9v2h6v-2h-2v-2.09A6 6 0 0 0 17.18 15c3-.1 4.82-2.7 4.82-7V5a1 1 0 0 0-1-1zM4 8V6h2v6.83C4.22 12.08 4 9.3 4 8zm14 4.83V6h2v2c0 1.3-.22 4.08-2 4.83z"/></svg>
|
| 873 |
+
<h2>Longest plank</h2>
|
| 874 |
+
<p>3 min</p>
|
| 875 |
+
</section>
|
| 876 |
</div>
|
| 877 |
</div>
|
| 878 |
</main>
|
| 879 |
+
</div>
|
| 880 |
+
</div>
|
| 881 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 882 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 883 |
|
| 884 |
</body>
|
| 885 |
|