Skip to content

Commit da8ad4c

Browse files
committed
🎨 Redesign development workflow to card-based clickable design
- Replace problematic hover animations with clean card-style buttons - Fix line-through-icon issue by removing absolute positioned arrow - Use CSS ::after pseudo-elements for clean directional arrows - Add clear hover states with subtle animations and yellow borders - Improve visual hierarchy with better typography and spacing - Make clickable nature more obvious with button-like appearance - Enhance mobile responsiveness with adjusted sizing
1 parent d3a5c87 commit da8ad4c

File tree

1 file changed

+65
-45
lines changed

1 file changed

+65
-45
lines changed

‎static/dashboard.html‎

Lines changed: 65 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@
434434
min-width: 800px;
435435
position: relative;
436436
margin-bottom: 20px;
437+
gap: 20px;
437438
}
438439

439440
.branch-node {
@@ -443,35 +444,44 @@
443444
position: relative;
444445
flex: 1;
445446
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);
449453
}
450454

451455
.branch-node:hover {
456+
border-color: var(--yellow);
452457
background: var(--bg1);
453-
transform: translateY(-5px);
458+
box-shadow: 0 6px 20px rgba(250, 189, 47, 0.2);
459+
transform: translateY(-2px);
454460
}
455461

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);
459465
}
460466

461467
.branch-circle {
462-
width: 60px;
463-
height: 60px;
464-
border-radius: 50%;
468+
width: 50px;
469+
height: 50px;
470+
border-radius: 12px;
465471
display: flex;
466472
align-items: center;
467473
justify-content: center;
468-
font-size: 1.2rem;
474+
font-size: 1.1rem;
469475
font-weight: bold;
470-
margin-bottom: 15px;
471-
border: 3px solid;
476+
margin-bottom: 12px;
477+
border: 2px solid;
472478
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);
475485
}
476486

477487
.branch-circle.development {
@@ -496,71 +506,83 @@
496506

497507
.branch-label {
498508
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;
501513
}
502514

503515
.branch-version {
504-
font-size: 0.9rem;
516+
font-size: 0.85rem;
505517
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;
507523
}
508524

509525
.branch-features {
510526
font-size: 0.8rem;
511527
color: var(--fg2);
512528
text-align: center;
513-
margin-bottom: 5px;
529+
margin-bottom: 8px;
530+
line-height: 1.3;
514531
}
515532

516533
.branch-timeline {
517-
font-size: 0.8rem;
534+
font-size: 0.75rem;
518535
color: var(--fg3);
519536
font-style: italic;
537+
text-transform: uppercase;
538+
letter-spacing: 0.3px;
539+
padding: 3px 8px;
540+
background: var(--bg0);
541+
border-radius: 8px;
520542
}
521543

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: '→';
534547
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;
542554
}
543555

544556
@media (max-width: 768px) {
545557
.branch-flow {
546558
min-width: 600px;
559+
gap: 15px;
560+
}
561+
562+
.branch-node {
563+
padding: 15px 10px;
547564
}
548565

549566
.branch-circle {
550-
width: 50px;
551-
height: 50px;
567+
width: 45px;
568+
height: 45px;
552569
font-size: 1rem;
553570
}
554571

555572
.branch-label {
556-
font-size: 1rem;
573+
font-size: 0.95rem;
557574
}
558575

559576
.branch-features,
560577
.branch-version,
561578
.branch-timeline {
562579
font-size: 0.7rem;
563580
}
581+
582+
.branch-node:not(:last-child)::after {
583+
font-size: 1.2rem;
584+
right: -12px;
585+
}
564586
}
565587

566588
.real-time-indicator {
@@ -1466,8 +1488,6 @@ <h3>Publication Pipeline</h3>
14661488
<h2><i class="fas fa-code-branch"></i> Development Workflow</h2>
14671489

14681490
<div class="branch-flow">
1469-
<div class="branch-arrow"></div>
1470-
14711491
<div class="branch-node" onclick="openBranchModal('develop')">
14721492
<div class="branch-circle development">
14731493
<i class="fas fa-hammer"></i>

0 commit comments

Comments
 (0)