|
434 | 434 | min-width: 800px; |
435 | 435 | position: relative; |
436 | 436 | margin-bottom: 20px; |
| 437 | + gap: 20px; |
437 | 438 | } |
438 | 439 |
|
439 | 440 | .branch-node { |
|
443 | 444 | position: relative; |
444 | 445 | flex: 1; |
445 | 446 | cursor: pointer; |
446 | | - transition: all 0.3s ease; |
447 | | - padding: 10px; |
448 | | - border-radius: 10px; |
| 447 | + transition: all 0.2s ease; |
| 448 | + padding: 20px 15px; |
| 449 | + border-radius: 12px; |
| 450 | + background: var(--bg2); |
| 451 | + border: 2px solid transparent; |
| 452 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); |
449 | 453 | } |
450 | 454 |
|
451 | 455 | .branch-node:hover { |
| 456 | + border-color: var(--yellow); |
452 | 457 | background: var(--bg1); |
453 | | - transform: translateY(-5px); |
| 458 | + box-shadow: 0 6px 20px rgba(250, 189, 47, 0.2); |
| 459 | + transform: translateY(-2px); |
454 | 460 | } |
455 | 461 |
|
456 | | - .branch-node:hover .branch-circle { |
457 | | - transform: scale(1.1); |
458 | | - box-shadow: 0 0 20px rgba(251, 73, 52, 0.3); |
| 462 | + .branch-node:active { |
| 463 | + transform: translateY(0px); |
| 464 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); |
459 | 465 | } |
460 | 466 |
|
461 | 467 | .branch-circle { |
462 | | - width: 60px; |
463 | | - height: 60px; |
464 | | - border-radius: 50%; |
| 468 | + width: 50px; |
| 469 | + height: 50px; |
| 470 | + border-radius: 12px; |
465 | 471 | display: flex; |
466 | 472 | align-items: center; |
467 | 473 | justify-content: center; |
468 | | - font-size: 1.2rem; |
| 474 | + font-size: 1.1rem; |
469 | 475 | font-weight: bold; |
470 | | - margin-bottom: 15px; |
471 | | - border: 3px solid; |
| 476 | + margin-bottom: 12px; |
| 477 | + border: 2px solid; |
472 | 478 | background: var(--bg0); |
473 | | - position: relative; |
474 | | - z-index: 2; |
| 479 | + transition: all 0.2s ease; |
| 480 | + } |
| 481 | + |
| 482 | + .branch-node:hover .branch-circle { |
| 483 | + background: var(--bg2); |
| 484 | + box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); |
475 | 485 | } |
476 | 486 |
|
477 | 487 | .branch-circle.development { |
|
496 | 506 |
|
497 | 507 | .branch-label { |
498 | 508 | font-size: 1.1rem; |
499 | | - font-weight: 600; |
500 | | - margin-bottom: 8px; |
| 509 | + font-weight: 700; |
| 510 | + margin-bottom: 6px; |
| 511 | + text-transform: uppercase; |
| 512 | + letter-spacing: 0.5px; |
501 | 513 | } |
502 | 514 |
|
503 | 515 | .branch-version { |
504 | | - font-size: 0.9rem; |
| 516 | + font-size: 0.85rem; |
505 | 517 | color: var(--fg3); |
506 | | - margin-bottom: 5px; |
| 518 | + margin-bottom: 8px; |
| 519 | + font-family: 'Fira Code', monospace; |
| 520 | + background: var(--bg0); |
| 521 | + padding: 2px 6px; |
| 522 | + border-radius: 4px; |
507 | 523 | } |
508 | 524 |
|
509 | 525 | .branch-features { |
510 | 526 | font-size: 0.8rem; |
511 | 527 | color: var(--fg2); |
512 | 528 | text-align: center; |
513 | | - margin-bottom: 5px; |
| 529 | + margin-bottom: 8px; |
| 530 | + line-height: 1.3; |
514 | 531 | } |
515 | 532 |
|
516 | 533 | .branch-timeline { |
517 | | - font-size: 0.8rem; |
| 534 | + font-size: 0.75rem; |
518 | 535 | color: var(--fg3); |
519 | 536 | font-style: italic; |
| 537 | + text-transform: uppercase; |
| 538 | + letter-spacing: 0.3px; |
| 539 | + padding: 3px 8px; |
| 540 | + background: var(--bg0); |
| 541 | + border-radius: 8px; |
520 | 542 | } |
521 | 543 |
|
522 | | - .branch-arrow { |
523 | | - position: absolute; |
524 | | - top: 30px; |
525 | | - left: 50px; |
526 | | - width: calc(100% - 100px); |
527 | | - height: 2px; |
528 | | - background: linear-gradient(90deg, transparent 0%, var(--fg3) 10%, var(--fg3) 90%, transparent 100%); |
529 | | - z-index: 1; |
530 | | - } |
531 | | - |
532 | | - .branch-arrow::after { |
533 | | - content: ''; |
| 544 | + /* Flow arrows between nodes */ |
| 545 | + .branch-node:not(:last-child)::after { |
| 546 | + content: '→'; |
534 | 547 | position: absolute; |
535 | | - right: 0px; |
536 | | - top: -4px; |
537 | | - width: 0; |
538 | | - height: 0; |
539 | | - border-left: 8px solid var(--fg3); |
540 | | - border-top: 5px solid transparent; |
541 | | - border-bottom: 5px solid transparent; |
| 548 | + right: -15px; |
| 549 | + top: 50%; |
| 550 | + transform: translateY(-50%); |
| 551 | + font-size: 1.5rem; |
| 552 | + color: var(--fg3); |
| 553 | + z-index: 3; |
542 | 554 | } |
543 | 555 |
|
544 | 556 | @media (max-width: 768px) { |
545 | 557 | .branch-flow { |
546 | 558 | min-width: 600px; |
| 559 | + gap: 15px; |
| 560 | + } |
| 561 | + |
| 562 | + .branch-node { |
| 563 | + padding: 15px 10px; |
547 | 564 | } |
548 | 565 |
|
549 | 566 | .branch-circle { |
550 | | - width: 50px; |
551 | | - height: 50px; |
| 567 | + width: 45px; |
| 568 | + height: 45px; |
552 | 569 | font-size: 1rem; |
553 | 570 | } |
554 | 571 |
|
555 | 572 | .branch-label { |
556 | | - font-size: 1rem; |
| 573 | + font-size: 0.95rem; |
557 | 574 | } |
558 | 575 |
|
559 | 576 | .branch-features, |
560 | 577 | .branch-version, |
561 | 578 | .branch-timeline { |
562 | 579 | font-size: 0.7rem; |
563 | 580 | } |
| 581 | + |
| 582 | + .branch-node:not(:last-child)::after { |
| 583 | + font-size: 1.2rem; |
| 584 | + right: -12px; |
| 585 | + } |
564 | 586 | } |
565 | 587 |
|
566 | 588 | .real-time-indicator { |
@@ -1466,8 +1488,6 @@ <h3>Publication Pipeline</h3> |
1466 | 1488 | <h2><i class="fas fa-code-branch"></i> Development Workflow</h2> |
1467 | 1489 |
|
1468 | 1490 | <div class="branch-flow"> |
1469 | | - <div class="branch-arrow"></div> |
1470 | | - |
1471 | 1491 | <div class="branch-node" onclick="openBranchModal('develop')"> |
1472 | 1492 | <div class="branch-circle development"> |
1473 | 1493 | <i class="fas fa-hammer"></i> |
|
0 commit comments