-
Notifications
You must be signed in to change notification settings - Fork 293
Expand file tree
/
Copy pathHelpWidget.module.css
More file actions
132 lines (118 loc) · 2.85 KB
/
HelpWidget.module.css
File metadata and controls
132 lines (118 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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;
}