Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! Apply suggestions from code review
  • Loading branch information
pablogsal committed Nov 30, 2025
commit b70a62b37db1822c11ac20bbec4c84e037c3636d
54 changes: 53 additions & 1 deletion Lib/profiling/sampling/flamegraph.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,22 @@ body {
}
}

@keyframes slideUp {
from {
opacity: 0;
transform: translateY(15px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes gentlePulse {
0%, 100% { box-shadow: 0 2px 8px rgba(55, 118, 171, 0.15); }
50% { box-shadow: 0 2px 16px rgba(55, 118, 171, 0.4); }
}

/* Color-coded borders and subtle glow on hover */
#gil-held-stat {
--stat-color: 40, 167, 69;
Expand Down Expand Up @@ -240,8 +256,13 @@ body {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: all 0.2s ease;
min-height: 120px;
animation: slideUp 0.4s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
transform: translateY(-2px);
Expand Down Expand Up @@ -339,6 +360,11 @@ body {
box-shadow: 0 4px 8px rgba(55, 118, 171, 0.3);
}

.controls button:active {
transform: translateY(1px);
box-shadow: 0 1px 2px rgba(55, 118, 171, 0.2);
}

.controls button.secondary {
background: #ffd43b;
color: #2e3338;
Expand All @@ -348,6 +374,10 @@ body {
background: #ffcd02;
}

.controls button.secondary:active {
background: #e6b800;
}

.thread-filter-wrapper {
display: none;
align-items: center;
Expand Down Expand Up @@ -489,11 +519,14 @@ body {
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
transition: background 0.2s, transform 0.2s;
animation: gentlePulse 3s ease-in-out infinite;
}

#show-info-btn:hover {
background: #2d5aa0;
animation: none;
transform: scale(1.05);
}

#close-info-btn {
Expand Down Expand Up @@ -607,3 +640,22 @@ body {
font-size: 12px !important;
}
}

/* Accessibility: visible focus states */
button:focus-visible,
select:focus-visible,
input:focus-visible {
outline: 2px solid #ffd43b;
outline-offset: 2px;
}

/* Smooth panel transitions */
.legend-panel,
.info-panel {
transition: opacity 0.2s ease, transform 0.2s ease;
}

.legend-panel[style*="block"],
.info-panel[style*="block"] {
animation: slideUp 0.2s ease-out;
}
Loading