Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
132 changes: 132 additions & 0 deletions packages/shared/src/components/help/HelpWidget.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/* ── Card enter / exit ───────────────────────── */
@keyframes helpCardSlideIn {
from {
opacity: 0;
transform: translateX(-8px) scale(0.96);
}
to {
opacity: 1;
transform: translateX(0) scale(1);
}
}

@keyframes helpCardSlideOut {
from {
opacity: 1;
transform: translateX(0) scale(1);
}
to {
opacity: 0;
transform: translateX(-6px) scale(0.97);
}
}

.cardEnter {
animation: helpCardSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cardExit {
animation: helpCardSlideOut 0.2s ease-in both;
pointer-events: none;
}

/* ── Accent gradient bar ────────────────────── */
.accentBar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(
90deg,
var(--theme-accent-cabbage-default),
var(--theme-accent-blueCheese-default),
var(--theme-accent-onion-default)
);
background-size: 200% 100%;
animation: helpGradientShift 4s ease-in-out infinite;
}

@keyframes helpGradientShift {
0%,
100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}

/* ── Card hover ─────────────────────────────── */
.card {
transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
box-shadow:
0 8px 30px rgba(0, 0, 0, 0.12),
0 2px 8px rgba(0, 0, 0, 0.08);
border-color: var(--theme-border-subtlest-secondary);
}

/* ── Icon soft glow ─────────────────────────── */
.iconGlow {
position: absolute;
inset: -4px;
border-radius: 14px;
background: var(--theme-accent-cabbage-default);
opacity: 0.08;
filter: blur(8px);
}

/* ── Notification dot pulse ─────────────────── */
@keyframes helpDotPulse {
0%,
100% {
box-shadow: 0 0 0 0 var(--theme-accent-bacon-default);
}
50% {
box-shadow: 0 0 0 4px transparent;
}
}

.notificationDot {
animation: helpDotPulse 2s ease-in-out infinite;
}

/* ── CTA button shimmer ─────────────────────── */
@keyframes helpCtaShimmer {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}

.ctaButton {
position: relative;
overflow: hidden;
}

.ctaButton::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
transparent 30%,
rgba(255, 255, 255, 0.12) 50%,
transparent 70%
);
background-size: 200% 100%;
animation: helpCtaShimmer 3s ease-in-out infinite;
pointer-events: none;
}

/* ── Tag subtle animation ───────────────────── */
.tag {
transition:
background-color 0.2s ease,
color 0.2s ease;
}
Loading
Loading